mirror of
https://github.com/pim-n/pg-rad
synced 2026-03-23 21:58:12 +01:00
Add detector architecture + isotropic detectors
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user