pyCGM2.Lib.CGM.cgm1_1.fitting#

pyCGM2.Lib.CGM.cgm1_1.fitting(model: Model, DATA_PATH: str, reconstructFilenameLabelled: str, translators: Dict, markerDiameter: float, pointSuffix: str, mfpa: str, momentProjection: str, *argv, **kwargs)#

CGM1.1 Fitting.

Parameters:
  • model (Model) – the calibrated model

  • DATA_PATH (str) – folder path.

  • reconstructFilenameLabelled (str) – filename of your gait trial.

  • translators (dict) – marker translators.

  • markerDiameter (float) – marker diameter

  • pointSuffix (str) – suffix to add to ouputs

  • mfpa (str) – force plate assignment

  • momentProjection (str) – referential for projection of joint moment

Keyword Arguments:
  • anomalyException (bool) – raise exception if anomaly detected

  • forceBtkAcq (btk.Acquisition) – use a btkAcquisition instance instead of building the btkAcquisition from the static filename

  • frameInit (int) – frame index.

  • frameEnd (int) – frame index

  • fc_lowPass_marker (float) – low-pass fiter cutoff frequency applied on marker trajectories

  • order_lowPass_marker (int) – order of the low-pass filter applied on marker trajectories

  • fc_lowPass_forcePlate (float) – low-pass fiter cutoff frequency applied on force plate measurements

  • order_lowPass_forcePlate – order fiter cutoff frequency applied on force plate measurements

  • displayCoordinateSystem (bool) – return virtual markers for visualisation of the anatomical refentials

  • noKinematicsCalculation (bool) – disable computation of joint kinematics

Returns:
  • acqGait (btk.btkAcquisition) – static btkAcquisition instance with model ouputs

  • detectAnomaly (bool) – presence of anomaly