mekPlotNormalizedEmgLayoutProcedure#

class pyCGM2.Mek.mek.mekPlot.mekPlotNormalizedEmgLayoutProcedure(layout=None, consistency=False, normalizeAmplitude=False, figsize=(11.69, 8.27))#

Plot time-normalized EMG cycles (envelops) of one or several condition groups.

In addition to mekPlotNormalizedLayoutProcedure, the normal burst activity of the muscle (plot key normalActivation) is shaded in grey, placed according to the mean foot off.

Parameters:
  • layout (dict) – EMG layout (see fillEmgLayout()).

  • consistency (bool, optional) – Plot every cycle instead of mean +/- std.

  • normalizeAmplitude (bool, optional) – Divide the cycles of each group by the peak of their mean curve (useful to compare sessions). Defaults to False.

  • figsize (tuple, optional) – Figure size in inches.

__init__(layout=None, consistency=False, normalizeAmplitude=False, figsize=(11.69, 8.27))#

Methods

__init__([layout, consistency, ...])

filterEventContext([eventContext])

Keep only the curves of an event context.

plot()

Build the figure.

setData(groups[, legends])

Set the condition groups to plot.