embodied-computation-group / systole

Systole: A python package for cardiac signal synchrony and analysis
https://embodied-computation-group.github.io/systole/#
GNU General Public License v3.0
77 stars 31 forks source link

interpolation problem when using ppg_peaks #59

Open lbanellis opened 1 year ago

lbanellis commented 1 year ago

Hi Nico

As requested, I am attaching the script and subject in which I get an interpolation error (numpy function interp) when using the ppg_peaks systole function. I have plotted the data and there are no obvious problems (also attached).

image

systole_sub-0550.zip

Thanks in advance,

Leah :)

lbanellis commented 1 year ago

systole_sub-0550.zip

LegrandNico commented 1 year ago

Hi @lbanellis , so I just checked with the dev version and I cannot reproduce the error, this has probably been fixed in the meantime and you should have no problem with the next release, I will do the release soon.