random_rotations# anri.phantom.random_rotations(n, rng)[source]# Draw rotations uniformly over SO(3). Parameters: n (int) – How many rng (Generator) – Random generator Returns: np.ndarray – [n, 3, 3] rotation matrices