File tree Expand file tree Collapse file tree
src/data_analysis/heart_rate_variability Expand file tree Collapse file tree Original file line number Diff line number Diff line change 420420
421421(delay
422422 (let [subject 5 ]
423- (kind/fragment
424- (-> (label-intervals subject)
425- (tc/select-rows #(not= (:label %) :ignore ))
426- #_(tc/select-rows #(= (:label %) :meditation ))
427- (tc/rows :as-maps )
428- (->> (mapcat (fn [{:keys [offset n label]}]
429- [label
430- (try (-> {:ppi-params {:subject-id subject
431- :row-interval [offset (+ offset n)]}
432- :measures-params {:sampling-rate 10
433- :window-size-in-sec 120 }}
434- WESAD-spectrograms
435- plot-with-measures)
436- (catch Exception e 'unavailable))])))))))
423+ (-> (label-intervals subject)
424+ (tc/select-rows #(not= (:label %) :ignore ))
425+ #_(tc/select-rows #(= (:label %) :meditation ))
426+ (tc/rows :as-maps )
427+ (->> (mapcat (fn [{:keys [offset n label]}]
428+ [label
429+ (try (-> {:ppi-params {:subject-id subject
430+ :row-interval [offset (+ offset n)]}
431+ :measures-params {:sampling-rate 10
432+ :window-size-in-sec 120 }}
433+ WESAD-spectrograms
434+ plot-with-measures)
435+ (catch Exception e 'unavailable))]))))))
436+
437+
438+
439+
440+
441+
442+ ; ; ## Conclusion
443+
444+ ; ; - measures are tricky
445+ ; ; - domain knowledge matters
446+ ; ; - workflow matters
447+ ; ; - visualization matters
448+
449+
450+
451+
452+
453+
454+
455+
456+
457+
458+
459+
You can’t perform that action at this time.
0 commit comments