pyquaternion
pyquaternion copied to clipboard
Allow passing np_random to Quaternion.random()
To enable deterministic sampling of orientations it is necessary to pass a seeded rng to the function. This is important for example in machine learning, when orientations need to be sampled at random but the experiments need to be reproducible.