Skip to main content

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.

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)

Source distribution for RotEx 0.2.0
File Size Uploaded
RotEx-0.2.0.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for RotEx 0.2.0
File Interpreter ABI Platform
RotEx-0.2.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page