NeuroKit
NeuroKit copied to clipboard
NeuroKit2: The Python Toolbox for Neurophysiological Signal Processing
When calling nk.hrv on my RRI data, I get `ValueError: Expect x to not have duplicates` The RRI data appears to satisfy the criteria of the HRV function. It looks...
> ecg_peaks() can handle with int8 format ("uncleaned"), but ecg_delineate() cannot, and seems to accept only float64 (such as returned by ecg_clean()). However, with float64 datasets it quickly runs into...
There are lots of methods for respiration analysis of breathing belt/RIP signals, but two good ones that could be part of neurokit might be these two, which could be better...
Used to detect atypical breathing events, useful in the context of noise removal. Methods: - [ ] [Birn et al., 2006](http://mriquestions.com/uploads/3/4/5/7/34572113/birn_separating_respirator.pdf) - [ ] [Harrison et al., 2021](https://www.sciencedirect.com/science/article/pii/S1053811921000641) Resources &...
Thanks a lot for this package, but I still got stuck by some problems when I set my time window and detect SCR. **Question and context:** First of all, with...
This morning I got quite excited by the great [API](https://github.com/berndporr/ECG-GUDB) by @berndporr to access the GUDB database. One thing lead to another, I ended up with [this script](https://github.com/neuropsychology/NeuroKit/blob/dev/data/gudb/download_gudb.py) that one...
**Question and context** I tried to dismantle neurokit2.ecg.ecg_quality for speed up but I can not run _ecg_quality_pSQI, _ecg_quality_basSQI pdf is ecg_3000hz.csv @nb.jit def _ecg_quality_pSQI( ecg_cleaned, sampling_rate=1000, window=1024, num_spectrum=[5, 15], dem_spectrum=[5,...
RSA plot
All the hrv_* functions have a `show` argument that can be set to `True` to make nice plots. All but `hrv_rsa()`. We should add a plot, though I'm not sure...
First of all, this is a great package and very easy to use! In many papers it is reccomened to detrend the rri time series before analysis, but i couldn't...
With some signals, ecg_delineate returns an `IndexError` (sometimes even dependent on the method used; e.g. 'peaks' works fine, but 'cwt' would throw an error): ``` Traceback (most recent call last):...