read_imu_kinventCsv#

pyCGM2.IMU.imuSpecificReaders.read_imu_kinventCsv(filepath: str) → DataFrame#

Read a Kinvent IMU csv file (no header) and rename its columns.

Columns are selected and renamed according to the IMU/kiventKForceIMU.translators settings file. Raw values are converted into physical units with (raw - offset) * scale (quaternion without unit, acceleration in g, angular velocity in deg/s, magnetic field in µT).

Parameters:

filepath (str) – Path of the csv file.

Returns:

pd.DataFrame – Data with only the selected columns, renamed and converted.