Skip to content

Commit ef736a6

Browse files
committed
Do not check if EVB already processed baseline, we do relative corrections
1 parent d9c65f6 commit ef736a6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ctapipe_io_lst/calibration.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,10 +236,7 @@ def apply_drs4_corrections(self, event: LSTArrayEventContainer):
236236
if r1.waveform is None:
237237
r1.waveform = event.r0.tel[tel_id].waveform
238238

239-
correct_pedestal = (
240-
self.apply_drs4_pedestal_correction
241-
and EVBPreprocessingFlag.BASELINE_SUBTRACTION not in preprocessing
242-
)
239+
correct_pedestal = self.apply_drs4_pedestal_correction
243240
correct_timelapse = (
244241
self.apply_timelapse_correction
245242
and EVBPreprocessingFlag.DELTA_T_CORRECTION not in preprocessing

0 commit comments

Comments
 (0)