diff --git a/fuse/plugins/micro_physics/input.py b/fuse/plugins/micro_physics/input.py index 3b0c0cfd..06e74f36 100644 --- a/fuse/plugins/micro_physics/input.py +++ b/fuse/plugins/micro_physics/input.py @@ -271,10 +271,12 @@ def output_chunk(self): if self.fixed_event_spacing: self.log.info("Using fixed event spacing.") event_times = ( - np.arange( - start=0, stop=num_interactions / self.event_rate, step=1 / self.event_rate + np.linspace( + start=0, stop=num_interactions / self.event_rate, num=num_interactions ) + 1e9 + ).astype( + np.int64 ) # ns else: self.log.info("Using random event times.")