Skip to content

Commit

Permalink
center time bug
Browse files Browse the repository at this point in the history
  • Loading branch information
cfuselli committed Dec 6, 2023
1 parent 02c6ca5 commit 65f23fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amstrax/plugins/peaks/peak_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class PeakBasics(strax.Plugin):
def compute(self, peaks):
p = peaks
r = np.zeros(len(p), self.dtype)
needed_fields = 'time length dt area type center_time'
needed_fields = 'time length dt area type'
for q in needed_fields.split():
r[q] = p[q]

Expand Down

0 comments on commit 65f23fa

Please sign in to comment.