jax.scipy.spatial.transform.Slerp#
- class jax.scipy.spatial.transform.Slerp(times: Array, timedelta: Array, rotations: Rotation, rotvecs: Array)[source]#
Spherical Linear Interpolation of Rotations.
LAX-backend implementation of
scipy.spatial.transform._rotation.Slerp()
.Original docstring below.
The interpolation between consecutive rotations is performed as a rotation around a fixed axis with a constant angular velocity [1]. This ensures that the interpolated rotations follow the shortest path between initial and final orientations.
- Parameters:
times (array_like, shape (N,)) – Times of the known rotations. At least 2 times must be specified.
rotations (Rotation instance) – Rotations to perform the interpolation between. Must contain N rotations.
References
- __init__()#
Methods
__init__
()count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
init
(times, rotations)- param times:
Attributes
rotations
Alias for field number 2
rotvecs
Alias for field number 3
timedelta
Alias for field number 1
times
Alias for field number 0