Maximilian Pietsch
Maximilian Pietsch
There are multiple methods, see for instance: https://mathworld.wolfram.com/SpherePointPicking.html Since `scipy` is in your dependencies, you might want to use its implementation of [uniformly distributed rotations](https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.transform.Rotation.random.html#scipy.spatial.transform.Rotation.random): ``` from scipy.spatial.transform import Rotation...
Yes, according to the documentation, the resulting rotation matrices are uniformly distributed and 10k random rotations of a single fixed vector look uniformly distributed to me. I don't have a...
In case you're not aware, @dchristiaens ' python module might be useful: https://github.com/dchristiaens/mrtrix3-pyio
Thank you for the code! What is it licensed under?