pass global seed onto fluence and background

This commit is contained in:
Pim Nelissen
2026-05-03 17:29:53 +02:00
parent 372082f19b
commit 40b09971ff
7 changed files with 23 additions and 8 deletions

View File

@ -48,7 +48,8 @@ class SimulationEngine:
self.landscape,
self.detector,
velocity=self.runtime_spec.speed,
bkg_cps_input=self.sim_spec.bkg_cps
bkg_cps_input=self.sim_spec.bkg_cps,
seed=self.sim_spec.seed
)
)
@ -59,7 +60,8 @@ class SimulationEngine:
sub_points,
cps,
int_counts,
mean_bkg_counts
mean_bkg_counts,
self.sim_spec.seed
)
def _calculate_point_source_distance_to_path(self) -> List[SourceOutput]: