Biblioteca Python para interpretar dados (extrair features) biológicos, tais como ECG, RSP e EDA.

https://github.com/neuropsychology/NeuroKit

Uso

Exemplo ECG

import neurokit2 as nk
 
# Load ECG signal (example)
ecg_signal = nk.ecg_simulate(duration=10, heart_rate=60)
 
# Process the ECG signal
ecg_signals, info = nk.ecg_process(ecg_signal, sampling_rate=500)
 
# Extract R-peaks
r_peaks = info['ECG_R_Peaks']
 
# Visualize the ECG signal and R-peaks
nk.ecg_plot(ecg_signals)