A Python package for evaluating orbit commensurability using Delaunay tessellation.
Project description
tessellation
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
Built Distribution
Close
Hashes for orbit_tessellation-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 502f69d8f461cc9831a25e88b420ca3019af3cdfd15b8c12ea063cabfe557a1d |
|
MD5 | 364d0ad8767fe49d0e7694d005cd6acf |
|
BLAKE2b-256 | ff7878f5b3d98041a299e6a5ad2a3f5ccbd50d12aeaeebe943eaf8ccd5045856 |