-
When I used the following two lines of code, an error exist "KeyError: 'ECG_Q_Peaks'". What should I do to get ECG_Q_Peaks and ECG_S_Peaks? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @sdujicun, Currently The detailed description of the outputs (returns) can be found in our documentation of the function here hope that helps! |
Beta Was this translation helpful? Give feedback.
Hi @sdujicun,
Currently
nk.ecg_delineate()
has a derivative method and two other wavelet-based methods. The default method ismethod="dwt"
(discrete wavelet method) and unfortunately, the returns of this method only include P-peaks, T-peaks, P-onsets, P-offsets, T-onsets, T-offsets. For Q-peaks and S-peaks, you can use the derivative method instead (method="peak"
).The detailed description of the outputs (returns) can be found in our documentation of the function here
hope that helps!