CCCC Formats – pyne.cccc
¶
All functionality may be found in the cccc
package:
from pyne import cccc
The information below represents the complete specification of the classes in the cccc module. For examples of usage, please refer to the User’s Guide entry for CCCC Formats.
CCCC API¶
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.
A description of several CCCC formats are available online for ISOTXS, MATXS, RTFLUX, and RZFLUX. Other format specifications can be found in Los Alamos Report LA-5324-MS.
-
class
pyne.cccc.
Atflux
(filename)[source]¶ An Atflux object represents data stored in a ATFLUX file from the CCCC format specification. This file contains adjoint total fluxes. Note that this is the same format as RTFLUX. See Rtflux class for a complete list of atrributes. The RTFLUX/ATFLUX binary specification is found here:
http://t2.lanl.gov/nis/codes/transx-hyper/rtflux.html
Parameters: filename : str
Path to the ATFLUX file to be read.
-
class
pyne.cccc.
Brkoxs
(filename)[source]¶ A Brkoxs object represents data stored in a BRKOXS file from the CCCC format specification. This file is given in conjunction with an ISOTXS (or GRUPXS) file when the Bondarenko self-shielding method is to be used.
Parameters: filename : str
Path of the BRKOXS file to read.
-
class
pyne.cccc.
Dlayxs
(filename)[source]¶ A Dlayxs object represents the data stored in a CCCC-format DLAYXS file. This file contains delayed neutron precursor yields, emission spectra, and decay constants reduced to multigroup form. Typically, the data in a DLAYXS file would be related to cross-section files in ISOTXS and GRUPXS.
Attributes: - isotopes : list of strs
Names of the isotopes in the DLAYXS file.
- isotopeFamily : dict
Dictionary whose keys are the isotope names and whose values are
- decay : dict
Dictionary whose keys are names of nuclides and whose values are decay constants for each delayed neutron family.
spectrum : dict
- nGroups : int
Number of energy groups
- nIsotopes : int
Number of isotopes
- nFamilies : int
Number of delayed neutron families
nu : dict
Parameters: filename : str
Path of the DLAYXS file to load.
-
class
pyne.cccc.
Isotxs
(filename)[source]¶ An Isotxs object represents a binary ISOTXS file written according to the CCCC specifications.
Attributes: - chi : list of floats
Fission yields by group.
- emax : list of floats
Maximum energy bound for each group
- emin : float
Minimum energy bound of set
- fc : dict
Dictionary with file-control information
- fileVersion : int
Version of the ISOTXS file.
- label : str
File identification string
- nuclides : list of _Nuclides
List of individual nuclides in the ISOTXS file.
- vel : float
Mean neutron velocity in each group.
Parameters: filename : str
Path of the ISOTXS file to load.
-
find_nuclide
(name)[source]¶ Returns a nuclide with a given name.
Parameters: name : str
Path of the ISOTXS file to load.
Returns: nuc : Nuclide
Object containing microscopic cross sections and other data.
-
nuclides
= None¶ List of nuclides in ISOTXS file.
-
class
pyne.cccc.
Matxs
(filename)[source]¶ A Matxs object represents data stored in a MATXS file. This file contains generalized cross-sections.
Parameters: filename : str
Path to the MATXS file to be read.
-
class
pyne.cccc.
Rtflux
(filename)[source]¶ An Rtflux object represents data stored in a RTFLUX file from the CCCC format specification. This file contains regular (i.e. not adjoint) total fluxes. Attribute names mirror those described in the CCCC specification, found here:
http://t2.lanl.gov/nis/codes/transx-hyper/rtflux.html
Parameters: filename : str
Path to the RTFLUX file to be read.