gaitmap.utils.rotations.rotate_dataset_series#
- gaitmap.utils.rotations.rotate_dataset_series(dataset: DataFrame, rotations: Rotation) DataFrame[source]#
Rotate data of a single sensor using a series of rotations.
This will apply a different rotation to each sample of the dataset.
- Parameters:
- dataset
Data with axes names as
SF_COLSinconsts- rotations
Rotation object that contains as many rotations as there are datapoints
- Returns:
- rotated_data
copy of
datarotated byrotations
See also
gaitmap.utils.rotations.rotate_datasetApply a single rotation to the entire dataset