armi.nuclearDataIO.ripl module

Read data from the Reference Input Parameter Library (RIPL-3)

https://www-nds.iaea.org/RIPL-3/

armi.nuclearDataIO.ripl.getNuclideDecayConstants(fileName)[source]

Read the halflifes and makes decay constants for the nuclides in this file.

Returns

nuclideDecayConstants – decay constants (1/s) indexed to nuclideBases

Return type

dict

armi.nuclearDataIO.ripl.readFRDMMassFile(fname)[source]

Read file from RIPL containing experimental mass excess evaluations.

This file contains experimental mass excesses as well as theoretical masses from models. This class for the time being only reads the experimental values and skips all others.

The values of interest are defined in the README as:

Z    : charge number
A    : mass number
s    : element symbol
fl   : flag corresponding to 0 if no experimental data available
                             1 for a mass excess recommended by Audi et al. (2007)
                             2 for a measured mass from Audi et al. (2007)
Mexp : experimental or recommended atomic mass excess in MeV of Audi et al. (2007)
Err  : error on the experimental or recommended atomic mass excess in MeV of Audi et al. (2007)
Mth  : calculated FRDM atomic mass excess in MeV
Emic : calculated FRDM microscopic energy in MeV
beta2: calculated quadrupole deformation of the nuclear ground-state
beta3: calculated octupole deformation of the nuclear ground-state
beta4: calculated hexadecapole deformation of the nuclear ground-state
beta6: calculated hexacontatetrapole deformation of the nuclear ground-state

The format is (2i4,1x,a2,1x,i1,4f10.3,4f8.3).

armi.nuclearDataIO.ripl.readAbundanceFile(stream)[source]

Read RIPL natural abundance subfile.

armi.nuclearDataIO.ripl.discoverRiplDecayFiles(directory)[source]

Discover the RIPL decay/level files in the specified directory.

RIPL decay/level files are like z001.dat where the number represents the atomic number of the nuclides within.

Parameters

directory (str) – file path

Returns

riplDecayFiles – file names of the RIPL decay files

Return type

list

armi.nuclearDataIO.ripl.makeDecayConstantTable(directory=None, cs=None)[source]

Make decay constants of the nuclides from the RIPL files.

Parameters
  • directory (str) – file path to read

  • cs (dict) – case settings

Returns

nuclideDecayConstants – decay constants indexed to nuclideBases

Return type

dict