SaggitalGagePlotViewer#

class pyCGM2.Report.Viewers.customPlotViewers.SaggitalGagePlotViewer(iAnalysis: Analysis, emgManager: EmgManager, emgType: str = 'Envelope', pointLabelSuffix: str | None = None)#

A viewer for creating plots that replicate the sagittal gait analysis approach as proposed in ‘The Identification and Treatment of Gait Problems in Cerebral Palsy’ by James R. Gage MD, et al.

This class is designed to produce plots that integrate kinematic, kinetic, and electromyographic data in a manner consistent with the methodologies described in the referenced work. It provides a comprehensive view of gait analysis by combining these different data types.

Parameters:
  • iAnalysis (Analysis) – An Analysis instance containing the gait analysis data.

  • emgManager (EmgManager) – An EmgManager instance managing the electromyographic data.

  • emgType (str) – type of emg signal to plot. Defaults to Envelope, choice: Raw or Rectify.

  • pointLabelSuffix (Optional[str]) – An optional suffix for the point labels. Defaults to None.

__init__(iAnalysis: Analysis, emgManager: EmgManager, emgType: str = 'Envelope', pointLabelSuffix: str | None = None)#

Methods

__init__(iAnalysis, emgManager[, emgType, ...])

plotPanel()

Plot the Gage-inspired Sagittal Gait panel.

setAutomaticYlimits(bool)

Sets whether Y-axis limits should be auto-adjusted.

setConcretePlotFunction(concreteplotFunction)

setNormativeData()

Abstract method to set a normative dataset.

setNormativeDataset(iNormativeDataSet)

Set a normative dataset

plotPanel()#

Plot the Gage-inspired Sagittal Gait panel.

Generates and returns the final plot figure

setNormativeDataset(iNormativeDataSet)#

Set a normative dataset

Parameters:

iNormativeDataSet (NormativeData) – Instance of NormativeData for comparison.