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

scipy.spatial.transform.Rotation.__len__#

Rotation.__len__()#

Number of rotations contained in this object.

Multiple rotations can be stored in a single instance.

Returns
lengthint

Number of rotations stored in object.

Raises
TypeError if the instance was created as a single rotation.