Skip to content

Commit

Permalink
Dev (#43)
Browse files Browse the repository at this point in the history
* SPeaklets in development (#41)

* template for peaklets

* template for peaklets

* prevent negative channels

* register SPeaklets

* gain and hit thresholds

* reduced unnecessary pasting

* added docstr

* avoid local find_peaks. will override strax.sum_waveform

* debug

* modified find_peaks

* trial

* sync

* SPeaklets is minimally working (#42)

* template for peaklets

* template for peaklets

* prevent negative channels

* register SPeaklets

* gain and hit thresholds

* reduced unnecessary pasting

* added docstr

* avoid local find_peaks. will override strax.sum_waveform

* debug

* modified find_peaks

* trial

* sync

* fixed no return bug

* trial to modify sum_waveform

* override sum_waveform

* debug

* peak_saturation_correction

* warning in docstr and shifted

* debug add_hit_features
  • Loading branch information
FaroutYLq authored Aug 3, 2023
1 parent 31d6c5b commit 0ea8679
Show file tree
Hide file tree
Showing 4 changed files with 872 additions and 3 deletions.
2 changes: 1 addition & 1 deletion saltax/contexts.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def xenonnt_salted(runid, output_folder='./strax_data',
storage=strax.DataDirectory(output_folder),
config=context_config,
**context_options)
st.register([straxen.DAQReader, saltax.SRawRecordsFromFaxNT])
st.register([straxen.DAQReader, saltax.SRawRecordsFromFaxNT, saltax.SPeaklets])
st.deregister_plugins_with_missing_dependencies()

# Based on straxen.contexts.xenonnt()
Expand Down
3 changes: 3 additions & 0 deletions saltax/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@

from . import s_records
from .s_records import *

from . import s_peaklets
from .s_peaklets import *
Loading

0 comments on commit 0ea8679

Please sign in to comment.