ReferenceData#

class mobgap.data.base.ReferenceData(
wb_list: DataFrame,
ic_list: DataFrame | None,
turn_parameters: DataFrame | None,
stride_parameters: DataFrame | None,
)[source]#

Bases: NamedTuple

Parsed reference parameters.

All start/end values are provided in samples since the start of the recording.

Note, that all detailed results are optional, as some datasets might not provide all of them.

Attributes:
wb_list

A dataframe with the start and end of each walking bout in samples.

ic_list

A dataframe with the initial contacts in samples and the corresponding left/right label.

turn_parameters

A dataframe with the start, end, angle and other parameters of each turn.

stride_parameters

A dataframe with the start, end, duration and other parameters of each stride.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Examples using mobgap.data.base.ReferenceData#

Loading example data

Loading example data

Working with reference data

Working with reference data