SciPy

scipy.spatial.transform.Slerp.__call__

Slerp.__call__(self, times)[source]

Interpolate rotations.

Compute the interpolated rotations at the given times.

Parameters
timesarray_like

Times to compute the interpolations at. Can be a scalar or 1-dimensional.

Returns
interpolated_rotationRotation instance

Object containing the rotations computed at given times.