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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: alitra-1.0.9.tar.gz
  • Upload date:
  • Size: 7.5 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.4

File hashes

Hashes for alitra-1.0.9.tar.gz
Algorithm Hash digest
SHA256 0dabffd5be520fc23704e13e07c348069dc0cfa26c3552b74c41750a634795b0
MD5 4b396a7d5672a073e94758b008fd73ab
BLAKE2b-256 62e4a53b7a6fb9db61d804edca22f005e3c2a5f564eb4348274062e5bcdefa1b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alitra-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.0 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.4

File hashes

Hashes for alitra-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9d84c502aeddb556be33c1d110b30e2367af843dad3e768f085b75e8046bcb12
MD5 876ba925ef949ebf8982cd1c01483b6f
BLAKE2b-256 9dfe3db2605caff0c7c7ecc975c85bcfe867013dc62f44a3f58dc8d31dbae6aa

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