opensimInterfaceInverseKinematicsFilter#
- class pyCGM2.Model.Opensim.interface.opensimInterfaceFilters.opensimInterfaceInverseKinematicsFilter(procedure: InverseKinematicXmlProcedure)#
Filter interface for OpenSim inverse kinematics.
- Parameters:
procedure (InverseKinematicXmlProcedure) – The inverse kinematics procedure to be applied.
- __init__(procedure: InverseKinematicXmlProcedure)#
Methods
__init__
(procedure)getAcq
()Retrieves the btk acquisition .
Updates the acquisition object with fitted marker data from the inverse kinematics results.
pushMotToAcq
(osimConverter)Pushes motion data into the acquisition object.
run
()Executes the inverse kinematics procedure.
- getAcq()#
Retrieves the btk acquisition .
- Returns:
btk.btkAcquisition – The BTK acquisition instance where the procedure results are stored.
- pushFittedMarkersIntoAcquisition()#
Updates the acquisition object with fitted marker data from the inverse kinematics results.
- pushMotToAcq(osimConverter)#
Pushes motion data into the acquisition object.
- Parameters:
osimConverter – A converter for OpenSim data to the acquisition format.
- run()#
Executes the inverse kinematics procedure.