Skip to content

Commit 380629c

Browse files
committed
hrv - increased hop size
1 parent 0d6a997 commit 380629c

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
@@ -89,7 +89,7 @@
8989
sampling-rate)
9090
n (tc/row-count resampled-ppi)
9191
window-size (* window-size-in-sec sampling-rate)
92-
hop-size 8
92+
hop-size (* 5 sampling-rate) ; 5-second hops for reasonable overlap
9393
n-windows (int (/ (- n window-size)
9494
hop-size))
9595
ranges (-> ppi-ds

0 commit comments

Comments
 (0)