add SimulationEngine and SimulationOutputs to compute results and pass standardized objects on to plotter

This commit is contained in:
Pim Nelissen
2026-02-25 14:21:59 +01:00
parent 9944c06466
commit ae0a038948
3 changed files with 88 additions and 0 deletions

View File

@ -0,0 +1,25 @@
from typing import List, Tuple
from dataclasses import dataclass
@dataclass
class CountRateOutput:
arc_length: List[float]
count_rate: List[float]
@dataclass
class SourceOutput:
name: str
isotope: str
activity: float
position: Tuple[float, float, float]
dist_from_path: float
@dataclass
class SimulationOutput:
name: str
count_rate: CountRateOutput
sources: List[SourceOutput]