biosppy.inter_plotting.acc

biosppy.inter_plotting.ecg

This module provides an interactive display option for the ACC plot.

copyright:
  1. 2015-2026 by Instituto de Telecomunicacoes

license:

BSD 3-clause, see LICENSE for more details.

Functions

plot_acc([ts, raw, vm, sm, spectrum, path])

Create a summary plot from the output of signals.acc.acc.

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.