Skip to content

Commit

Permalink
Set track_overflow to False when initializing ExtendedSourceResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyoneda committed Jan 23, 2025
1 parent 7a73ac8 commit 5f3ccbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cosipy/response/ExtendedSourceResponse.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def __init__(self, *args, **kwargs):
"""
Initialize an ExtendedSourceResponse object.
"""
# Not to track the under/overflow bins
kwargs['track_overflow'] = False

super().__init__(*args, **kwargs)

if not np.all(self.axes.labels == ['NuLambda', 'Ei', 'Em', 'Phi', 'PsiChi']):
Expand Down

0 comments on commit 5f3ccbc

Please sign in to comment.