Add detector architecture + isotropic detectors

This commit is contained in:
Pim Nelissen
2026-03-03 09:48:20 +01:00
parent 41a8ca95b3
commit c98000dfd8
10 changed files with 179 additions and 13 deletions

View File

@ -63,6 +63,13 @@ class RelativePointSourceSpec(SourceSpec):
z: float
@dataclass
class DetectorSpec:
name: str
eff: float | None
is_isotropic: bool
@dataclass
class SimulationSpec:
metadata: MetadataSpec
@ -70,3 +77,4 @@ class SimulationSpec:
options: SimulationOptionsSpec
path: PathSpec
point_sources: list[SourceSpec]
detector: DetectorSpec