There was an error while loading. Please reload this page.
1 parent 5500eaa commit 41b5450Copy full SHA for 41b5450
1 file changed
src/extra/applications/cookiebox_deconvolve.py
@@ -491,9 +491,9 @@ def setup(self,
491
logging.info("Summing good trains ...")
492
analog_data = -tof.select_trains(by_id[good_trains]).pulse_data(pulse_dim="pulseIndex", parallel=parallel)
493
this_tof_data = analog_data.sel(pulse=idx)
494
- if self.roi is not None:
495
- this_tof_data = this_tof_data.isel(sample=self.roi)
496
- data += [this_tof_data.to_numpy()]
+ if self.roi is not None:
+ this_tof_data = this_tof_data.isel(sample=self.roi)
+ data += [this_tof_data.to_numpy()]
497
498
for d in data:
499
this_h = self.shift_h(d, h_axis)
0 commit comments