PFKEprocedure#
- class pyCGM2.Processing.Classification.classificationProcedures.PFKEprocedure(normativeData: NormativeData, midStanceDefinition: str = 'PFKE', dataType: str = 'cycle', side: str = 'Both')#
Implements the PlantarFlexor-KneeExtensor (PFKE) classification procedure.
This procedure classifies gait patterns based on the relationship between ankle and knee movements during gait, as defined by Sangeux et al. in 2015.
- Parameters:
normativeData (NormativeData) – Normative data instance used for classification.
midStanceDefinition (str) – Defines the mid-stance frame boundaries. Choices: “PFKE” (20,45), “Perry” (10,30), or “Baker” (10,50).
dataType (str) – Type of data used for classification. Choices: “cycle”, “mean”, “median”.
side (str) – Event context to classify (“Both”, “Left”, or “Right”).
- Reference:
Sangeux, Morgan; Rodda, Jill; Graham, H. Kerr (2015) Sagittal gait patterns in cerebral palsy: the plantarflexor-knee extension couple index. Gait & Posture, 41(2), 586–591. DOI: 10.1016/j.gaitpost.2014.12.019.
- __init__(normativeData: NormativeData, midStanceDefinition: str = 'PFKE', dataType: str = 'cycle', side: str = 'Both')#
Methods
__init__
(normativeData[, ...])plot
(analysis[, title])Generates a plot of the PFKE classification results.
run
(analysis, pointSuffix)Execute the PFKE classification procedure on the provided analysis data.
- plot(analysis: Analysis, title: str | None = None)#
Generates a plot of the PFKE classification results.
- Parameters:
analysis (Analysis) – Analysis instance containing gait data.
title (Optional[str]) – Title for the plot.
- Returns:
matplotlib.figure.Figure – The generated plot figure.
- run(analysis: Analysis, pointSuffix: str | None)#
Execute the PFKE classification procedure on the provided analysis data.
- Parameters:
analysis (Analysis) – Analysis instance containing gait data.
pointSuffix (Optional[str]) – Suffix added to model outputs.
- Returns:
Dict – Classification results for the specified limbs.