Skip to content

Commit

Permalink
[RNO-G] include zero-meaning also in approximate block offset removal
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoerd-bouma committed Jan 22, 2024
1 parent 438e649 commit dc8796c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NuRadioReco/modules/RNO_G/channelBlockOffsetFitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def fit_block_offsets(
# obtain guesses for block offsets
a_guess = np.mean(np.split(filtered_trace, n_blocks), axis=1)
if mode == 'approximate':
block_offsets = a_guess
block_offsets = a_guess + np.mean(trace)
elif mode == 'fit':
# self._offset_guess[channel_id] = a_guess
# we can get rid of one parameter through a global shift
Expand Down

0 comments on commit dc8796c

Please sign in to comment.