opensimCalibrationFilter#
- class pyCGM2.Model.Opensim.opensimFilters.opensimCalibrationFilter(osimFile, model, procedure, dataDir)#
Filter calibrating (scaling) an OpenSim model from a calibrated pyCGM2 model.
- __init__(osimFile, model, procedure, dataDir)#
- Parameters:
osimFile (str) – full filename of the osim file
model (pyCGM2.Model) – joint label of a pyCGM2 model
procedure (pyCGM2.opensim.procedure) – calibration procedure
Methods
__init__(osimFile, model, procedure, dataDir)addMarkerSet(markerSetFile)Add a marker set file :param markerSetFile: full filename of the opensim marker set file :type markerSetFile: str
build([exportOsim])Build the calibrated opensim model
exportXml(filename[, path])Export the calibrated model as an osim file :param filename: filename of the calibrated osim file :type filename: str
- addMarkerSet(markerSetFile)#
Add a marker set file :param markerSetFile: full filename of the opensim marker set file :type markerSetFile: str
- build(exportOsim=False)#
Build the calibrated opensim model
- exportXml(filename, path=None)#
Export the calibrated model as an osim file :param filename: filename of the calibrated osim file :type filename: str