Skip to content

Questions about hrv_rsa() #652

Answered by DominiqueMakowski
JU-THU asked this question in Q&A
Discussion options

You must be logged in to vote
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)
{'RSA_P2T_Mean': 0.16184523809523813,
 'RSA_P2T_Mean_log': -1.8211147207588794,
 'RSA_P2T_SD': 0.06775122709022904,
 'RSA_P2T_NoRSA': 1,
 'RSA_PorgesBohrer': -3.8425139100329213,
 'RSA_Gates_Mean': 8.339137462047258,
 'RSA_Gates_Mean_log': 2.120959789205375,
 'RSA_Gates_SD': 0.2133345212849366}

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@JU-THU
Comment options

Comment options

You must be logged in to vote
1 reply
@JU-THU
Comment options

Answer selected by JU-THU
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants