osimCgmInterface#

class pyCGM2.Model.Opensim.interface.opensimInterface.osimCgmInterface(modelversion)#

Interface for interacting with OpenSim CGM models.

Inherits from osimInterface.

Parameters:

modelversion (str) – The version of the CGM model.

__init__(modelversion)#

Methods

__init__(modelversion)

getBodies()

Retrieves the list of bodies from the OpenSim model.

getCoordinates()

Retrieves the list of joint coordinates from the OpenSim model.

getMuscles()

Retrieves the list of muscles from the OpenSim model.

getMuscles_bySide([addToName])

Retrieves muscles categorized by their side (left or right).