random_vonmises#

classmethod Rotation.random_vonmises(shape: Union[int, tuple] = (1,), alpha: float = 1.0, reference: Union[list, tuple, Rotation] = (1, 0, 0, 0)) Rotation[source]#

Return random rotations with a simplified Von Mises-Fisher distribution.

Parameters:
shape

The shape of the required object.

alpha

Parameter for the VM-F distribution. Lower values lead to “looser” distributions.

reference

The center of the distribution.

Returns:
r

Rotations.