calc_min_max_with_margin#

mobgap.plotting.calc_min_max_with_margin(
*data: Unpack[Series],
margin: float = 0.05,
) tuple[float, float][source]#

Calculate the min and max values of one or multiple datasets.

This will calculate the combined min and max values of two datasets. The added margin is a percentage of the overall range of the data.

Examples using mobgap.plotting.calc_min_max_with_margin#

Walking speed estimation

Walking speed estimation

Cadence estimation

Cadence estimation

Stride length estimation

Stride length estimation

Performance of the laterality classification algorithms on the TVS dataset

Performance of the laterality classification algorithms on the TVS dataset

Performance of the stride length algorithms on the TVS dataset

Performance of the stride length algorithms on the TVS dataset