strax icon indicating copy to clipboard operation
strax copied to clipboard

Peak waveform is truncated

Open terliuk opened this issue 2 years ago • 0 comments

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 image And example of a waveform (zoomed out and zoomed in) image image

Versions

I am using current (25 October 2022) development contaner with version strax : 1.4.0 straxen: 2.0.0

terliuk avatar Oct 25 '22 16:10 terliuk