Skip to main content

RotEx is a set of python helper functions to apply 3D rotation, especially Euler Angles, based on scipy.spatial.transform.Rotation

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

RotEx-0.1.1.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RotEx-0.1.1-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file RotEx-0.1.1.tar.gz.

File metadata

  • Download URL: RotEx-0.1.1.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for RotEx-0.1.1.tar.gz
Algorithm Hash digest
SHA256 19ebdb905529eff7f42293b931fa77dfaa010588c962676fd39299b5a2cc0951
MD5 0056933e484998a8ba5a4457a05baa1e
BLAKE2b-256 31a483d7b0e13ccc74e10b8d23c3d2dc4aad42c1fb4b047f010b342b96fa2d01

See more details on using hashes here.

File details

Details for the file RotEx-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: RotEx-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for RotEx-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8af73ce57bf7e65ff229b8595e872d574c125e59cb174e1fd147c7ebb622b710
MD5 8a2814bedc9ec4009fbde2c7d2f10992
BLAKE2b-256 9b4d14ad7027c1956b01e632c9e7551a0fb88aa14a6188c06488567d1623d85b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page