SciPy

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

scipy.spatial.transform.Rotation.identity

Rotation.identity()

Get identity rotation(s).

Composition with the identity rotation has no effect.

Parameters
numint or None, optional

Number of identity rotations to generate. If None (default), then a single rotation is generated.

Returns
identityRotation object

The identity rotation.