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.8.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

alitra-1.0.8-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file alitra-1.0.8.tar.gz.

File metadata

  • Download URL: alitra-1.0.8.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for alitra-1.0.8.tar.gz
Algorithm Hash digest
SHA256 1a907f80abed77db0f5c77465335ea45ec43512ce35992a586fd434f2fb4417f
MD5 427bef1bf5886014b56119f260c99897
BLAKE2b-256 8302a47686bde0f9d218873e9f9d96cd3604dc5c63825868133e47b63fb94d8a

See more details on using hashes here.

File details

Details for the file alitra-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: alitra-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for alitra-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d55bc880a8f013de1e4c2a48c51dd133019a2856d03b3be9d9574dd967564f
MD5 7e7adfeb59000cfdabfccc215099010b
BLAKE2b-256 5ff58b02cd86c6eeeb918c0389ae50240cdb2c76c5024f7b068f8fa4918b4e59

See more details on using hashes here.

Supported by

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