ThoraxProgressionFrameProcedure#

class pyCGM2.Processing.ProgressionFrame.progressionFrameProcedures.ThoraxProgressionFrameProcedure(marker: str = 'CLAV', frontMarkers: List[str] = ['CLAV'], backMarkers: List[str] = ['C7'])#

Detects progression frame using the trajectory of thoracic markers.

This procedure analyzes the movement of anterior and posterior thoracic markers to determine the progression axis and direction during gait analysis.

Parameters:
  • marker (str) – Primary marker label for detection. Defaults to “CLAV”.

  • frontMarkers (List[str]) – List of anterior pelvic marker labels. Defaults to [“CLAV”].

  • backMarkers (List[str]) – List of posterior pelvic markers labels. Defaults to [“C7”].

__init__(marker: str = 'CLAV', frontMarkers: List[str] = ['CLAV'], backMarkers: List[str] = ['C7'])#

Methods

__init__([marker, frontMarkers, backMarkers])

compute(acq)

Computes the progression frame based on the thorax markers' trajectory.

compute(acq: btkAcquisition)#

Computes the progression frame based on the thorax 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.