Skip to main content

Module respiration_from_rppg_harmonic

Module respiration_from_rppg_harmonic 

Source
Expand description

Secondary RR from rPPG low-frequency content (RSA / baseline wander band).

Uses the same breath band (~0.1–0.5 Hz) as motion RR. Not a second harmonic of HR; it is the low-frequency residual peak of a pulse-like trace after optional HR-band energy is ignored by band-limiting the spectral search. Fail closed on low SNR. No training.

Functions§

respiration_from_rppg_harmonic
Estimate respiratory rate from an rPPG (or raw green/pulse) trace by peaking in the respiratory band only.