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 hwoutils.constants import G, Msun2kg
from orbix.system import FrameOrbit, offset_arcsec, phase_angle_rad, distance_AU
orbit = FrameOrbit.from_classical(
a_AU=1.0,
e=0.0167,
W_rad=0.0,
i_rad=0.0,
w_rad=0.0,
M0_rad=0.0,
epoch_d=0.0,
mu_AU3_per_d2=G * Msun2kg,
)
time_d = jnp.linspace(0.0, 365.25, 5)
r_AU, v_AU_per_d = orbit.at(time_d)
beta_rad = phase_angle_rad(r_AU)
radius_AU = distance_AU(r_AU)
raoff, decoff = offset_arcsec(r_AU, 10.0)
print(r_AU.shape) # (5, 3): (T times, xyz)
FrameOrbit stores a non-singular orbit frame and propagates through
at(time_d). Times are days on the same origin as epoch_d; positions and
velocities have shape (*batch, T, 3). System constructs Jacobi orbits for
multiple bodies and returns a solve-once Ephemeris through solve(time_d).
The package root exports only __version__; import engine names from
orbix.system and solver names from orbix.kepler.
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. offset_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.
The default solver is the table-free Markley() strategy. Pass
solver=Halley() or solver=Grid() to at, solve, or the non-singular
kepler(mean_longitude, ex, ey, solver=...) function from orbix.kepler.
It returns (sin(F), cos(F)) for lambda = F - ex*sin(F) + ey*cos(F),
where (ex, ey) = e*(cos(p), sin(p)) and p is longitude of periapsis.
All strategies support broadcasting and implicit forward/reverse derivatives,
including circular orbits and higher orders. Enable
jax.config.update("jax_enable_x64", True) for double-precision accuracy.
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 5.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-5.0.0.tar.gz | 202.3 kB | With provenance | Details for orbix-5.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| orbix-5.0.0-py3-none-any.whl | Python 3 | none | any | Details for orbix-5.0.0-py3-none-any.whl |
Total release size: 320.0 kB
Release files / orbix-5.0.0.tar.gz
| Download URL | orbix-5.0.0.tar.gz |
|---|---|
| Size | 202.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4c11c4c37d1dab9556ff1c08ea9ec1f173a5ad6ff53e6836b708b5d31304673
|
|
BLAKE2b-256 checksum How to use checksums |
d9df0f7a3b0626b6b429b9a6ccff3e97fe064d325f61c7e837efc9f7bc7e7903
|
| 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 19, 2026.
Transparency logRelease files / orbix-5.0.0-py3-none-any.whl
| Download URL | orbix-5.0.0-py3-none-any.whl |
|---|---|
| Size | 117.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e64c8d90bb9b9b9231496e27d2f74a83c999feb468200cda84c7e283eb09c7a
|
|
BLAKE2b-256 checksum How to use checksums |
6ac94d17aa9952a018ff595550b8c8b3ee125ebdf5ab4c817f65682f14d35e36
|
| 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 19, 2026.
Transparency logSecurity for orbix 5.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-5.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 19, 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.