From 94526ea4f275a9721fcdf9e42fc024f5e00e1d0f Mon Sep 17 00:00:00 2001 From: LuisSanchez25 Date: Thu, 16 May 2024 11:21:09 -0500 Subject: [PATCH] return configs to peaks --- amstrax/plugins/peaks/peaks.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/amstrax/plugins/peaks/peaks.py b/amstrax/plugins/peaks/peaks.py index a2d32b30..431b3a02 100644 --- a/amstrax/plugins/peaks/peaks.py +++ b/amstrax/plugins/peaks/peaks.py @@ -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, @@ -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