wonambi.ioeeg.lyonrri module
Class to import HRV RRI data in text format.
- class wonambi.ioeeg.lyonrri.LyonRRI(rec_dir)[source]
Bases:
object
Class to read text format RR interval data from HRVanalysis export (INSERM/Lyon). Returns one channel only.
- Parameters:
rec_dir (path to record directory) – the folder containing the record
Notes
With code adapted from Rhenan Bartels: https://github.com/rhenanbartels/hrv
- return_hdr()[source]
Return the header for further use.
- Returns:
subj_id (str) – subject identification code
start_time (datetime) – start time of the dataset
s_freq (float) – sampling frequency
chan_name (list of str) – list of all the channels
n_samples (int) – number of samples in the dataset
orig (dict) – the full header