pyCGM2.Lib.CGM.musculoskeletal.cgm2_2.fitting#
- pyCGM2.Lib.CGM.musculoskeletal.cgm2_2.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)#
CGM22 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
- 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
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