python package to collect nuclear data inputs
move into the collect directory and run
pip install .to install the package
to collect the discrete levels in the RIPL database, use the collect.ripl.DiscreteLevel object, with the isotope mass number A and either Z or the chemical symbol X:
import collect
levels = collect.ripl.DiscreteLevels(Z=26,A=56)or
import collect
levels = collect.ripl.DiscreteLevels(X='Fe',A=56)The DiscreteLevels object has some basic information about the isotope:
A- mass numberZ- charge numberX- chemical symbolsymbol- isotope symbol,AAAXXnum_levels- number of levelsnum_transitions- total number of gammas in the level schemenum_complete- number of levels in the RIPL complete level schemeSn- neutron separation energy in MeVlevels- list ofLevelobjects
The Level objects have information about each level:
index- Index of the levelenergy- Energy of the level in MeVspin- Spin of the levelparity- Parity of the level (-1 or 1)half_life- half-live of the level in secondsnum_transitions- number of transitions from this leveltransitions-The transitions from this level, a list ofTransitionobjects
The Transition objects have information about each transition from the level:
initial_index- Index of the initial levelfinal_index- Index of the final levelenergy- Energy of the transition in MeVprobability- Probability that the initial level will decay by this transitiongamma_probability- Probability that the initial level will decay by this transition, and by emission of a gamma (not internal conversion)