ScalingXmlCgmProcedure#

class pyCGM2.Model.Opensim.interface.procedures.scaling.opensimScalingInterfaceProcedure.ScalingXmlCgmProcedure(DATA_PATH: str, modelVersion: str, mass: float, height: float)#

Procedure for scaling XML processing specific to the CGM model in OpenSim. Extends ScalingXmlProcedure to include CGM model-specific configurations.

Args: DATA_PATH (str): The path to the data directory. modelVersion (str): Version of the CGM model. mass (float): The mass of the subject. height (float): The height of the subject.

__init__(DATA_PATH: str, modelVersion: str, mass: float, height: float)#

Methods

__init__(DATA_PATH, modelVersion, mass, height)

finalize()

Finalizes the scaling process for the CGM model, including renaming and saving files.

getXml()

Retrieves the XML associated with the procedure.

prepareStaticTrial_fromBtkAcq(acq, ...)

Prepares a static trial from a BTK acquisition object.

prepareXml()

Prepares the XML for the scaling process specific to the CGM model.

run()

Runs the scaling process for the CGM model.

setModelVersion(modelVersion)

Sets the model version.

setResultsDirname(dirname)

Sets the directory name where the results will be stored.

setSetupFiles(genericOsimFile, ...)

Sets up the required files for scaling procedure in OpenSim.

finalize()#

Finalizes the scaling process for the CGM model, including renaming and saving files.

prepareXml()#

Prepares the XML for the scaling process specific to the CGM model.

run()#

Runs the scaling process for the CGM model.