Skip to main content

Simple alignment and transformation between coordinate frames

Project description

Alitra

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

git clone https://github.com/equinor/alitra
cd alitra
uv sync --extra dev

You can test whether installation was successful with pytest

uv run pytest

Dependencies

The dependencies used for this package are listed in pyproject.toml and pinned in uv.lock. This ensures our builds are predictable and deterministic. This project uses uv for dependency management:

uv lock

To update the dependencies to the latest versions, run:

uv lock --upgrade

Contributing

We welcome all kinds of contributions, including code, bug reports, issues, feature requests, and documentation. The preferred way of submitting a contribution is to either make an issue on GitHub or by forking the project on GitHub and making a pull request.

How to use

The tests in this repository can be used as examples of how to use the different models and functions. The test_example.py is a good place to start.

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

Uploaded Source

Built Distribution

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

alitra-2.0.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: alitra-2.0.0.tar.gz
  • Upload date:
  • Size: 37.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for alitra-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a1ab1e51d8ca023a81330e1e4fd226d9068e5193c3f740479961a53e4e714adb
MD5 ccaeb813364a450d8cef443c989a960c
BLAKE2b-256 5c5f4acd056de488e967d0134843925ac22ab43829a6a0ebbd84cfd37488eb59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: alitra-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for alitra-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a681cfa0152dd2af771cb70d9638c8d4168fbd43d8fa167a0c0605731870bcd9
MD5 c02956dc250c5c99d58cfb88ccc69fef
BLAKE2b-256 0347082de54b1c4c517da372875a2fe10d17eaca00ec67b73880e1e1b63dd478

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