NeuroKit
NeuroKit copied to clipboard
ecg_analyze() bug
Creating an ecg signal and using ecg analyze results in an error in Neurokit2 (Version 0.2.6)
ecg = nk.ecg_simulate(duration=60, sampling_rate=100, heart_rate=80)
signals, info = nk.ecg_process(ecg, sampling_rate=100)
epochs = nk.epochs_create(signals,sampling_rate=100, epochs_end=10)
results = nk.ecg_analyze(epochs,sampling_rate=100)
NeuroKitWarning: DFA_alpha2 related indices will not be calculated. The maximum duration of the windows provided for the long-term correlation is smaller than the minimum duration of windows. Refer to the
scale
argument innk.fractal_dfa()
for more information.