imucal.FerrarisSignalRegions#
- class imucal.FerrarisSignalRegions(acc_x_p: ndarray, acc_x_a: ndarray, acc_y_p: ndarray, acc_y_a: ndarray, acc_z_p: ndarray, acc_z_a: ndarray, gyr_x_p: ndarray, gyr_x_a: ndarray, gyr_y_p: ndarray, gyr_y_a: ndarray, gyr_z_p: ndarray, gyr_z_a: ndarray, acc_x_rot: ndarray, acc_y_rot: ndarray, acc_z_rot: ndarray, gyr_x_rot: ndarray, gyr_y_rot: ndarray, gyr_z_rot: ndarray)[source]#
NamedTuple containing all signal regions required for a Ferraris Calibration.
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
validate()Validate that all fields are populated with numpy arrays.
- __init__(*args, **kwargs)#
- count(value, /)#
Return number of occurrences of value.
- index(value, start=0, stop=sys.maxsize, /)#
Return first index of value.
Raises ValueError if the value is not present.
Examples using imucal.FerrarisSignalRegions#
Annotate a session and perform a Ferraris Calibration
Annotate a session and perform a Ferraris Calibration