NormalizedGaitMeanGrfIntegrationPlotViewer#
- class pyCGM2.Report.Viewers.groundReactionPlotViewers.NormalizedGaitMeanGrfIntegrationPlotViewer(iAnalysis: Analysis, pointLabelSuffix: str | None = None, bodymass: float = 0)#
Plot the time-normalized center of mass (COM) kinematics from the integration of mean ground reaction force.
- Parameters:
iAnalysis (pyCGM2.Processing.analysis.Analysis) – An instance of an analysis object.
pointLabelSuffix (Optional[str]) – Suffix added to the plot labels, defaults to None.
bodymass (float) – Body mass to normalize the ground reaction force, defaults to 0.
- __init__(iAnalysis: Analysis, pointLabelSuffix: str | None = None, bodymass: float = 0)#
Initialize the NormalizedGaitMeanGrfIntegrationPlotViewer.
Methods
__init__
(iAnalysis[, pointLabelSuffix, bodymass])Initialize the NormalizedGaitMeanGrfIntegrationPlotViewer.
Plot the panel for the COM kinematics visualization from the mean GRF integration.
setAutomaticYlimits
(bool)Sets whether Y-axis limits should be auto-adjusted.
setNormativeData
()Abstract method to set a normative dataset.
setNormativeDataset
(iNormativeDataSet)Set the normative dataset
- plotPanel()#
Plot the panel for the COM kinematics visualization from the mean GRF integration.
This method integrates the mean ground reaction forces over time to visualize the kinematics of the center of mass. Similar to NormalizedGaitGrfIntegrationPlotViewer, it plots the COM acceleration, velocity, and position, but based on the mean GRF trace. The visualization assists in understanding the overall dynamic behavior of the body during gait.
- Returns:
matplotlib.figure.Figure – The figure object representing the plotted mean COM kinematics.
- setNormativeDataset(iNormativeDataSet: NormativeData)#
Set the normative dataset
- Parameters:
iNormativeDataSet (pyCGM2.Report.normativeDatasets.NormativeData) – a normative dataset instance