astronereus
Python frontend for Nereus — trans-dimensional Bayesian inference for exoplanet orbits.
You do not need Julia. Nereus itself is Julia, but this package fetches a prebuilt runtime on first use and runs it out-of-process in a warm daemon. Nothing is compiled at install time.
pip install astronereus
python -c "import astronereus; astronereus.install()"
The distribution and the import are both astronereus. The name nereus on
PyPI belongs to an unrelated geophysics package, and a distribution whose import
name differs from its install name is a thing every user has to be told, so they
are deliberately the same string here.
Use
import astronereus
summary = astronereus.run_job(cfg) # one-shot
with astronereus.session() as s: # or reuse one warm daemon
a = s.run_job(cfg_a)
pg = s.detect.rv_periodogram(t=t, rv=rv, rv_err=err)
Typed entry points per observable — fit_rv, fit_transit, fit_astrometry,
fit_rm, fit_tomography, fit_ttv, fit_binary, fit_joint — take channel
objects (RV, Transit, Astrometry, RM, Night, TTV, SB2) and return
a JobResult.
The first install() unpacks the runtime and warms it once (a few minutes);
every process after that starts in about twenty seconds. NEREUS_BUNDLE_URL
points the installer at a local file or file:// URL — that is the intended
path for a workshop room, where thirty people pulling half a gigabyte over
conference wifi is not a plan.
Runtime bundles
Prebuilt runtimes are attached to the
Nereus.jl releases, with
SHA256SUMS alongside:
| platform | size |
|---|---|
macos-arm64 |
465 MiB |
linux-x86_64 |
688 MiB |
install() picks the one for your platform and verifies it against the
published checksum. For a classroom, fetch it once and point everyone at the
local copy instead:
export NEREUS_BUNDLE_URL=/Volumes/NEREUS/nereus-runtime-1.11.9-macos-arm64.tar.zst
NEREUS_HOME relocates the runtime cache out of the default platform cache
directory.
Licence
MIT — see LICENSE.
Release files for astronereus 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| astronereus-0.2.1.tar.gz | 31.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| astronereus-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 65.5 kB
Release files / astronereus-0.2.1.tar.gz
| Download URL | astronereus-0.2.1.tar.gz |
|---|---|
| Size | 31.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b25157024c2b8c32f56e80abb0af9f8729ccb831061ef749af0911e792903b8
|
|
BLAKE2b-256 checksum How to use checksums |
99235222b0fbabf6b1a99c0236423399010d33421e01ca26a07f7588f698c5bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / astronereus-0.2.1-py3-none-any.whl
| Download URL | astronereus-0.2.1-py3-none-any.whl |
|---|---|
| Size | 33.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
777dfbfef8f1810aa2b2c7de97a38ff28c4ef33cf60539c5a2b35c3120581471
|
|
BLAKE2b-256 checksum How to use checksums |
f2e623f060e4250c5e989be5a1cd5c0cb870607af2d26ce8b472bb311b73f7db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|