heartbeat icon indicating copy to clipboard operation
heartbeat copied to clipboard

added peak detection

Open stephanschulz opened this issue 3 years ago • 1 comments

using this c++ implementation of the using z-scores peak detection algorithm https://stackoverflow.com/questions/22583391/peak-signal-detection-in-realtime-timeseries-data/46998001#46998001

The added code draws an additional graph showing the peaks and troughs of the s_f curve. It also draws a filled circle every time the most recent peak value equals 1.

All this was done to get me one step closer to visualizing the onset of the live heart beat.

stephanschulz avatar Nov 13 '20 14:11 stephanschulz

Thanks for the PR, @stephanschulz. I might take some time to merge this as I would prefer to make it optional - just very busy with other stuff at the moment.

prouast avatar Nov 18 '20 09:11 prouast