Generate uniform 3D euler angles (ZYZ)
Project description
torch-so3
Generate uniform 3D euler angles (ZYZ)
Installation
Install via pip
pip install torch-so3
Install via source by first cloning the repository then running.
git clone https://github.com/teamtomo/torch-so3.git
cd torch-so3
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
Usage
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_so3.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)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file torch_so3-0.0.2.tar.gz.
File metadata
- Download URL: torch_so3-0.0.2.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a51cb558771a1bb56f92b74295f0ca4e44baa6cfe2c3e6bcbc8169d60832f170
|
|
| MD5 |
5c86ec66f301129f4343cffddd7971b9
|
|
| BLAKE2b-256 |
2a7ba00dfd09edb123f0e67d02b6310edc407a48660041428971ef1bedfd7138
|
Provenance
The following attestation bundles were made for torch_so3-0.0.2.tar.gz:
Publisher:
ci.yml on teamtomo/torch-so3
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
torch_so3-0.0.2.tar.gz -
Subject digest:
a51cb558771a1bb56f92b74295f0ca4e44baa6cfe2c3e6bcbc8169d60832f170 - Sigstore transparency entry: 169674796
- Sigstore integration time:
-
Permalink:
teamtomo/torch-so3@095c2c084bea2b69a77bf8726571b8dfff8187d8 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/teamtomo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@095c2c084bea2b69a77bf8726571b8dfff8187d8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file torch_so3-0.0.2-py3-none-any.whl.
File metadata
- Download URL: torch_so3-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8efb0e12fba75081143d3d1c940f10f3ead77cfca6037108042770f29d7a3758
|
|
| MD5 |
44cc12197ec1e7d82e0609b4e0a8c0a7
|
|
| BLAKE2b-256 |
3ca71bf9f1087313b0b0662adf30e72077a0f44f8b17387d9e026c0dfb623293
|
Provenance
The following attestation bundles were made for torch_so3-0.0.2-py3-none-any.whl:
Publisher:
ci.yml on teamtomo/torch-so3
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
torch_so3-0.0.2-py3-none-any.whl -
Subject digest:
8efb0e12fba75081143d3d1c940f10f3ead77cfca6037108042770f29d7a3758 - Sigstore transparency entry: 169674798
- Sigstore integration time:
-
Permalink:
teamtomo/torch-so3@095c2c084bea2b69a77bf8726571b8dfff8187d8 -
Branch / Tag:
refs/tags/v0.0.2 - Owner: https://github.com/teamtomo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@095c2c084bea2b69a77bf8726571b8dfff8187d8 -
Trigger Event:
push
-
Statement type: