Skip to main content

Simple alignment and transformation between coordinate frames

Project description

Alitra

WIP Library for ALIgnment and TRAnsformation between fixed coordinate frames. The transform is described by a translation and a homogeneous rotation.

Developed for transforming between the fixed local coordinate-frame and the asset-fixed coordinate-frame.

Installation

Installation from pip

pip install alitra
import alitra
help(alitra)

Installation from source

pip install .

You can test whether installation was successfull with pytest

pip install pytest
pytest .

Local development

pip install -e /path/to/package

This will install package in editable mode. Convenient for local development

Components

Frame transform

Class for transforming coordinates between two coordinates frames. Use custom dataclasses for conveniency, and to ensure that no mistakes are made in the transform.

Align frames

Finds the rotations and translations between two coordinate systems by minimizing the matching error given a set of points described in both coordinate frames. Run python examples/example_manual_alignment.py for a demonstration of its use.

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

alitra-1.0.9.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

alitra-1.0.9-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

Supported by

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