ProgressionFrameFilter#
- class pyCGM2.Processing.ProgressionFrame.progressionFrameFilters.ProgressionFrameFilter(acq: btkAcquisition, progressionProcedure: ProgressionFrameProcedure)#
A filter to determine the progression frame of a gait analysis trial.
This filter applies a specified procedure to an acquisition to identify the primary axis of progression and the direction of movement. It is crucial for understanding the spatial orientation of the subject during the trial.
- Parameters:
acq (btk.btkAcquisition) – An acquisition instance containing gait data.
progressionProcedure (ProgressionFrameProcedure) – An instance of a progression frame procedure.
- __init__(acq: btkAcquisition, progressionProcedure: ProgressionFrameProcedure)#
Methods
__init__
(acq, progressionProcedure)compute
()Executes the progression frame computation.
- compute()#
Executes the progression frame computation.
This method runs the specified progression frame procedure on the acquisition data and updates the outputs with the progression axis, forward progression flag, and global frame information.