transpose#

Object3d.transpose(*axes: Optional[int]) Object3d[source]#

Return a new object containing the same data transposed.

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

Parameters:
axes

The transposed axes order. Only navigation axes need to be defined. May be undefined if self only contains two navigation dimensions.

Returns:
obj

The object transposed.