ClassificationFilter#
- class pyCGM2.Processing.Classification.classificationFilters.ClassificationFilter(analysisInstance: Analysis, procedure: ClassificationProcedure, pointSuffix: str | None = None)#
A filter for classifying biomechanical model outputs based on gait analysis.
This filter uses a specified procedure to classify the gait data from an analysis instance.
- Parameters:
analysisInstance (pyCGM2.Processing.analysis.Analysis) – An instance of the analysis containing biomechanical data.
procedure (pyCGM2.Processing.Classification.classificationProcedures.ClassificationProcedure) – The procedure to be used for classification.
pointSuffix (Optional[str]) – Suffix to be added to model outputs, default is None.
- __init__(analysisInstance: Analysis, procedure: ClassificationProcedure, pointSuffix: str | None = None)#
Methods
__init__
(analysisInstance, procedure[, ...])run
()Execute the classification procedure on the analysis data.
- run()#
Execute the classification procedure on the analysis data.
- Returns:
Dict – Classification results for both limbs.