Skip to main content

Add your description here

Project description

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
  • 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.

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

ezpose-0.1.17.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

ezpose-0.1.17-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file ezpose-0.1.17.tar.gz.

File metadata

  • Download URL: ezpose-0.1.17.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for ezpose-0.1.17.tar.gz
Algorithm Hash digest
SHA256 c05a10a481ddb45c4a73ab18c5037e39d64a3b627b42ff20a324b85cd1903595
MD5 fa5e3eeccced1e201ba0d33ccf76094d
BLAKE2b-256 0dceb58ab9ff9f83f601f73bb8b5ea948016bfb2f67c2a480c632ef2230d163c

See more details on using hashes here.

File details

Details for the file ezpose-0.1.17-py3-none-any.whl.

File metadata

  • Download URL: ezpose-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for ezpose-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1d9f4566ba48a484b28e287320fd77674354239b05fcab3ac9d24e6da94b2597
MD5 84e3b089a315fb0fe100dce78a46e2a4
BLAKE2b-256 01fb9c7e4d43be2e2473f75b9cf465309ae58748818280cb1cec1443083b41f4

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