gaitmap_datasets.utils.convert_segmented_stride_list#
- gaitmap_datasets.utils.convert_segmented_stride_list(stride_list: Union[DataFrame, Dict[str, DataFrame]], target_stride_type: Literal['min_vel', 'ic']) Union[DataFrame, Dict[str, DataFrame]] [source]#
Convert a segmented stride list with detected events into other types of stride lists.
During the conversion some strides might be removed.
- Parameters:
- stride_list
Stride list to be converted
- target_stride_type
The stride list type that should be converted to
- Returns:
- converted_stride_list
Stride list in the new format