get_rotation_matrices#

get_rotation_matrices(angular_sampling, dim=3, use_optimized_set=True)[source]#

Returns rotation matrices with desired angular_sampling rate.

Parameters:
angular_samplingfloat

The desired angular sampling in degrees.

dimint, optional

Dimension of the rotation matrices.

use_optimized_setbool, optional

Use optimized rotational sets, True by default and available for dim=3.

Returns:
NDArray

Array of shape (n, d, d) containing n rotation matrices.

Notes

For dim = 3 optimized sets are used, otherwise QR-decomposition.