add landscape size as simulation output

This commit is contained in:
Pim Nelissen
2026-04-15 08:43:11 +02:00
parent 0a0073ccce
commit 09609b4429
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class SimulationEngine:
return SimulationOutput(
name=self.landscape.name,
size=self.landscape.size,
count_rate=count_rate_results,
sources=source_results
)

View File

@ -27,5 +27,6 @@ class SourceOutput:
@dataclass
class SimulationOutput:
name: str
size: tuple
count_rate: CountRateOutput
sources: List[SourceOutput]