PelvisProgressionFrameProcedure#
- class pyCGM2.Processing.ProgressionFrame.progressionFrameProcedures.PelvisProgressionFrameProcedure(marker: str = 'LASI', frontMarkers: List[str] = ['LASI', 'RASI'], backMarkers: List[str] = ['LPSI', 'RPSI'])#
Detects progression frame using the trajectory of pelvic markers.
This procedure utilizes the movement of anterior and posterior pelvic markers to ascertain the progression axis and direction.
- Parameters:
marker (str) – Primary marker label for detection. Defaults to “LASI”.
frontMarkers (List[str]) – List of anterior pelvic marker labels. Defaults to [“LASI”, “RASI”].
backMarkers (List[str]) – List of posterior pelvic markers labels. Defaults to [“LPSI”, “RPSI”].
- __init__(marker: str = 'LASI', frontMarkers: List[str] = ['LASI', 'RASI'], backMarkers: List[str] = ['LPSI', 'RPSI'])#
Methods
__init__
([marker, frontMarkers, backMarkers])compute
(acq)Computes the progression frame based on the pelvic markers' trajectory.
- compute(acq: btkAcquisition)#
Computes the progression frame based on the pelvic markers’ trajectory.
- Parameters:
acq (btk.btkAcquisition) – The acquisition containing gait data.
- Returns:
Tuple[str, bool, str] – A tuple containing the progression axis, forward progression flag, and global frame.