Because data trimming is separate from build_raw (for now...), I've decided to put the code that windows and presums the waveforms in this LEGEND-specific repo. The function data_trimmer works by running a processing chain containing windower and presum processors on the raw data. A unit test for data_trimmer.py is also included in case this piece of code ever eventually makes it to pygama, or if people want to test it out. data_trimmer.py relies on a new double_windower.py processor, which lives in this pull request https://github.com/legend-exp/pygama/pull/407
Apologies to @ggmarshall if the snakemake rules for this new trim tier aren't correct... I tried my best!
Because data trimming is separate from build_raw (for now...), I've decided to put the code that windows and presums the waveforms in this LEGEND-specific repo. The function
data_trimmer
works by running a processing chain containing windower and presum processors on the raw data. A unit test fordata_trimmer.py
is also included in case this piece of code ever eventually makes it topygama
, or if people want to test it out.data_trimmer.py
relies on a newdouble_windower.py
processor, which lives in this pull request https://github.com/legend-exp/pygama/pull/407Apologies to @ggmarshall if the snakemake rules for this new trim tier aren't correct... I tried my best!