opensimInterfaceInverseDynamicsFilter#

class pyCGM2.Model.Opensim.interface.opensimInterfaceFilters.opensimInterfaceInverseDynamicsFilter(procedure: InverseDynamicsXmlProcedure)#

Filter interface for OpenSim inverse dynamics.

Parameters:

procedure (InverseDynamicsXmlProcedure) – The inverse dynamics procedure to be applied.

__init__(procedure: InverseDynamicsXmlProcedure)#

Methods

__init__(procedure)

getAcq()

Retrieves the btk acquisition .

pushStoToAcq(bodymass, osimConverter)

Pushes STO file data to BTK acquisition.

run()

Runs the defined procedure.

getAcq()#

Retrieves the btk acquisition .

Returns:

btk.btkAcquisition – The BTK acquisition instance where the procedure results are stored.

pushStoToAcq(bodymass: float, osimConverter: Dict)#

Pushes STO file data to BTK acquisition.

Parameters:
  • bodymass (float) – The body mass used in the calculations.

  • osimConverter (dict) – A dictionary containing OpenSim conversion data.

run()#

Runs the defined procedure.