transpose#

ReciprocalLatticeVector.transpose(*axes)[source]#

A new instance with the navigation shape of these reciprocal lattice vectors transposed.

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

Parameters:

*axes (int, optional) – Transposed axes order. Only navigation axes need to be defined. May be undefined if the vectors only contain two navigation dimensions.

Return type:

ReciprocalLatticeVector