Zen

Results 29 comments of Zen

Hi @martinfrasch the error occurs because all the `hrv` functions contain steps to convert the default input of peaks into RRI (you can see in your error traceback there is...

That's great! I'm assuming you commented out the first few lines of each function then? Since each function was designed to take peaks samples, the step of converting them into...

Oh no I was referring to the **samples at which the R-peaks** occur, like so 😄 ``` data = nk.data("bio_resting_5min_100hz") # import data peaks, info = nk.ecg_peaks(data["ECG"], sampling_rate=100) # find...

I think `signal_resample()` in neurokit could do the trick, perhaps you can check out our documentation! https://github.com/neuropsychology/NeuroKit/blob/a4eb198b75cd343a35a02af41f6bc32808442585/neurokit2/signal/signal_resample.py#L8-L16

No worries @martinfrasch! > FYI, the link https://github.com/neuropsychology/NeuroKit/scripts/resampling.ipynb does not work. What scripts are you looking for exactly? >May I propose that you add an error message if someone is...

Hi @martinfrasch I may be misunderstanding your goal here but just to clarify, `hrv` functions take peaks data as the default input, whereas the purpose of `ecg_peaks()` is to locate...

Hi @martinfrasch, I'm a little confused here regarding your pipeline: > My data is RRI in milliseconds uniformly resampled to 4 Hz (from raw 1000 Hz RRIs). May I ask...

Hi @froynard, the csv file you shared here contains only 3 values (I'm assuming which corresponds to the values of 3 peak indices obtained from `ecg_peaks`). The error occurs because...

Hello @noa7291 sorry for the late response! Could you point us to the paper that recommended detrending of the RRI time series? We just want to check if the detrending...

Hi @LaxmanSinghTomar, could you include your code here so that we can reproduce the results and investigate? 😃