gaitmap.zupt_detection.RegionZuptDetectorMixin#
- class gaitmap.zupt_detection.RegionZuptDetectorMixin[source]#
A mixin for ZUPT detectors that internally detect ZUPTs per regions.
If a detector detects ZUPTs per region (i.e. start and end values), it can use this mixin to automatically provide the
per_sample_zupts_property.Note, that for this to work the
dataattribute must be set as part of the detect method, as we need the length of the data to create theper_sample_zupts_array.- Attributes:
per_sample_zupts_Get a bool array of length data with all Zupts as True.
- __init__(*args, **kwargs)#