Files
pg-rad/src/pg_rad/simulator/outputs.py
2026-04-15 08:43:11 +02:00

33 lines
587 B
Python

from typing import List, Tuple
from dataclasses import dataclass
@dataclass
class CountRateOutput:
x: List[float]
y: List[float]
distance: List[float]
sub_points: List[float]
cps: List[float]
integrated_counts: List[float]
mean_bkg_cps: List[float]
@dataclass
class SourceOutput:
name: str
isotope: str
primary_gamma: float
activity: float
position: Tuple[float, float, float]
dist_from_path: float
@dataclass
class SimulationOutput:
name: str
size: tuple
count_rate: CountRateOutput
sources: List[SourceOutput]