transpose#

Quaternion.transpose(*axes: int | None) Object3d[source]#

Return a new object with the same data transposed.

If ndim is 2, the order may be undefined. In this case the first two dimensions are transposed.

Parameters:
axes

The transposed axes order. Only navigation axes need to be defined. May be undefined if the object only has two navigation dimensions.

Returns:
obj

Transposed object.