How to properly rotate 3D numpy array to uniformly sample sphere?
I have a 3D numpy array with density values. I would like to rotate this array around the origin to uniformly sample the sphere as closely as possible. I found some answers here that allow me to get close (/a/44164075/2836338, Apply rotation defined by Euler angles to 3D image, in python).
How to properly rotate 3D numpy array to sample uniform sphere?
I have a 3D numpy array with density values. I would like to rotate this array around the origin to uniformly sample the sphere as closely as possible. I found some answers here that allow me to get close (/a/44164075/2836338, Apply rotation defined by Euler angles to 3D image, in python).