A very basic quaternion library for transformation between quaternion, Rotation matrix, Euler angle and many more.
Project description
This is a very basic quaternion library for transformation between quaternion, Rotation matrix, Euler angle and many more. It have the following conversion abilitys,
Axis and angle to quaternion using the function 'axisAngle2quatern(axis, angle)'
Axis and angle to Rotation matrix using the function 'axisAngle2rotMat(axis, angle)'
Euler angle to Rotation matrix using the function 'euler2rotMat(phi, theta, psi)'
Quaternion to euler angle using the function 'quatern2euler(q)'
Quaternion to Rotation matrix using the function 'quatern2rotMat(q)'
Converts a quaternion to its conjugate using the function 'quaternConj(q)'
Calculates the quaternion product of quaternion a and b using the function 'quaternProd(a, b)'
Rotation matrix to Euler angle using the function 'rotMat2euler(R)'
Rotation matrix to quaternion using the function 'rotMat2quatern(R)'
Input & Output Datatypes
Angles: Radian(float)
Quaternion: array[qw,qx,qy,qz]
Axis: array[x,y,z]
Rotation Matrix: In (3x3) matrix/array form Like,
R11 R12 R13
R21 R22 R23
R31 R32 R33
Change Log
0.0.1 (23/11/2022)
- First Release
0.1.0 (23/11/2022)
- Second release: fixing some known bug with a stable release
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 quatlib-0.1.0.tar.gz.
File metadata
- Download URL: quatlib-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
653464e6dcaa98961ad5b3cfcb6d4c388dc7523570baf3887fde2419ad4f1fbf
|
|
| MD5 |
1313cde41f50d232d3d15d49301bfeec
|
|
| BLAKE2b-256 |
d65d26d0aed6dedf0463f6a386cd5ce65ba98230f376f6f091ba40781440f88f
|
File details
Details for the file quatlib-0.1.0-py3-none-any.whl.
File metadata
- Download URL: quatlib-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
778f015ca2b582ba3bfe0e411f16af0c52e3e6ecb5f8ddadac3633089a6fc171
|
|
| MD5 |
6481302af13e0d9b4a052e9f4e20ee35
|
|
| BLAKE2b-256 |
136b8002b40b781d37fd7baaab92aa41fe9d0977937d15a0dd52dfcf952ebc66
|