diff --git a/src/libertem_live/detectors/merlin/sim.py b/src/libertem_live/detectors/merlin/sim.py index 6115752a..3df52e47 100644 --- a/src/libertem_live/detectors/merlin/sim.py +++ b/src/libertem_live/detectors/merlin/sim.py @@ -290,7 +290,7 @@ def _warmup(self): ) slices, ranges, scheme_indices = fileset.get_read_ranges( start_at_frame=0, - stop_before_frame=int(np.prod(self._ds.shape.nav)), + stop_before_frame=min(10, int(np.prod(self._ds.shape.nav))), dtype=np.float32, # FIXME: don't really care... tiling_scheme=tiling_scheme, roi=None,