NeuroKit
NeuroKit copied to clipboard
NeuroKit2: The Python Toolbox for Neurophysiological Signal Processing
Hello, ``` neurokit2\signal\signal_fixpeaks.py:307: RuntimeWarning: divide by zero encountered in divide mrrs /= th2 neurokit2\signal\signal_fixpeaks.py:307: RuntimeWarning: invalid value encountered in divide mrrs /= th2 ``` happens when the signal is very...
As of https://github.com/neuropsychology/NeuroKit/pull/873 the rsp_intervalrelated no longer returns 'RSP_Amplitude_Mean' as incorrectly indicated by the function description and the documentation. original code: ` if "RSP_Amplitude" in colnames: output["RSP_Amplitude_Mean"] = np.nanmean(data["RSP_Amplitude"].values)` was...
Line 128 uses step size of 0.25/50, but line 137 uses 0.25/60 I think this is a typo, but please close if I'm wrong!
**Describe the bug** Currently the Zhao2018 algorithm in `ecg_quality()` function returns a string of the quality class, while others return a number. This behaviour complicates pipelines where the quality algorithm...
line 46-47: ``` # Select only 1h of recording (otherwise it's too big) data = data[460800:460800*3].reset_index(drop=True) anno = anno[(anno["Rpeaks"] > 460800) & (anno["Rpeaks"]
Maybe someone could tell me what I'm doing wrong or maybe it's a bug... I tried to run tihs piece of code. ``` ppg_signal = ppg['ch2'].values ppg_signal = nk.ppg_clean(ppg_signal =ppg_signal,sampling_rate...
The error is in different formatting of "Database" field for ECG and R-peaks: ``` 38: data["Database"] = "GUDB_" + experiment ... 44: anno["Database"] = "GUDB (" + experiment + ")"...
0.2.8
Roadmap ### RSP - [ ] Add `rsp_segment()` (similar to `ppg_segment()`) - [ ] Add the cycle overlay plots to RSP - [ ] Streamline `rsp_plot()` (same as `ppg_plot()`) ###...
- [Böttcher, S., Vieluf, S., Bruno, E., Joseph, B., Epitashvili, N., Biondi, A., ... & Loddenkemper, T. (2022). Data quality evaluation in wearable monitoring. Scientific reports, 12(1), 21412.](https://www.nature.com/articles/s41598-022-25949-x) They have...
Hello! I am a bit confused about the default method for cleaning respiration signals. In the docstring, it is written that there is linear detrending followed by a 5th order...