snf_simulations.scripts.command_line#
Command line script to run SNF simulations and generate plots.
Module Contents#
Functions#
Parse command line arguments and run the simulation. |
|
Run SNF simulations and calculate antineutrino fluxes and event rates. |
|
Plot both single and multiple flux spectra on one graph. |
|
Calculate total spectra for multiple casks. |
|
Plot multiple flux spectra for different cooling times. |
|
Sample the cask spectrum to simulate detector observations. |
|
Plot the spectrum for a single dry cask of fuel at different removal times. |
API#
- snf_simulations.scripts.command_line.main() None[source]#
Parse command line arguments and run the simulation.
- snf_simulations.scripts.command_line.run(reactor: str = 'sizewell', cask_mass: float = 10000) None[source]#
Run SNF simulations and calculate antineutrino fluxes and event rates.
Performs calculations for single and multiple dry casks of spent nuclear fuel at various cooling times, calculating antineutrino flux and expected detector event rates at 40 meters distance.
- Parameters:
reactor – Reactor name (‘sizewell’ or ‘hartlepool’).
cask_mass – Total mass of SNF in each cask (kg).
- snf_simulations.scripts.command_line.run_compare(spec_05: snf_simulations.spec.Spectrum, spec_multiple: snf_simulations.spec.Spectrum, reactor: str = 'sizewell') None[source]#
Plot both single and multiple flux spectra on one graph.
- snf_simulations.scripts.command_line.run_multiple(reactor: str = 'sizewell', cask_mass: float = 10000, casks_per_removal: int = 10) snf_simulations.spec.Spectrum[source]#
Calculate total spectra for multiple casks.
- snf_simulations.scripts.command_line.run_multiple_full(reactor: str = 'sizewell', cask_mass: float = 10000, casks_per_removal: int = 10) None[source]#
Plot multiple flux spectra for different cooling times.
- snf_simulations.scripts.command_line.run_sample(spec: snf_simulations.spec.Spectrum, reactor: str = 'sizewell') None[source]#
Sample the cask spectrum to simulate detector observations.
- snf_simulations.scripts.command_line.run_single(reactor: str = 'sizewell', cask_mass: float = 10000) snf_simulations.spec.Spectrum[source]#
Plot the spectrum for a single dry cask of fuel at different removal times.