The CCCC module contains a number of classes for reading various cross section, flux, geometry, and data files with specifications given by the Committee for Computer Code Coordination. The following types of files can be read using classes from this module: ISOTXS, DLAYXS, BRKOXS, RTFLUX, ATFLUX, RZFLUX, MATXS, and SPECTR.
The ISOTXS reader was originally derived from Professor James Holloway’s open-source C++ classes from the University of Michigan and later expanded by Nick Touran for work on his PhD thesis. DLAYXS was later added by Paul Romano. RTFLUX was done by Elliott Biondo.
For a complete specification for the classes in the
cccc module, please
refer to the Library Reference entry for CCCC Formats – pyne.cccc.
Example Use of Isotxs Class¶
To load data from an ISOTXS file, one needs to simply initialize an instance of the Isotxs class specifying the path to the ISOTXS file.
In : from pyne import cccc In : isoFile = cccc.Isotxs('ISOTXS') In : isoFile.read()
After the file has been read, the data from the ISOTXS is now accessible through
the attributes of the
isoFile object. Some of the attributes are as follows:
|chi:||Normalized fission spectrum, giving the fraction of neutrons emitted in each energy group.|
|emax:||Maximum energies for each of the energy groups in units of eV.|
|emin:||Minimum energy for the lowest (thermal) energy group, typically somewhere around 0.00001 eV.|
|fc:||Dictionary containing several important parameters. For example
|label:||Identification label describing the data in the file.|
|nucNames:||A list of the labels for each nuclide.|
|nuclides:||A list of nuclides present in the file. Each nuclide is an instance of
|vel:||Mean neutron velocity in each energy group.|