wongutils
Python utilities for simulation data, black hole calculations, and visualization.
Install
pip install wongutils
What's included
wongutils.geometry: coordinate transforms, Kerr metrics, and interpolation.wongutils.grmhd: AthenaK and iHARM snapshots, meshblocks, and fluid utilities.wongutils.grrt: image filtering, synchrotron emission, and ipole helpers.wongutils.photonring: analytic photon orbits and critical curves.wongutils.algorithms: Newton's method and finite-difference Jacobians.wongutils.visit: tools for editing VisIt session and plot settings.
The ipole helpers require a separately installed ipole executable.
Quickstart
import numpy as np
from wongutils.geometry.metrics import get_gcov_ks_from_ks
gcov = get_gcov_ks_from_ks(0.5, 10.0, np.pi / 2)
print(gcov.shape) # (4, 4)
Development
pip install -e . pytest
pytest tests/
MIT licensed; see LICENSE in the repository.
Metadata
Release files for wongutils 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wongutils-0.1.12.tar.gz | 56.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wongutils-0.1.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 122.5 kB
Release files / wongutils-0.1.12.tar.gz
| Download URL | wongutils-0.1.12.tar.gz |
|---|---|
| Size | 56.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49696402e81154ca5461c515647d319ddbd3bd1f0f5ddbca32c28fee8324d271
|
|
BLAKE2b-256 checksum How to use checksums |
86ed356b693abd5861f20a0783db8f012247971cef3f661d2b6898a59f710487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|
Release files / wongutils-0.1.12-py3-none-any.whl
| Download URL | wongutils-0.1.12-py3-none-any.whl |
|---|---|
| Size | 66.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c0efe2d3262aa25a6abd34aa26098d8ef78ac2bc47dc2301c833970ba268c6b
|
|
BLAKE2b-256 checksum How to use checksums |
4e5c24ee375c1e392a5d11eaae8f6dcb08a4ee14530d60040a1cd7911899421c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.5
|