pyCGM2.Model.CGM2.decorators.applyBasicDecorators#

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

Apply decorators from detected calibration method for a CGM model.

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.