snf_simulations.cask#
Calculate antineutrino spectra for spent nuclear fuel casks.
Module Contents#
Classes#
Class representing a cask of spent nuclear fuel. |
API#
- class snf_simulations.cask.Cask(isotope_proportions: dict[str, float], total_mass: float = 1000, name: str = 'Cask')[source]#
Class representing a cask of spent nuclear fuel.
- Variables:
isotope_proportions – The proportions of each isotope in the cask. Should be a dictionary where keys are isotope names and values are the proportion of the total mass that isotope represents (between 0 and 1).
total_mass – The total mass of the cask in kg.
name – The name of the cask.
- _get_component_spectra(removal_time: float = 0) list[snf_simulations.spec.Spectrum][source]#
Get the individual antineutrino spectra for each isotope in the cask.
- Returns:
A list of Spectrum objects, representing the antineutrino spectra for each isotope as well as any additional isotopes created from decays since removal from the reactor.
- classmethod from_reactor(reactor: str, total_mass: float) snf_simulations.cask.Cask[source]#
Create a Cask object from reactor data.
- get_total_spectrum(removal_time: float = 0) snf_simulations.spec.Spectrum[source]#
Calculate the total antineutrino spectrum as a Spectrum object.
- Parameters:
removal_time – The time in years since the cask was removed from the reactor.