Unit Conversions#

Some basic conversion utilities.

Temporal#

as_samples()

Convert seconds to samples.

Coordinate Systems#

to_body_frame(data)

Rename the columns of the passed dataframe to match the body frame axis names.

to_normal_frame(data)

Rename the columns of the passed dataframe to match the normal global frame axis or the sensor frame axis names.

to_sensor_frame(data)

Rename the columns of the passed dataframe to match the normal global frame axis or the sensor frame axis names.

transform_to_global_frame(data, orientations)

Transform the data to the global frame using the given rotations.