Generate uniform 3D euler angles (ZYZ)
Install via pip
pip install torch-angular-search
Install via source by first cloning the repository then running.
git clone https://github.com/jdickerson95/torch-angular-search.git
cd torch-angular-search
pip install -e .
And for development and testing use
pip install -e ".[dev,test]"
For those contributing make sure to run tests before, and to adhere to the pre-commit hooks.
python -m pytest
pre-commit run
A basic example of generating uniform Euler angles in 4.0 and 6.0 degree increments across the entire SO(3) group is shown below.
from torch_angular_search.hopf_angles import get_uniform_euler_angles
angles = get_uniform_euler_angles(
in_plane_step=4.0, # units of degrees
out_of_plane_step=6.0,
)
angles.shape # (103500, 3)