weldx.transformations.WXRotation

class weldx.transformations.WXRotation(quat, normalize=True, copy=True)

Wrapper for creating meta-tagged Rotation objects.

See scipy.spatial.transform.Rotation docs for details.

Methods

align_vectors

Estimate a rotation to optimally align two sets of vectors.

apply

Apply this rotation to a set of vectors.

as_dcm

as_dcm is deprecated! as_dcm is renamed to as_matrix in scipy 1.4.0 and will be removed in scipy 1.6.0

as_euler

Represent as Euler angles.

as_matrix

Represent as rotation matrix.

as_quat

Represent as quaternions.

as_rotvec

Represent as rotation vectors.

create_group

Create a 3D rotation group.

from_dcm

from_dcm is deprecated! from_dcm is renamed to from_matrix in scipy 1.4.0 and will be removed in scipy 1.6.0

from_euler

Initialize from euler angles.

from_matrix

Initialize from matrix.

from_quat

Initialize from quaternions.

from_rotvec

Initialize from rotation vector.

identity

Get identity rotation(s).

inv

Invert this rotation.

magnitude

Get the magnitude(s) of the rotation(s).

match_vectors

match_vectors is deprecated! match_vectors is deprecated in favor of align_vectors in scipy 1.4.0 and will be removed in scipy 1.6.0

mean

Get the mean of the rotations.

random

Generate uniformly distributed rotations.

reduce

Reduce this rotation with the provided rotation groups.