Walking Bout Assembly (WBA)#

Utilities for grouping detected stride candidates in compliant walking bouts.

Stride Selection#

StrideSelection([rules, incompatible_rules])

Selects strides based on a set of criteria.

Rules#

IntervalParameterCriteria(parameter[, ...])

Checks if a parameter of the interval meets a threshold.

IntervalDurationCriteria([min_duration_s, ...])

Checks the duration of the stride by subtracting the start and the end value.

BaseIntervalCriteria()

Base class for all criteria that are used to filter intervals (e.g. strides) based on their parameters.

Walking Bout Assembly#

WbAssembly([rules])

Assembles strides into walking bouts based on a set of criteria.

Rules#

LeftRightCriteria()

Test a left stride is always followed by a right stride.

MaxBreakCriteria(max_break_s[, ...])

Test if the break between the last two strides of a window list is larger than a threshold.

NStridesCriteria([min_strides, ...])

Min number of strides in the WB.

BaseWbCriteria()

BaseSummaryCriteria([lower_threshold, ...])

Plotting#

plot_wba_results(wba[, stride_selection, ax])

Plot the results of a Walking Bout Assembly (and optionally a stride selection).