pyCGM2.Lib.CGM.musculoskeletal.cgm2_3.fitting#
- pyCGM2.Lib.CGM.musculoskeletal.cgm2_3.fitting(model: Model, DATA_PATH: str, reconstructFilenameLabelled: str, translators: Dict, weights: Dict, ik_flag: bool, markerDiameter: float, pointSuffix: str, mfpa: str, momentProjection: str, *argv, **kwargs)#
CGM23 Fitting.
- Parameters:
model (Model) – a calibrated model
DATA_PATH (str) – folder path.
reconstructFilenameLabelled (str) – filename of your gait trial.
translators (dict) – marker translators.
weights (dict) – marker weights
ik_flag (bool) – enable/disable inverse kinematics
markerDiameter (float) – marker diameter
pointSuffix (str) – suffix to add to ouputs
mfpa (str) – force plate assignment
momentProjection (str) – referential for projection of joint moment
- Low-level Keyword Args :
muscleLength (bool): enable muscle length ikAccuracy (float) : accuracy of the IK solver anomalyException (bool): raise exception if anomaly detected forceBtkAcq (btk.btkAcquisition): 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:
btk.btkAcquisition – btkAcquisition instance with model ouputs
bool – presence of deteced anomalies