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.