patch export to add also detector details

This commit is contained in:
Pim Nelissen
2026-04-16 13:40:47 +02:00
parent eadf14fd49
commit 8017159c5b
3 changed files with 28 additions and 2 deletions

View File

@ -24,9 +24,18 @@ class SourceOutput:
dist_from_path: float
@dataclass
class DetectorOutput:
name: str
type: str
is_isotropic: bool
field_eff: float
@dataclass
class SimulationOutput:
name: str
size: tuple
detector: DetectorOutput
count_rate: CountRateOutput
sources: List[SourceOutput]