From 57f5a44c9efc5e57f1d8fd0b28859a089c34ed5e Mon Sep 17 00:00:00 2001 From: Sjoerd Bouma Date: Wed, 30 Aug 2023 12:11:58 +0200 Subject: [PATCH] forgot to pass through optional kwarg --- NuRadioReco/modules/RNO_G/channelBlockOffsetFitter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NuRadioReco/modules/RNO_G/channelBlockOffsetFitter.py b/NuRadioReco/modules/RNO_G/channelBlockOffsetFitter.py index da0cd3e37..130aed3df 100644 --- a/NuRadioReco/modules/RNO_G/channelBlockOffsetFitter.py +++ b/NuRadioReco/modules/RNO_G/channelBlockOffsetFitter.py @@ -138,7 +138,8 @@ def remove_offsets(self, event, station, mode='fit', channel_ids=None): block_offsets = fit_block_offsets( trace, self.block_size, - channel.get_sampling_rate(), self._max_frequency + channel.get_sampling_rate(), self._max_frequency, + mode=mode ) offsets[channel_id] = -block_offsets