pyCGM2.Report.plot.addNormalActivationLayer#

pyCGM2.Report.plot.addNormalActivationLayer(figAxis: Axes, normalActivationLabel: str, fo: int, color: str = 'g', edgecolor: str = 'red', alpha: float = 0.1, position: str | None = None)#

Displays normal muscle activation in the background of a time-normalized trace.

Parameters:
  • figAxis (plt.Axes) – A matplotlib figure axis.

  • normalActivationLabel (str) – Muscle label.

  • fo (int) – Time-normalized foot off frame.

  • color (str) – color line

  • edgecolor (str) – edge color

  • alpha (float) – transparency value

  • position (Optional[str]) – position of the rectangle patch ( None, Upper or Lower)