ReferenceData#

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

Bases: NamedTuple

Parsed reference parameters.

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

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