Skip to content

Commit 772c12f

Browse files
committed
hrv - fixed band filter
1 parent c70cc5a commit 772c12f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data_analysis/heart_rate_variability/exploring_heart_rate_variability.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@
125125
window-filtered (.bandPassFilter bw
126126
(double-array window-standardized)
127127
4
128-
0
128+
0.04 ; Lower cutoff at 0.04 Hz to remove baseline drift
129129
0.4)
130130
fft (DiscreteFourier. (double-array window-filtered))
131131
_ (.transform fft)

0 commit comments

Comments
 (0)