NormalizedKineticsPlotViewer#
- class pyCGM2.Report.Viewers.plotViewers.NormalizedKineticsPlotViewer(iAnalysis: Analysis, pointLabelSuffix: str | None = None, bodyPart: BodyPartPlot = BodyPartPlot.LowerLimb)#
Viewer for displaying time-normalized kinetics.
Plots kinetic parameters like moments and powers normalized over time, using analysis data.
- Parameters:
iAnalysis (Analysis) – An instance of pyCGM2.Processing.analysis.Analysis containing the analysis results.
pointLabelSuffix (str, optional) – Suffix for point labels in the plot.
bodyPart (enums.BodyPartPlot, optional) – Body part to be plotted. Defaults to enums.BodyPartPlot.LowerLimb.
- __init__(iAnalysis: Analysis, pointLabelSuffix: str | None = None, bodyPart: BodyPartPlot = BodyPartPlot.LowerLimb)#
Initializes the NormalizedKineticsPlotViewer.
Methods
__init__
(iAnalysis[, pointLabelSuffix, bodyPart])Initializes the NormalizedKineticsPlotViewer.
Sets up the data for the time-normalized kinetic plot.
setAutomaticYlimits
(bool)Sets whether Y-axis limits should be auto-adjusted.
setConcretePlotFunction
(concreteplotFunction)Sets a concrete plotting function to be used in the viewer.
setNormativeData
()Abstract method to set a normative dataset.
setNormativeDataset
(iNormativeDataSet)Sets the normative dataset for kinetic comparison.
- plotPanel()#
Sets up the data for the time-normalized kinetic plot.
Populates the plot with specific analysis data for time-normalized kinetics.
- setConcretePlotFunction(concreteplotFunction: Callable)#
Sets a concrete plotting function to be used in the viewer.
- Parameters:
concreteplotFunction (Callable) – A plotting function from pyCGM2.Report.plot.
- setNormativeDataset(iNormativeDataSet: NormativeData)#
Sets the normative dataset for kinetic comparison.
- Parameters:
iNormativeDataSet (NormativeData) – An instance of NormativeData for reference in the plot.