pyCGM2.IMU#

Imu#

Imu(freq, accel, angularVelocity, mag)

The IMU class represents an Inertial Measurement Unit (IMU) sensor.

Filters#

ImuReaderFilter(procedure)

Filter for reading IMU data using a specified reading procedure.

opensenseInterfaceImuPlacerFilter(procedure)

Filter to run the OpenSense IMU Placer.

opensenseInterfaceImuInverseKinematicFilter(...)

Filter to run the OpenSense IMU Inverse Kinematics.

Procedures#

reader#

ImuReaderProcedure()

Base class for procedures to read IMU data from various sources.

CsvProcedure(fullfilename, translators[, ...])

Procedure to read IMU data from a CSV file.

DataframeProcedure(dataframe, translators[, ...])

Procedure to read IMU data from a Pandas DataFrame.

C3dBlueTridentProcedure(fullfilename, ...)

Procedure to read Blue Trident IMU data from a C3D file.

motion#

ImuMotionProcedure()

Base class for procedures to construct motion from IMU data.

QuaternionMotionProcedure(quaternions)

Construct motion from quaternions.

GlobalAngleMotionProcedure(globalAngle)

Construct motion from global angles (equivalent to angle-axis representation).

RealignedMotionProcedure()

Realigned IMU motion relative to the first frame.

relative angles#

RelativeAnglesProcedure([representation, ...])

Procedure to compute angles between two IMUs.

RelativeAnglesProcedure([representation, ...])

Procedure to compute angles between two IMUs.

opensense procedures#

placer#

ImuPlacerXMLProcedure(DATA_PATH, genericOsimFile)

OpenSense IMU placer procedure for setting up and running IMU calibration with OpenSim.

fitter#

ImuInverseKinematicXMLProcedure(DATA_PATH, ...)

Procedure to run OpenSense Inverse Kinematics using IMU data.