Skip to main content

A Python package for evaluating orbit commensurability using Delaunay tessellation.

Project description

tessellation

PyPI - Version PyPI - Python Version tests pdm-managed pre-commit Ruff Code style: black Imports: isort

A Python package for evaluating orbit commensurability using Delaunay tessellation. Use this in the commensurability package to analyze galaxy potentials.

Installation

Install this package via pip:

python -m pip install orbit-tessellation

Usage

Use tessellation.Tessellation on your point array to perform the commensurability evaluation.

import numpy as np
from tessellation import Tessellation

# generate 100 random 2D points
points = np.random.normal(size=(100, 2))
tess = Tessellation(points)

This returns a tessellation object that contains info in its attributes. The .measure attribute gives the measure of the orbit (normalized to be in [0, 1)).

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

orbit_tessellation-0.2.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

orbit_tessellation-0.2.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file orbit_tessellation-0.2.0.tar.gz.

File metadata

  • Download URL: orbit_tessellation-0.2.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.11.2 CPython/3.10.12

File hashes

Hashes for orbit_tessellation-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1a77fd2a9dffcda5f03239a0fa316fe7149defd29bc5951a56b9e55424aebf83
MD5 15e6cbba17bf68f50a6694d605eac48a
BLAKE2b-256 7e4ae80094e685a0ab45a3521a085b70120ff1eb1f57426e6be8040ac419b2b2

See more details on using hashes here.

File details

Details for the file orbit_tessellation-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for orbit_tessellation-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c59039ca0b76a1d22c8b39e2b41ab11ebe9ea12c1a1cf8d5837cb80ff3a84d26
MD5 fb4af80426e9c0c15e5a2cd892425a7f
BLAKE2b-256 7ffe1666c1d61f0ac249c4ad755b5674565c53475801ddfa24d1b458e6f1bc6e

See more details on using hashes here.

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