orbix
A JAX library of functions for exoplanet simulations: differentiable Keplerian orbit propagation and Kepler-equation solvers, plus solar-system geometry (observatory position, keepout) for the Habitable Worlds Observatory direct imaging simulation suite. Scene composition (planet catalogs, EXOSIMS integration, zodiacal photometry) lives in other libraries; see below.
Install
pip install orbix
Quickstart
import jax.numpy as jnp
from orbix.orbit import KeplerianOrbit
from orbix.kepler.shortcuts.grid import get_grid_solver
orbit = KeplerianOrbit(
a_AU=1.0,
e=0.0167,
W_rad=0.0,
i_rad=0.0,
w_rad=0.0,
M0_rad=0.0,
t0_d=0.0,
)
trig_solver = get_grid_solver(level="scalar", E=False, trig=True)
time_jd = jnp.linspace(2451545.0, 2451545.0 + 365.25, 5)
r_AU, phase_angle_rad, dist_AU = orbit.propagate(trig_solver, time_jd, Ms_kg=1.989e30)
print(r_AU.shape) # (1, 3, 5): (K orbits, xyz, T times)
get_grid_solver builds a cached grid-interpolation Kepler solver with the
contract trig_solver(M, e) -> (sinE, cosE); KeplerianOrbit.propagate uses
it to convert orbital elements and times into position vectors, phase angle,
and star-planet distance.
Raw orbit rows are (east, north, away) in AU, a right-handed frame.
Velocities share this order in AU/day; dz/dt is the body's radial velocity
relative to the star, positive receding. state_vector_to_keplerian takes
position and velocity in that frame. position_arcsec returns (raoff, decoff) = (Delta alpha cos delta, Delta delta), east and north offsets in
arcsec. Omega is the ascending (receding) node's PA measured north through
east; i < 90 deg gives increasing PA, and omega is measured from that node
in the direction of motion. Phase angle is beta, with cos(beta) = z/r;
alpha denotes angular separation. See the documentation's sky-coordinate
convention for details.
For an alternative without interpolation tables, use
from orbix.kepler import markley_solve_trig and pass markley_solve_trig as the
orbit's trig_solver. This Markley-based solver supports scalar inputs,
broadcasting, and both forward and reverse derivatives. Enable
jax.config.update("jax_enable_x64", True) for double-precision accuracy.
The RPP/orvara solver remains available in orbix.kepler.core.
Scope
orbix provides Keplerian orbit geometry and Kepler-equation solvers; scene composition lives in skyscapes.
Citation
If you use orbix, please cite it as described in CITATION.cff.
Metadata
Release files for orbix 4.0.0
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 |
|---|---|---|---|---|
| orbix-4.0.0.tar.gz | 179.0 kB | With provenance | Details for orbix-4.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orbix-4.0.0-py3-none-any.whl | Python 3 | none | any | Details for orbix-4.0.0-py3-none-any.whl |
Total release size: 289.1 kB
Release files / orbix-4.0.0.tar.gz
| Download URL | orbix-4.0.0.tar.gz |
|---|---|
| Size | 179.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72a2c9004ae694ac98a14857b21403c3ab3df68b729190d21f7233c565722610
|
|
BLAKE2b-256 checksum How to use checksums |
507fbad4d86c095ae676d05397931ee182c1ce7105b5ad1841bedbcfdff7cd28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logRelease files / orbix-4.0.0-py3-none-any.whl
| Download URL | orbix-4.0.0-py3-none-any.whl |
|---|---|
| Size | 110.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83afd37cf6e092620f74f6d916483cf2a44d67c7aabd789894aa1db01923f796
|
|
BLAKE2b-256 checksum How to use checksums |
ee74a62f4716ac4eeb3a87b523f43d18356c3f2f8155578f2fde088c8c53d70a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logSecurity for orbix 4.0.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for orbix-4.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.
Transparency logA 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.