# 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](https://pypi.org/project/RotEx/):
```bash
pip install RotEx
```
- Install from the source:
```bash
cd RotEx
pip install -e .
```
## Get started
- Use the RotEx module
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/dinglezhang/RotEx",
"name": "RotEx",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "euler-angles,attitude,rotation,3d-rotation,rotation-extension,rotation-help",
"author": "dingle",
"author_email": "zhangdingh_2004@hotmail.com",
"download_url": "https://files.pythonhosted.org/packages/9d/93/1b83cb7a6eda55ed00416dd9bf836dfd074974a91d52c1b5cbfbf17bd8c1/RotEx-0.2.0.tar.gz",
"platform": null,
"description": "# RotEx\n\n**RotEx** is a set of python helper functions to apply 3D rotation, like Euler Angles etc, based on _scipy.spatial.transform.Rotation_.\nYou can learn, understand and test Rotation quickly, and use these functions in your codes easily.\n\nIt includes:\n\n- **rotex**, the core of module, as an extension of _scipy.spatial.transform.Rotation_. It provides basic algrithm from mathematics perspective.\n- **attitude, rotate_vectors** ..., providing some functions for all kinds of applications of rotation from application perspective.\n- **tests**, pytest functions for the above, for dev only.\n- **tools**, some tools, for dev only.\n\nPlease see the comments above all functions in source code to get details.\n\nPlease ref to ./tests/* code to get some examples to call these functions.\n\n**Make rotation easy, not dizzy!**\n\n## Dependencies\n\n- python >3.0\n- scipy\n- pytest\n\n## Installation\n\n- Install from the [Python Package Index](https://pypi.org/project/RotEx/):\n\n ```bash\n pip install RotEx\n ```\n\n- Install from the source:\n\n ```bash\n cd RotEx\n pip install -e .\n ```\n\n## Get started\n\n- Use the RotEx module\n\n ```python\n from RotEx import utils\n from RotEx import rotex\n from RotEx import attitude\n from RotEx import rotate_vectors\n\n (rot, att) = attitude.from_heading_in_enu_frame(np.array([-1, 2, 3]), 15, True)\n ...\n ```\n\n- Try test RotEx (only for from source)\n\n Run test.py in the root. It calls tests on all functions provided in RotEx folder.\n",
"bugtrack_url": null,
"license": "",
"summary": "RotEx is a set of python helper functions to apply 3D rotation, especially Euler Angles, based on scipy.spatial.transform.Rotation",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/dinglezhang/RotEx"
},
"split_keywords": [
"euler-angles",
"attitude",
"rotation",
"3d-rotation",
"rotation-extension",
"rotation-help"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "f04131f6a97f34f749e459a24316b86342d2b01ddfc699c9c921a6d643e31793",
"md5": "76ca779bbb4f994e5c4921d901dacb8c",
"sha256": "ac059e98cc15c94e69a0b6960af43c0704ac2c88026bceeb3192f01e59ba2a46"
},
"downloads": -1,
"filename": "RotEx-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "76ca779bbb4f994e5c4921d901dacb8c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9037,
"upload_time": "2023-07-24T10:47:34",
"upload_time_iso_8601": "2023-07-24T10:47:34.941799Z",
"url": "https://files.pythonhosted.org/packages/f0/41/31f6a97f34f749e459a24316b86342d2b01ddfc699c9c921a6d643e31793/RotEx-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9d931b83cb7a6eda55ed00416dd9bf836dfd074974a91d52c1b5cbfbf17bd8c1",
"md5": "f0e5cb3bcd177da1783bb1787b738569",
"sha256": "9d5e735e7ba6001cef656be19a7c55b86b3526f8823a79763b69138978620e34"
},
"downloads": -1,
"filename": "RotEx-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "f0e5cb3bcd177da1783bb1787b738569",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11585,
"upload_time": "2023-07-24T10:47:36",
"upload_time_iso_8601": "2023-07-24T10:47:36.229808Z",
"url": "https://files.pythonhosted.org/packages/9d/93/1b83cb7a6eda55ed00416dd9bf836dfd074974a91d52c1b5cbfbf17bd8c1/RotEx-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-24 10:47:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dinglezhang",
"github_project": "RotEx",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "rotex"
}