RotEx
RotEx is a set of python helper functions to apply 3D rotation, like Euler Angles etc, based on scipy.spatial.transform.Rotation. You can learn, understand and test Rotation quickly, and use these functions in your codes easily.
It includes:
- rotex, the core of module, as an extension of scipy.spatial.transform.Rotation. It provides basic algrithm from mathematics perspective.
- attitude, rotate_vectors ..., providing some functions for all kinds of applications of rotation from application perspective.
- tests, pytest functions for the above, for dev only.
- tools, some tools, for dev only.
Please see the comments above all functions in source code to get details.
Please ref to ./tests/* code to get some examples to call these functions.
Make rotation easy, not dizzy!
Dependencies
- python >3.0
- scipy
- pytest
Installation
-
Install from the Python Package Index:
pip install RotEx
-
Install from the source:
cd RotEx pip install -e .
Get started
-
Use the RotEx module
from RotEx import utils from RotEx import rotex from RotEx import attitude from RotEx import rotate_vectors (rot, att) = attitude.from_heading_in_enu_frame(np.array([-1, 2, 3]), 15, True) ...
-
Try test RotEx (only for from source)
Run test.py in the root. It calls tests on all functions provided in RotEx folder.
Metadata
Release files for RotEx 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| RotEx-0.2.0.tar.gz | 11.6 kB | Without provenance | Details for RotEx-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| RotEx-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for RotEx-0.2.0-py3-none-any.whl |
Total release size: 20.6 kB
Release files / RotEx-0.2.0.tar.gz
| Download URL | RotEx-0.2.0.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d5e735e7ba6001cef656be19a7c55b86b3526f8823a79763b69138978620e34
|
|
BLAKE2b-256 checksum How to use checksums |
9d931b83cb7a6eda55ed00416dd9bf836dfd074974a91d52c1b5cbfbf17bd8c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Release files / RotEx-0.2.0-py3-none-any.whl
| Download URL | RotEx-0.2.0-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac059e98cc15c94e69a0b6960af43c0704ac2c88026bceeb3192f01e59ba2a46
|
|
BLAKE2b-256 checksum How to use checksums |
f04131f6a97f34f749e459a24316b86342d2b01ddfc699c9c921a6d643e31793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.17
|
Security for RotEx 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.