openmc.data.half_life

openmc.data.half_life(isotope: str, chain_file: Literal[False] | None | PathLike | Chain = False) float | None[source]

Return half-life of isotope in seconds or None if isotope is stable

By default, half-life values are from the ENDF/B-VIII.0 decay sublibrary. A depletion chain can also be used as the source of half-life values.

Added in version 0.13.1.

Changed in version 0.15.4: Added the chain_file argument.

Parameters:
  • isotope (str) – Name of isotope, e.g., ‘Pu239’

  • chain_file (False, None, PathLike, or openmc.deplete.Chain, optional) – Source of half-life values. If False, only ENDF/B-VIII.0 data is used. If None, the chain specified by openmc.config['chain_file'] is used when available. If a path or openmc.deplete.Chain is given, that chain is used. For None or an explicit chain, nuclides absent from the chain fall back to ENDF/B-VIII.0 data.

Returns:

Half-life of isotope in [s], or None if the isotope is stable

Return type:

float or None