strax
strax copied to clipboard
Peak waveform is truncated
Describe the bug
It looks like during peak building the peak waveform is being truncated by at least one sample, resulting in the last peaklet being truncated and ignored. This results in mismatch between data and peak area, as they are computed from peaklets and lone hits separately.
Area is not expected to be affected, while peak timing properties can have a slight effect.
Screenshots
effect on summed area
And example of a waveform (zoomed out and zoomed in)
Versions
I am using current (25 October 2022) development contaner with version strax : 1.4.0 straxen: 2.0.0