gaitmap.utils.datatype_helper: Helper to perform validation of the default datatypes#
A couple of helper functions that easy the use of the typical gaitmap data formats.
Functions#
|
Check if an object is a valid dataset following all conventions. |
|
Check if an object is a valid multi-sensor data object. |
|
Check if an object is valid multi-sensor or single-sensor data. |
|
Get the list of sensor names from a multi-sensor dataset. |
|
Check if an input is a single-sensor stride list. |
|
Check if an input is a multi-sensor stride list. |
|
Check if an object is a valid multi-sensor or single-sensor stride list. |
Check if an input is a single-sensor regions-of-interest list. |
|
Check if an input is a multi-sensor stride list. |
|
|
Check if an object is a valid multi-sensor or single-sensor regions of interest list. |
Identify which type of region of interest list is passed by checking the existing columns. |
|
|
Check if an input is a single-sensor orientation list. |
|
Check if an input is a multi-sensor orientation list. |
|
Check if an input is a single-sensor position list. |
|
Check if an input is a multi-sensor position list. |
|
Set the correct columns as index, or leave them if they are already in the index. |