Questions about hrv_rsa() #652
Replies: 2 comments 2 replies
-
Can confirm that this code works on my machine. What's your error? |
Beta Was this translation helpful? Give feedback.
1 reply
-
import neurokit2 as nk
data = nk.data('https://raw.githubusercontent.com/neuropsychology/NeuroKit/dev/data/bio_resting_8min_200hz.json')["S01"]
clean_signals, info = nk.bio_process(ecg=data["ECG"], rsp=data["RSP"], sampling_rate=200)
nk.hrv_rsa(clean_signals, sampling_rate=200)
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
JU-THU
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have read the following paper and tried the process of hrv calculation. https://doi.org/10.3390/s21123998
However, "nk.hrv" cannot output the result of rsa. Is anything wrong or any improvement with your code?
Beta Was this translation helpful? Give feedback.
All reactions