View source: R/PulseWaveform.R
find_w | R Documentation |
find_w identifies peaks in the first derivative of the PPG time series (denoted w on the original PPG pulse wave). A rolling window relative to heart rate is applied to identify beats and artefacts. Peaks identified within a window are confirmed as genuine / artefactual with a series of checks against thresholds derived from beats local to the window and across the entire time series.
find_w(d1p, deriv1, sp, sr)
d1p |
polynomial spline of first derivative of the PPG time series |
deriv1 |
first derivative in discrete form |
sp |
polynomial spline of original time series |
sr |
sample rate |
wX |
x axis coordinates of all w points |
wY |
y axis coordinates of all w points on original PPG trace |
wYD1 |
y axis coordinates of all w points on 1st derivative trace |
Elgendi et al, 2018: Toward generating more diagnostic features from photoplethysmogram waveforms.
w <- find_w(d1p = deriv1Poly, deriv1 = deriv1, sp = splinePoly, sr = samplingRate)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.