ezpose
A Python package for working with 3D transformations and poses.
This package aims to extend scipy.spatial.transform.Rotation class to work with rigid transformations(i.e. SE(3) poses).
Installation
To install this package, you can use pip:
pip install ezpose
Usage
Here's an example of how to use this package:
from ezpose import SE3, SO3
# Create a random 3D transformation
transform = SE3.random()
# Apply the transformation to a vector
vector = np.array([1, 2, 3])
transformed_vector = transform.apply(vector)
# Multiply two transformations
transform2 = SE3.random()
result = transform.multiply(transform2)
API Reference
Here's a list of the classes and functions in this package:
-
SO3: A class representing a 3D rotation matrix in SO(3).- this is a subclass of
scipy.spatial.transform.Rotation
- this is a subclass of
-
SE3: A class representing a 3D transformation matrix in SE(3).random(): A method to generate a random SE3 object.apply(): A method to apply the transformation to a vector.multiply(): A method to multiply two SE3 objects. (= pose1 @ pose2)inv(): A method to return the inverse of the transformation.lookat(): A method that returns the view matrix from the given camera position to the target position.as_matrix(): A method to convert the transformation to a 4x4 matrix.as_xyz_qtn(): A method to convert the transformation to a numpy array of (position, quaternion).
License
This package is licensed under the MIT License.
Metadata
Release files for ezpose 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ezpose-0.1.18.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ezpose-0.1.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / ezpose-0.1.18.tar.gz
| Download URL | ezpose-0.1.18.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ac06583742ade43893d770bf3b79c9702224bf0b9914d2ca358c966b640f42f
|
|
BLAKE2b-256 checksum How to use checksums |
934151db6a68d54f1f6a743c36d3a8e9bb1e1977edf9c9d58f0a3f3fa45de8ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / ezpose-0.1.18-py3-none-any.whl
| Download URL | ezpose-0.1.18-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9b4764a9f1a46eb74afcebac6ad06bf4824a9d5aa7097d453acf461efb96086
|
|
BLAKE2b-256 checksum How to use checksums |
5d935967e5afe7de68cc5124f04452a445dcd818e20ca67a7312d840af1696d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|