Skip to main content

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

Release files for orbit-tessellation 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for orbit-tessellation 0.2.0
File Size Uploaded
orbit_tessellation-0.2.0.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for orbit-tessellation 0.2.0
File Interpreter ABI Platform
orbit_tessellation-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / orbit_tessellation-0.2.0.tar.gz

Download URL orbit_tessellation-0.2.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1a77fd2a9dffcda5f03239a0fa316fe7149defd29bc5951a56b9e55424aebf83
BLAKE2b-256 checksum
How to use checksums
7e4ae80094e685a0ab45a3521a085b70120ff1eb1f57426e6be8040ac419b2b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.11.2 CPython/3.10.12

Release files / orbit_tessellation-0.2.0-py3-none-any.whl

Download URL orbit_tessellation-0.2.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c59039ca0b76a1d22c8b39e2b41ab11ebe9ea12c1a1cf8d5837cb80ff3a84d26
BLAKE2b-256 checksum
How to use checksums
7ffe1666c1d61f0ac249c4ad755b5674565c53475801ddfa24d1b458e6f1bc6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via pdm/2.11.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page