Skip to content

Commit

Permalink
return configs to peaks
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisSanchez25 committed May 16, 2024
1 parent 7a713c3 commit 94526ea
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions amstrax/plugins/peaks/peaks.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
)])



""""@strax.takes_config(
@export
@strax.takes_config(
strax.Option('peak_gap_threshold', default=300,
help="No hits for this many ns triggers a new peak"),
strax.Option('peak_left_extension', default=10,
Expand All @@ -41,12 +41,10 @@
strax.Option('gain_to_pe_array', default=None,
help="Gain to pe array"),
)
"""
@export
class Peaks(strax.Plugin):
depends_on = ('records',)
data_kind = 'peaks'
#parallel = 'process'
parallel = 'process'
provides = ('peaks_wavefrom')
rechunk_on_save = True

Expand Down

0 comments on commit 94526ea

Please sign in to comment.