pyCGM2.Model.CGM2.decorators.applyKJC_AJCDecorators#

pyCGM2.Model.CGM2.decorators.applyKJC_AJCDecorators(dcm: dict, model: CGM, acqStatic: btkAcquisition, optional_mp: dict, markerDiameter: float, cgm1only: bool = False, forceMP: bool = False) None#

Apply decorators from detected calibration method with specific focus on KJC and AJC.

Parameters:
  • dcm (dict) – Dictionary returned from the function detectCalibrationMethods.

  • model (CGM) – A CGM model instance.

  • acqStatic (btk.btkAcquisition) – A BTK acquisition instance of a static file.

  • optional_mp (dict) – Optional anthropometric parameters of the CGM.

  • markerDiameter (float) – Diameter of the marker.

  • cgm1only (bool, optional) – Enable computation for the CGM1 only. Default is False.

  • forceMP (bool) – Force the use of mp offset to compute KJC and AJC. Default is False.