'templatematch': _ppg_quality_templatematch() uses signal_interpolate with method='quadratic'
'disimilarity': _ppg_quality_disimilarity() uses signal_interpolate with method='previous'
Expected behaviour
I would expect this behavior to be consistent between ppg_quality methods. method='previous' seems most apt as the quality is truly calcuated beat-by-beat - it will hold the most recent beat's quality value until a new value comes along to replace it. method='quadratic' frequently fills the vector with values above and below the specified 'templatematch' range of [0, 1].
Describe the bug ppg_quality with method=
Expected behaviour I would expect this behavior to be consistent between ppg_quality methods. method='previous' seems most apt as the quality is truly calcuated beat-by-beat - it will hold the most recent beat's quality value until a new value comes along to replace it. method='quadratic' frequently fills the vector with values above and below the specified 'templatematch' range of [0, 1].
System Specifications