detectProgressionFrame#
- pyCGM2.Lib.Processing.progression.detectProgressionFrame(acq: btkAcquisition, staticFlag: bool = False)#
High-level function to detect the progression axis
- Parameters:
acq (btk.btkAcquisition) – static or motion acquisition
- Keyword Arguments:
staticFlag (bool) – enable if you deal with a static file
- Returns:
progressionAxis (str) – the label of the progression frame ( eg “X”)
forwardProgression (bool) – flag to indicate if the subject progresses along the progression axis or in the opposite direction
globalFrame (str) – label of the global frame (eg “YXZ” : Y:forward, X:lateral, Z:Vertical)