neuropsychology / NeuroKit

NeuroKit2: The Python Toolbox for Neurophysiological Signal Processing
https://neuropsychology.github.io/NeuroKit
MIT License
1.58k stars 420 forks source link

RSA plot #443

Closed DominiqueMakowski closed 2 years ago

DominiqueMakowski commented 3 years ago

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 what's the best choice. Maybe something based on cardiac coherence visualizations, or an overlay of RSP and HR? Brainstorming is welcome

Some images from google:

image

image

zen-juen commented 3 years ago

Possible overlay of rsp and ecg signals, extracted from here

image

DominiqueMakowski commented 3 years ago

@zen-juen @Tam-Pham a plot for RSA would be nice and easy to add to essentially finalize the HRV features set

DominiqueMakowski commented 3 years ago

image

I'd say that a plot like that, with a) overlay of (normalized [probably a running-window normalization of like 10 seconds - so that it's on the same scale throughout to help highlight the synchronization - would be better, but not a priority]) HR & RSP rate and b) values of RSA (only when continuous RSA available) is the most efficient way of conveying the idea

stale[bot] commented 2 years ago

This issue has been automatically marked as inactive because it has not had recent activity. It will eventually be closed if no further activity occurs.

stale[bot] commented 2 years ago

This issue has been inactive for a long time. We're closing it (but feel free to reopen it if need be).