mirror of
https://github.com/pim-n/pg-rad
synced 2026-06-17 15:59:35 +02:00
pass global seed onto fluence and background
This commit is contained in:
@ -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]:
|
||||
|
||||
@ -12,6 +12,7 @@ class CountRateOutput:
|
||||
cps: List[float]
|
||||
integrated_counts: List[float]
|
||||
mean_bkg_cps: List[float]
|
||||
seed: int
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user