SciPy

This is documentation for an old release of SciPy (version 1.5.3). Read this page in the documentation of the latest stable release (version 1.15.1).

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.