biosppy.signals.bvp

biosppy.signals.bvp

This module provides methods to process Blood Volume Pulse (BVP) signals.

——– DEPRECATED ——– PLEASE, USE THE PPG MODULE This module was left for compatibility —————————-

copyright:
  1. 2015-2026 by Instituto de Telecomunicacoes

license:

BSD 3-clause, see LICENSE for more details.

Functions

bvp([signal, sampling_rate, path, show])

Process a raw BVP signal and extract relevant signal features using default parameters.

biosppy.signals.bvp.bvp(signal=None, sampling_rate=1000.0, path=None, show=True)[source]

Process a raw BVP signal and extract relevant signal features using default parameters.

Parameters:
  • signal (array) – Raw BVP signal.

  • sampling_rate (int, float, optional) – Sampling frequency (Hz).

  • path (str, optional) – If provided, the plot will be saved to the specified file.

  • show (bool, optional) – If True, show a summary plot.

Returns:

  • ts (array) – Signal time axis reference (seconds).

  • filtered (array) – Filtered BVP signal.

  • onsets (array) – Indices of BVP pulse onsets.

  • heart_rate_ts (array) – Heart rate time axis reference (seconds).

  • heart_rate (array) – Instantaneous heart rate (bpm).