snf_simulations.detector#
Functions for simulating antineutrino detectors.
Module Contents#
Classes#
Class representing an antineutrino detector. |
API#
- class snf_simulations.detector.Detector(volume: float, proton_density: float, name: str | None = None)[source]#
Class representing an antineutrino detector.
- Variables:
volume – Volume of the detector in cubic meters.
proton_density – Proton density of the detector material per cubic centimeter.
name – An optional name for the detector.
- calculate_event_rate(spec: snf_simulations.spec.Spectrum, distance: float, efficiency: float = 1) float[source]#
Calculate the expected event rate in the detector for a given spectrum.
- Parameters:
spec – Antineutrino spectrum.
distance – Distance from the source to the detector in meters.
efficiency – Detection efficiency.
- Returns:
Event rate in s^-1.