pyCGM2.Lib.CGM.cgm1.calibrate#
- pyCGM2.Lib.CGM.cgm1.calibrate(DATA_PATH: str, calibrateFilenameLabelled: str, translators: Dict, required_mp: Dict, optional_mp: Dict, leftFlatFoot: bool, rightFlatFoot: bool, headFlat: bool, markerDiameter: float, pointSuffix: str, *argv, **kwargs)#
CGM1 calibration.
- Parameters:
DATA_PATH (str) – folder path.
calibrateFilenameLabelled (str) – filename of your static file.
translators (dict) – marker translators.
required_mp (dict) – required anthropometric parameter.
optional_mp (dict) – optional anthropometric parameter..
leftFlatFoot (bool) – flat foot option.
rightFlatFoot (bool) – flat foot option.
headFlat (bool) – flat head option.
markerDiameter (float) – marker diameter
pointSuffix (str) – suffix to add to ouputs
- Keyword Arguments:
anomalyException (bool) – raise exception if anomaly detected
forceBtkAcq (btk.btkAcquisition) – use a btkAcquisition instance instead of building the btkAcquisition from the static filename
displayCoordinateSystem (bool) – return virtual markers for visualisation of the anatomical refentials
noKinematicsCalculation (bool) – disable computation of joint kinematics
forceMP (bool) – force the use of mp offset to compute the knee and ankle joint centres
- Returns:
model (pyCGM2.Model) – the calibrated Model
acqStatic (btk.btkAcquisition) – static btkAcquisition instance with model ouputs
detectAnomaly (bool) – presence of anomaly