moving average filter #872
-
Hi, some of the API that extract hrv features apply a moving average filter to denoise. However, I wonder if the size of the window is not necessary because neurokit does not visualize the peak signal. |
Beta Was this translation helpful? Give feedback.
Answered by
DominiqueMakowski
Aug 1, 2023
Replies: 1 comment 4 replies
-
Not sure I understand, could you be more specific? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Oh you mean if the original input is cleaned. The HRV functions don't do it by themselves; they assume that it you are inputting NK outputs from other functions (where cleaning is performed) or that you know what you are doing.
Within NK this cleaning is achieved via for instance,
nk.ecg_clean()
andnk.ecg_peaks()
(that runsnk.signal_fixpeaks()
).