armi.nuclearDataIO.cccc.pmatrx module

Module for reading PMATRX files which contain gamma productions from fission reactions.

See [GAMSOR] and [MC23].

[MC23]

Lee, Changho, Jung, Yeon Sang, and Yang, Won Sik. MC2-3: Multigroup Cross Section Generation Code for Fast Reactor Analysis Nuclear. United States: N. p., 2018. Web. doi:10.2172/1483949. (OSTI)

armi.nuclearDataIO.cccc.pmatrx.compare(lib1, lib2)[source]

Compare two XSLibraries, and return True if equal, or False if not.

armi.nuclearDataIO.cccc.pmatrx.compareNuclideXS(nuc1, nuc2)[source]
armi.nuclearDataIO.cccc.pmatrx.addDummyNuclidesToLibrary(lib, dummyNuclides)[source]

This method adds DUMMY nuclides to the current PMATRX library.

Parameters:
  • lib (obj) – PMATRX library object

  • dummyNuclides (list) – List of DUMMY nuclide objects that will be copied and added to the PMATRX file

Notes

Since MC2-3 does not write DUMMY nuclide information for PMATRX files, this is necessary to provide a consistent set of nuclide-level data across all the nuclides in a XSLibrary.

armi.nuclearDataIO.cccc.pmatrx.readBinary(fileName)[source]

Read a binary PMATRX file into an IsotxsLibrary object.

armi.nuclearDataIO.cccc.pmatrx.readAscii(fileName)[source]

Read an ASCII PMATRX file into an IsotxsLibrary object.

armi.nuclearDataIO.cccc.pmatrx.writeBinary(lib, fileName)[source]

Write the PMATRX data from an IsotxsLibrary object to a binary file.

armi.nuclearDataIO.cccc.pmatrx.writeAscii(lib, fileName)[source]

Write the PMATRX data from an IsotxsLibrary object to an ASCII file.