MobilisedTestData#

class mobgap.data.MobilisedTestData(
imu_data: dict[str, DataFrame] | None,
raw_reference_parameters: dict[Literal['wb', 'lwb'], Any] | None,
metadata: PartialMobilisedMetadata,
)[source]#

Bases: NamedTuple

Data representation of a single test/recording.

Parameters:
imu_data

The raw IMU data. This is a dictionary mapping the sensor position to the loaded data. In most cases, only “LowerBack” is available.

raw_reference_parameters

The reference parameters (if available). This will depend on the reference system used loaded. The parameter only represents the data of one system. All compliant reference systems, structure the output into wb (walking bout) and lwb (level-walking bout). The actual structure of the data depends on the reference system.

metadata

The metadata of the selected test. At the moment we only support cases where all imu-sensors have the same sampling rate

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Examples using mobgap.data.MobilisedTestData#

Loading example data

Loading example data