unilab.tasks.motion_tracking.common.motion_loader.quat_slerp

unilab.tasks.motion_tracking.common.motion_loader.quat_slerp(q1, q2, t)[source]

Spherical linear interpolation between two quaternions (wxyz format).

The computation runs in the input dtype; pass float64 arrays for a float64 interpolation path.

Parameters:
Return type:

ndarray