beats per minute algorithm using only one data variable of type byte stored in an array of byte

430 Views Asked by At

I'm getting real time data as byte and plotting the data using timer variable on a graph using vb.net.

i want to calculate beats per minute from the graph. I've read about many peak detection algorithms but all assume to have two variables for their working.

the waveform looks like the one seen on an ECG (cardiac waveform).

I've tried the algorithm mentioned by Jean-Paul in the following post but it doesn't work for me (gives me a 0 bpm at all times)

Peak signal detection in realtime timeseries data

note: I'm storing the byte data in an array which can take atmost 2000 data points(bytes)

0

There are 0 best solutions below