biosppy.inter_plotting
This sub-package provides support for interactive plots that allow manual annotation of physiological signals.
Modules
biosppy.inter_plotting.ecg
This module provides an interactive display option for the ACC plot.
- copyright:
2015-2018 by Instituto de Telecomunicacoes
- license:
BSD 3-clause, see LICENSE for more details.
- biosppy.inter_plotting.acc.plot_acc(ts=None, raw=None, vm=None, sm=None, spectrum=None, path=None)[source]
Create a summary plot from the output of signals.acc.acc.
- Parameters:
ts (array) – Signal time axis reference (seconds).
raw (array) – Raw ACC signal.
vm (array) – Vector Magnitude feature of the signal.
sm (array) – Signal Magnitude feature of the signal
path (str, optional) – If provided, the plot will be saved to the specified file.
show (bool, optional) – If True, show the plot immediately.
biosppy.inter_plotting.ecg
This module provides an interactive display option for the ECG plot.
- copyright:
2015-2018 by Instituto de Telecomunicacoes
- license:
BSD 3-clause, see LICENSE for more details.
- biosppy.inter_plotting.ecg.plot_ecg(ts=None, raw=None, filtered=None, rpeaks=None, templates_ts=None, templates=None, heart_rate_ts=None, heart_rate=None, path=None, show=True)[source]
Create a summary plot from the output of signals.ecg.ecg.
- Parameters:
ts (array) – Signal time axis reference (seconds).
raw (array) – Raw ECG signal.
filtered (array) – Filtered ECG signal.
rpeaks (array) – R-peak location indices.
templates_ts (array) – Templates time axis reference (seconds).
templates (array) – Extracted heartbeat templates.
heart_rate_ts (array) – Heart rate time axis reference (seconds).
heart_rate (array) – Instantaneous heart rate (bpm).
path (str, optional) – If provided, the plot will be saved to the specified file.
show (bool, optional) – If True, show the plot immediately.