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 | Provenance | Actions |
|---|---|---|---|---|
| wongutils-0.1.12.tar.gz | 56.0 kB | Without provenance | Details for wongutils-0.1.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| wongutils-0.1.12-py3-none-any.whl | Python 3 | none | any | Details for wongutils-0.1.12-py3-none-any.whl |
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
|
Security for wongutils 0.1.12
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.