orbix 4.2.0__tar.gz → 6.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. orbix-6.0.0/.github/sibling-pins.txt +12 -0
  2. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/ci.yml +19 -10
  3. orbix-6.0.0/.pre-commit-config.yaml +47 -0
  4. {orbix-4.2.0 → orbix-6.0.0}/CHANGELOG.md +89 -42
  5. orbix-6.0.0/PKG-INFO +237 -0
  6. orbix-6.0.0/README.md +168 -0
  7. {orbix-4.2.0 → orbix-6.0.0}/docs/conf.py +2 -0
  8. orbix-6.0.0/docs/examples/observatory.md +95 -0
  9. {orbix-4.2.0 → orbix-6.0.0}/docs/examples/orbits.md +142 -54
  10. {orbix-4.2.0 → orbix-6.0.0}/docs/examples/prepared.md +63 -39
  11. {orbix-4.2.0 → orbix-6.0.0}/docs/gallery.md +151 -80
  12. orbix-6.0.0/docs/index.md +149 -0
  13. orbix-6.0.0/docs/migration.md +62 -0
  14. {orbix-4.2.0 → orbix-6.0.0}/pyproject.toml +6 -1
  15. orbix-6.0.0/scripts/make_relative_time_reference.py +112 -0
  16. orbix-6.0.0/src/orbix/__init__.py +5 -0
  17. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/_version.py +2 -2
  18. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/equations/__init__.py +2 -14
  19. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/equations/lambert.py +92 -35
  20. orbix-6.0.0/src/orbix/equations/orbit.py +435 -0
  21. orbix-6.0.0/src/orbix/kepler/__init__.py +5 -0
  22. orbix-6.0.0/src/orbix/kepler/_grid.py +35 -0
  23. orbix-6.0.0/src/orbix/kepler/_markley.py +137 -0
  24. orbix-6.0.0/src/orbix/kepler/longitude.py +241 -0
  25. orbix-6.0.0/src/orbix/observatory/__init__.py +17 -0
  26. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/observatory/keepout.py +46 -39
  27. orbix-6.0.0/src/orbix/observatory/observatory.py +223 -0
  28. orbix-6.0.0/src/orbix/observatory/orbit.py +254 -0
  29. orbix-6.0.0/src/orbix/observatory/pointing.py +61 -0
  30. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/observatory/solar_system.py +162 -178
  31. orbix-6.0.0/src/orbix/system/__init__.py +87 -0
  32. orbix-6.0.0/src/orbix/system/charts.py +1240 -0
  33. orbix-6.0.0/src/orbix/system/core.py +586 -0
  34. orbix-6.0.0/src/orbix/system/frame_orbit.py +681 -0
  35. orbix-6.0.0/src/orbix/system/laws.py +414 -0
  36. orbix-6.0.0/src/orbix/system/linear.py +399 -0
  37. orbix-6.0.0/src/orbix/system/observables.py +96 -0
  38. orbix-6.0.0/src/orbix/system/orbit_blocks.py +1236 -0
  39. orbix-6.0.0/src/orbix/system/orientation.py +108 -0
  40. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/system/rotation.py +51 -2
  41. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/viz/_prepare.py +95 -63
  42. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/viz/anim.py +52 -30
  43. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/viz/orbit.py +48 -132
  44. {orbix-4.2.0 → orbix-6.0.0}/tests/conftest.py +5 -4
  45. orbix-6.0.0/tests/reference/relative_time_base_x64.json +1473 -0
  46. orbix-6.0.0/tests/test_block_unit_map.py +182 -0
  47. orbix-6.0.0/tests/test_blocks.py +1104 -0
  48. orbix-6.0.0/tests/test_charts.py +793 -0
  49. orbix-6.0.0/tests/test_equations_grads.py +447 -0
  50. orbix-6.0.0/tests/test_forward_precision.py +912 -0
  51. orbix-6.0.0/tests/test_frame_orbit.py +688 -0
  52. orbix-6.0.0/tests/test_grid_solvers.py +218 -0
  53. orbix-6.0.0/tests/test_kepler_core.py +158 -0
  54. {orbix-4.2.0 → orbix-6.0.0}/tests/test_kepler_grads.py +6 -4
  55. orbix-6.0.0/tests/test_kepler_longitude.py +187 -0
  56. orbix-6.0.0/tests/test_kepler_markley.py +292 -0
  57. {orbix-4.2.0 → orbix-6.0.0}/tests/test_lambert.py +99 -37
  58. orbix-6.0.0/tests/test_laws.py +417 -0
  59. orbix-6.0.0/tests/test_linear_conditional.py +213 -0
  60. orbix-6.0.0/tests/test_mapped_coordinates.py +712 -0
  61. orbix-6.0.0/tests/test_observatory.py +343 -0
  62. orbix-6.0.0/tests/test_observatory_wrapper.py +233 -0
  63. orbix-6.0.0/tests/test_orientation.py +39 -0
  64. orbix-6.0.0/tests/test_pointing.py +154 -0
  65. orbix-6.0.0/tests/test_relative_time.py +227 -0
  66. {orbix-4.2.0 → orbix-6.0.0}/tests/test_sky_convention.py +218 -162
  67. orbix-6.0.0/tests/test_sky_frame.py +57 -0
  68. orbix-6.0.0/tests/test_sky_position_block.py +481 -0
  69. orbix-6.0.0/tests/test_system_ephemeris.py +664 -0
  70. orbix-6.0.0/tests/test_thiele_innes_inverse.py +70 -0
  71. {orbix-4.2.0 → orbix-6.0.0}/tests/test_viz_anim.py +86 -65
  72. {orbix-4.2.0 → orbix-6.0.0}/tests/test_viz_orbit.py +75 -105
  73. {orbix-4.2.0 → orbix-6.0.0}/tests/test_viz_package.py +1 -1
  74. {orbix-4.2.0 → orbix-6.0.0}/tests/test_viz_prepared.py +129 -98
  75. {orbix-4.2.0 → orbix-6.0.0}/tests/test_vs_exosims.py +15 -20
  76. orbix-4.2.0/.github/sibling-pins.txt +0 -3
  77. orbix-4.2.0/.pre-commit-config.yaml +0 -32
  78. orbix-4.2.0/PKG-INFO +0 -144
  79. orbix-4.2.0/README.md +0 -77
  80. orbix-4.2.0/docs/index.md +0 -70
  81. orbix-4.2.0/src/orbix/__init__.py +0 -6
  82. orbix-4.2.0/src/orbix/equations/orbit.py +0 -455
  83. orbix-4.2.0/src/orbix/equations/phase.py +0 -28
  84. orbix-4.2.0/src/orbix/equations/propagation.py +0 -157
  85. orbix-4.2.0/src/orbix/kepler/__init__.py +0 -19
  86. orbix-4.2.0/src/orbix/kepler/core.py +0 -624
  87. orbix-4.2.0/src/orbix/kepler/longitude.py +0 -151
  88. orbix-4.2.0/src/orbix/kepler/markley.py +0 -136
  89. orbix-4.2.0/src/orbix/kepler/shortcuts/__init__.py +0 -5
  90. orbix-4.2.0/src/orbix/kepler/shortcuts/fixed_e.py +0 -162
  91. orbix-4.2.0/src/orbix/kepler/shortcuts/grid.py +0 -363
  92. orbix-4.2.0/src/orbix/kepler/shortcuts/guess.py +0 -32
  93. orbix-4.2.0/src/orbix/observatory/__init__.py +0 -7
  94. orbix-4.2.0/src/orbix/observatory/observatory.py +0 -43
  95. orbix-4.2.0/src/orbix/observatory/orbit.py +0 -269
  96. orbix-4.2.0/src/orbix/orbit.py +0 -528
  97. orbix-4.2.0/src/orbix/system/__init__.py +0 -39
  98. orbix-4.2.0/src/orbix/system/charts.py +0 -349
  99. orbix-4.2.0/src/orbix/system/core.py +0 -238
  100. orbix-4.2.0/src/orbix/system/frame_orbit.py +0 -348
  101. orbix-4.2.0/src/orbix/system/observables.py +0 -50
  102. orbix-4.2.0/tests/test_charts.py +0 -352
  103. orbix-4.2.0/tests/test_equations_grads.py +0 -81
  104. orbix-4.2.0/tests/test_fixed_e_solvers.py +0 -85
  105. orbix-4.2.0/tests/test_frame_orbit.py +0 -376
  106. orbix-4.2.0/tests/test_grid_solvers.py +0 -229
  107. orbix-4.2.0/tests/test_internal_refs_guard.py +0 -60
  108. orbix-4.2.0/tests/test_kepler_core.py +0 -159
  109. orbix-4.2.0/tests/test_kepler_longitude.py +0 -204
  110. orbix-4.2.0/tests/test_kepler_markley.py +0 -187
  111. orbix-4.2.0/tests/test_observatory.py +0 -413
  112. orbix-4.2.0/tests/test_observatory_wrapper.py +0 -56
  113. orbix-4.2.0/tests/test_orbit.py +0 -651
  114. orbix-4.2.0/tests/test_system_ephemeris.py +0 -341
  115. orbix-4.2.0/tools/check_internal_refs.py +0 -80
  116. {orbix-4.2.0 → orbix-6.0.0}/.codespellrc +0 -0
  117. {orbix-4.2.0 → orbix-6.0.0}/.editorconfig +0 -0
  118. {orbix-4.2.0 → orbix-6.0.0}/.gitattributes +0 -0
  119. {orbix-4.2.0 → orbix-6.0.0}/.github/dependabot.yml +0 -0
  120. {orbix-4.2.0 → orbix-6.0.0}/.github/scripts/ci_summary.py +0 -0
  121. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/dependabot-automerge.yml +0 -0
  122. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/docs.yml +0 -0
  123. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/hygiene.yml +0 -0
  124. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/publish-to-pypi.yml +0 -0
  125. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/release-please.yml +0 -0
  126. {orbix-4.2.0 → orbix-6.0.0}/.github/workflows/upstream.yml +0 -0
  127. {orbix-4.2.0 → orbix-6.0.0}/.github/zizmor.yml +0 -0
  128. {orbix-4.2.0 → orbix-6.0.0}/.gitignore +0 -0
  129. {orbix-4.2.0 → orbix-6.0.0}/.python-version +0 -0
  130. {orbix-4.2.0 → orbix-6.0.0}/.readthedocs.yaml +0 -0
  131. {orbix-4.2.0 → orbix-6.0.0}/.zenodo.json +0 -0
  132. {orbix-4.2.0 → orbix-6.0.0}/CITATION.cff +0 -0
  133. {orbix-4.2.0 → orbix-6.0.0}/LICENSE +0 -0
  134. {orbix-4.2.0 → orbix-6.0.0}/SECURITY.md +0 -0
  135. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/observatory/data/L2_halo_orbit_six_month.npz +0 -0
  136. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/py.typed +0 -0
  137. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/viz/__init__.py +0 -0
  138. {orbix-4.2.0 → orbix-6.0.0}/src/orbix/viz/_require.py +0 -0
  139. {orbix-4.2.0 → orbix-6.0.0}/tests/test_dependency_floors.py +0 -0
@@ -0,0 +1,12 @@
1
+ # Unreleased sibling libraries, applied as uv overrides in the same resolve.
2
+ # Each pins the sibling's release head; delete a pin once PyPI carries that version.
3
+ coronachrome @ git+https://github.com/CoreySpohn/coronachrome@446d2ae87b2d279d397a836e1407ab5de0951115
4
+ coronagraphoto @ git+https://github.com/CoreySpohn/coronagraphoto@6d242a92e3cf0c328a346929ada872a5c150d551
5
+ jaxedith @ git+https://github.com/CoreySpohn/jaxEDITH@70580ab362115b2b9e941a72b34ab6773d11bd2b
6
+ optixstuff @ git+https://github.com/CoreySpohn/optixstuff@133bbc0d545ada48d69ff85aab111ed643284833
7
+ photomancy @ git+https://github.com/CoreySpohn/photomancy@932f23e720a2f22dd1b4946393273f301dffb154
8
+ physicaloptix @ git+https://github.com/CoreySpohn/physicaloptix@a62d7c8ab3e81db8009a13de30cdd79974bf8078
9
+ skyscapes @ git+https://github.com/CoreySpohn/skyscapes@9a597da287b5fc4f993399f58c27a3582cf8921a
10
+ tiptilt @ git+https://github.com/CoreySpohn/tiptilt@1f5190aa732c6638cb67364531ae959a02dbe324
11
+ yippy @ git+https://github.com/HabitableWorldsObservatory/yippy@ff31e0e7b961445a28d3c9789106e0ed65f54c0f
12
+ zodi @ git+https://github.com/CoreySpohn/zodi@ffff6503123450d74a18016b7ecae7db174ace46
@@ -37,7 +37,7 @@ env:
37
37
 
38
38
  jobs:
39
39
  quick:
40
- name: Quick tier (py${{ matrix.python-version }})
40
+ name: Quick tier (py${{ matrix.python-version }}, ${{ matrix.precision }})
41
41
  if: github.event_name != 'schedule' && (github.event_name != 'workflow_dispatch' || inputs.tier != 'slow')
42
42
  runs-on: ubuntu-latest
43
43
  timeout-minutes: 20
@@ -45,6 +45,7 @@ jobs:
45
45
  fail-fast: false
46
46
  matrix:
47
47
  python-version: ["3.12"]
48
+ precision: [float32, float64]
48
49
  steps:
49
50
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
50
51
  with:
@@ -57,13 +58,14 @@ jobs:
57
58
  cache-dependency-glob: "pyproject.toml"
58
59
 
59
60
  - name: Restore the JAX compile cache
60
- uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
61
+ id: jax-cache
62
+ uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
61
63
  with:
62
64
  path: .jax_cache
63
- key: jax-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ github.sha }}
65
+ key: jax-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.precision }}-${{ hashFiles('pyproject.toml') }}-${{ github.sha }}
64
66
  restore-keys: |
65
- jax-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-
66
- jax-${{ runner.os }}-py${{ matrix.python-version }}-
67
+ jax-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.precision }}-${{ hashFiles('pyproject.toml') }}-
68
+ jax-${{ runner.os }}-py${{ matrix.python-version }}-${{ matrix.precision }}-
67
69
 
68
70
  # Manim's Python extensions need Cairo and Pango headers at install time.
69
71
  - name: Install renderer build dependencies
@@ -93,11 +95,18 @@ jobs:
93
95
 
94
96
  - name: Quick tier
95
97
  run: |
96
- pytest tests/ -m "not slow" -ra --tb=short \
98
+ pytest tests/ -m "not slow" -n 2 --dist loadfile --precision=${{ matrix.precision }} -ra --tb=short \
97
99
  --timeout=300 --fail-slow=30s \
98
100
  --durations=15 --durations-min=1.0 \
99
101
  --junitxml=junit-quick.xml
100
102
 
103
+ - name: Save the JAX compile cache
104
+ if: always() && steps.jax-cache.outputs.cache-primary-key != '' && steps.jax-cache.outputs.cache-hit != 'true'
105
+ uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
106
+ with:
107
+ path: .jax_cache
108
+ key: ${{ steps.jax-cache.outputs.cache-primary-key }}
109
+
101
110
  - name: Job summary
102
111
  if: always()
103
112
  run: python .github/scripts/ci_summary.py junit-quick.xml --title "Quick tier" --budget-seconds 600
@@ -143,7 +152,7 @@ jobs:
143
152
  - name: Execute fenced code blocks
144
153
  run: |
145
154
  pytest README.md docs --markdown-docs --markdown-docs-syntax=superfences \
146
- -p no:cacheprovider --timeout=120 -ra --tb=short \
155
+ -p no:cacheprovider -p hwoutils.precision_guard --timeout=120 -ra --tb=short \
147
156
  --junitxml=junit-docs.xml
148
157
 
149
158
  # Executes {code-cell} blocks and notebooks, and fails on any Sphinx warning.
@@ -176,8 +185,8 @@ jobs:
176
185
  - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
177
186
  with:
178
187
  path: .jax_cache
179
- key: jax-slow-${{ hashFiles('pyproject.toml') }}-${{ github.sha }}
180
- restore-keys: jax-slow-${{ hashFiles('pyproject.toml') }}-
188
+ key: jax-slow-float64-${{ hashFiles('pyproject.toml') }}-${{ github.sha }}
189
+ restore-keys: jax-slow-float64-${{ hashFiles('pyproject.toml') }}-
181
190
 
182
191
  # Manim's Python extensions need Cairo and Pango headers at install time.
183
192
  - name: Install renderer build dependencies
@@ -197,7 +206,7 @@ jobs:
197
206
  HYPOTHESIS_PROFILE: nightly
198
207
  run: |
199
208
  status=0
200
- pytest tests/ -m slow -ra --tb=short --timeout=900 \
209
+ pytest tests/ -m slow --precision=float64 -ra --tb=short --timeout=900 \
201
210
  --durations=25 --junitxml=junit-slow.xml || status=$?
202
211
  if [ "$status" -ne 0 ] && [ "$status" -ne 5 ]; then
203
212
  exit "$status"
@@ -0,0 +1,47 @@
1
+ repos:
2
+ - repo: https://github.com/CoreySpohn/hwoutils
3
+ rev: v3.0.0
4
+ hooks:
5
+ - id: no-internal-refs
6
+ - id: precision-guard
7
+ args: [--enforce]
8
+ - repo: https://github.com/pre-commit/pre-commit-hooks
9
+ rev: "v6.0.0"
10
+ hooks:
11
+ - id: trailing-whitespace
12
+ - id: name-tests-test
13
+ args: [--pytest-test-first]
14
+ - id: end-of-file-fixer
15
+ - repo: https://github.com/astral-sh/ruff-pre-commit
16
+ rev: v0.17.3
17
+ hooks:
18
+ - id: ruff-check
19
+ args: [--fix]
20
+ - id: ruff-format
21
+ - repo: https://github.com/jsh9/pydoclint
22
+ rev: 0.12.0
23
+ hooks:
24
+ - id: pydoclint-flake8
25
+ args:
26
+ - --select=DOC
27
+ - --extend-ignore=DOC106,DOC107,DOC108
28
+ - --style=google
29
+ - --arg-type-hints-in-docstring=False
30
+ - --check-return-types=False
31
+ - --check-yield-types=False
32
+ - --skip-checking-short-docstrings=False
33
+ - --skip-checking-private-functions=True
34
+ - --skip-checking-raises=True
35
+ - --allow-init-docstring=True
36
+ - --check-class-attributes=True
37
+ files: ^src/
38
+ - repo: https://github.com/codespell-project/codespell
39
+ rev: v2.4.3
40
+ hooks:
41
+ - id: codespell
42
+ - repo: https://github.com/compilerla/conventional-pre-commit
43
+ rev: v4.4.0
44
+ hooks:
45
+ - id: conventional-pre-commit
46
+ stages: [commit-msg]
47
+ args: []
@@ -1,47 +1,94 @@
1
1
  # Changelog
2
2
 
3
- ## Unreleased -- descope
4
-
5
- ### BREAKING CHANGE
6
-
7
- * Raw `propagate` rows are now (east, north, away), right-handed, instead
8
- of (north, east, away). Positions are in AU and velocities use the same
9
- order in AU/day. The same row order applies to the exported helpers
10
- `AB_matrices`, `AB_matrices_reduced`, `single_r`, `single_r_v`,
11
- `system_r` and `system_r_v`. `position_arcsec` keeps its (ra, dec) return
12
- order, but the two numbers swap relative to 2.x: the first now holds the
13
- east offset and the second the north offset, where 2.x put the north offset
14
- first (see Bug fixes). `state_vector_to_keplerian` now expects both
15
- position and velocity in (east, north, away) order. Swap the first two
16
- components of stored raw states before passing them to the new API.
17
- Orbital elements and the z sign are unchanged: dz/dt is the body's
18
- radial velocity relative to the star, positive receding. Phase angle
19
- is denoted beta, with cos(beta) = z/r; alpha denotes angular separation.
20
- The 3D orbit view now agrees with the sky panel when viewed from -z.
21
-
22
- ### Bug fixes
23
-
24
- * `position_arcsec` now returns (Delta alpha*, Delta Dec) = (east, north),
25
- where Delta alpha* = Delta RA cos Dec. Earlier releases returned these
26
- swapped, reflecting the sky about the diagonal; earlier sky outputs and
27
- anything fitted against them followed that old convention. The phase-angle
28
- documentation now states that z points away from the observer and the
29
- returned angle is the standard star-planet-observer phase angle beta.
30
- The phase-angle numbers are unchanged; the raw row-order change is
31
- described above. Published elements (standard convention) now give the correct
32
- sky positions; elements fitted against earlier `position_arcsec` outputs
33
- convert by i' = 180 deg - i, Omega' = (90 deg - Omega) mod 360, with a, e,
34
- omega and the epoch terms unchanged. Rerun figures drawn from
35
- `position_arcsec`.
36
-
37
- ### Removed / moved (not a release-please entry; folded into the next release notes)
38
-
39
- * Orbit fitting (the `fitting` module and its `numpyro` extra) moved to photomancy.
40
- * `Planets`/`System`/`Star` and the EXOSIMS integration moved to exosims-plugins.
41
- * Zodiacal photometry moved to skyscapes.
42
- * `quasi_random` (the vendored Roberts quasi-random sequence) moved to photomancy.
43
- * The broken predict/pdet functions and the `discrete_e` factory were removed
44
- (they did not work correctly and had no working callers).
3
+ ## [6.0.0](https://github.com/CoreySpohn/orbix/compare/v5.0.0...v6.0.0) (2026-11-28)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **orbit:** decide radial and parabolic states within roundoff and enforce the precision guard
9
+ * **orbix:** close Kepler, orbit, sky geometry, clock and observatory forwards at their working precision
10
+ * **orbix:** derive orbit and star-mass walls from the current laws, with traced wall flags
11
+ * **orbix:** decide supports, walls, gauges and sheets the same way in both precision lanes; block inference requires float64
12
+ * **system:** Ephemeris takes a static batch_ndim (default 0, one system) and refuses a dist_pc whose shape is not exactly that batch shape, so a distance history is no longer accepted. state_vector_to_keplerian tests degeneracy relative to the scale of the state, so its circular, equatorial and parabolic branches no longer depend on the units; a face-on state now has an exact zero inclination (was 4.47e-4 rad), and a circular inclined body near its node keeps its anomaly (was clipped to 4.47e-4 rad). Adds barycentric_to_jacobi and System.from_cartesian.
13
+ * **system:** a block with a row beyond the orbit's planet count now raises ValueError instead of clamping or dropping the write; draws from an OrbitLaw whose parameters have shape (1,) are now independent per planet (they were one shared draw). Drop or correct such rows, and re-run fits that relied on the shared draw.
14
+ * **observatory:** position_ecliptic, planet_position_ecliptic, planet_position_equatorial, earth_position_ecliptic, earth_position_equatorial and is_observable take (epoch, time_d) in place of an MJD; epoch_mjd is host-only and returns float64 NumPy; ObservatoryL2Halo keeps its equinox and period as static fields, so its pytree has only the interpolators as leaves
15
+ * **system:** a block whose law bounds the size names that coordinate mapped_ln_a_AU or mapped_ln_n_rad_per_d instead of logit_ln_a_AU or logit_ln_n_rad_per_d; the sort position among the chart's names is unchanged.
16
+ * **system:** SkyFrame.time_d takes jd=, mjd= or an object with jd1 and jd2
17
+ * **observatory:** remove the temperature_K field, owned by optixstuff WarmEmission
18
+ * **observatory:** remove overhead_multi, overhead_fixed_s and stability_fact fields
19
+ * **system:** one home for kepler solvers, export rotate helpers, constant from hwoutils
20
+ * **system:** line_of_sight_branch is now line_of_sight_sheet; ThieleInnesChart(branch=) is now ThieleInnesChart(sheet=); sky_block_to_frame(branch=) is now sky_block_to_frame(sheet=); reflect_line_of_sight(orbits, row) is now reflect_line_of_sight(orbits, planet).
21
+
22
+ ### Features
23
+
24
+ * **observatory:** remove the temperature_K field, owned by optixstuff WarmEmission ([2310a1e](https://github.com/CoreySpohn/orbix/commit/2310a1e7cb8ad82e2e39c2d8584d01635b65a62e))
25
+ * **observatory:** take epoch and relative days instead of an absolute MJD ([52bae78](https://github.com/CoreySpohn/orbix/commit/52bae7812ed5997b4eeb164673fd9f8d6c37c2db))
26
+ * **system:** add SkyPositionBlock to free planet sky offsets at one time ([b127e37](https://github.com/CoreySpohn/orbix/commit/b127e37ccc18e6e0a441ceb6b4cec5b52ac63b76))
27
+ * **system:** build Jacobi chains from Cartesian states ([3182dea](https://github.com/CoreySpohn/orbix/commit/3182dea6546ab3d01c92c022cfca4109e7508501))
28
+ * **system:** one home for kepler solvers, export rotate helpers, constant from hwoutils ([0b189da](https://github.com/CoreySpohn/orbix/commit/0b189da009b4d4370d0f7d1b4bdade3c289ab1b0))
29
+ * **system:** orbit laws report their edges and orbit blocks list the walls their charts do not map ([c363e0e](https://github.com/CoreySpohn/orbix/commit/c363e0ebd1adf2767705e8827ae7d410f59c37c1))
30
+ * **system:** SkyFrame.time_d takes jd=, mjd= or an object with jd1 and jd2 ([53e819b](https://github.com/CoreySpohn/orbix/commit/53e819b6512ad1d5f86c6571d58d79c548923c45))
31
+ * **system:** System declares its orbits tied to the star and planet masses ([868c67c](https://github.com/CoreySpohn/orbix/commit/868c67c583d0df72ca213891af1f82b880c667ae))
32
+
33
+
34
+ ### Bug Fixes
35
+
36
+ * **equations:** nondimensionalize the state so float32 SI derivatives stay exact ([041677a](https://github.com/CoreySpohn/orbix/commit/041677a41b7162c1a00bfdccb6c34d0146639184))
37
+ * **equations:** normalize before products so float32 elements stay finite ([62d2869](https://github.com/CoreySpohn/orbix/commit/62d28690abfe8aeb486d75b7d114876c53da7535))
38
+ * **equations:** recover orbit angles with a guarded atan2 for float32 derivatives ([f6147cb](https://github.com/CoreySpohn/orbix/commit/f6147cbe90faf0b95bef32c46b7146021be58654))
39
+ * **kepler:** recover the phase of a subnormal mean anomaly under flush-to-zero ([801b5a8](https://github.com/CoreySpohn/orbix/commit/801b5a8802053d5e06edb73a760b84ec16955fb0))
40
+ * **observatory:** reduce time_d modulo the halo period before adding the phase ([41c2d07](https://github.com/CoreySpohn/orbix/commit/41c2d07d091fe650b88b064e1f6f8d45fae6caf5))
41
+ * **orbit:** decide radial and parabolic states within roundoff and enforce the precision guard ([1c96e3d](https://github.com/CoreySpohn/orbix/commit/1c96e3d3c6e6c41bd0d5cb2cc8ca675e85b34a3c))
42
+ * **orbix:** close Kepler, orbit, sky geometry, clock and observatory forwards at their working precision ([2cbce53](https://github.com/CoreySpohn/orbix/commit/2cbce5354f72a0853787d8dbf1ccad509de9d2ce))
43
+ * **orbix:** decide supports, walls, gauges and sheets the same way in both precision lanes; block inference requires float64 ([655e026](https://github.com/CoreySpohn/orbix/commit/655e02683eacf14f8c2ba9084945eb2aadf7e73d))
44
+ * **orbix:** derive orbit and star-mass walls from the current laws, with traced wall flags ([a0caea9](https://github.com/CoreySpohn/orbix/commit/a0caea97d465ddfd1dce2615c3812afecbc20ff1))
45
+ * **system:** a negative size edge is no wall, tied fields are read-only and the docstrings state the hull and mass-wall rules ([25883b0](https://github.com/CoreySpohn/orbix/commit/25883b026767869a6e54d6145e915661001e7408))
46
+ * **system:** a size edge at or below zero is clipped at zero before the log, so the mapped size has an open lower end instead of NaN ([e388ed7](https://github.com/CoreySpohn/orbix/commit/e388ed7d582254a4cd49f009dda1da211569ee82))
47
+ * **system:** a size law whose support starts at zero maps its upper edge by a softplus instead of reading NaN everywhere ([2a60016](https://github.com/CoreySpohn/orbix/commit/2a6001667418b500fbc9682134f7c58938bcefde))
48
+ * **system:** check the ephemeris vector rank before the batch rank ([e830c3e](https://github.com/CoreySpohn/orbix/commit/e830c3e7d1811fa29255e7d5e8d2400bf12c1b48))
49
+ * **system:** draw batched laws once per element and refuse vector-event laws ([c4cbb40](https://github.com/CoreySpohn/orbix/commit/c4cbb4034553827c8c36b5e5709ecafe2ed041be))
50
+ * **system:** draw each planet independently and refuse block rows past the planet count ([998f3e7](https://github.com/CoreySpohn/orbix/commit/998f3e713b152ee912cbe8d0a787618f11152777))
51
+ * **system:** draw laws through the sample shape rule and refuse laws that break it ([45edc48](https://github.com/CoreySpohn/orbix/commit/45edc487278f0cfcd25e0149120618aa13353802))
52
+ * **system:** draw parameter-free laws and mixtures per planet and check rows in every block call ([5fb6107](https://github.com/CoreySpohn/orbix/commit/5fb61072902a9eefa81cfc633cd88cb47b4daaf1))
53
+ * **system:** mark a zero sky separation NaN with a safe gradient and document the outer rows ([f88a329](https://github.com/CoreySpohn/orbix/commit/f88a329e4b234d8dad2515dae035da1311babd2e))
54
+ * **system:** name a mapped size coordinate mapped_ rather than logit_, since a size law from zero maps it by a softplus ([1325a84](https://github.com/CoreySpohn/orbix/commit/1325a847065907b9473e3b6f02a97321f422e873))
55
+ * **system:** take one Cartesian epoch per system and derive the ephemeris batch rank ([51049a7](https://github.com/CoreySpohn/orbix/commit/51049a728256b7d2382fcece29559655f02ea5e3))
56
+
57
+
58
+ ### Code Refactoring
59
+
60
+ * **observatory:** remove overhead_multi, overhead_fixed_s and stability_fact fields ([710f387](https://github.com/CoreySpohn/orbix/commit/710f387b3bd8d3b0aadbd5145f408acfc4133618))
61
+ * **system:** name the line-of-sight sign a sheet and the reflected planet an index ([80ab3de](https://github.com/CoreySpohn/orbix/commit/80ab3de867cbb9c353317997bac7d6dd7428651c))
62
+
63
+ ## [5.0.0](https://github.com/CoreySpohn/orbix/compare/v4.2.0...v5.0.0) (2026-11-19)
64
+
65
+
66
+ ### ⚠ BREAKING CHANGES
67
+
68
+ * expose sky_block_geometry as the public projected-orbit scale and gap
69
+ * **viz:** remove legacy viz keywords; time_d only
70
+ * delete the Lambert phase copies and add quaternion rotation from an axis and angle
71
+ * remove the angle-field orbit class and the positional eccentric-anomaly solvers
72
+
73
+ ### Features
74
+
75
+ * expose sky_block_geometry as the public projected-orbit scale and gap ([73cb76e](https://github.com/CoreySpohn/orbix/commit/73cb76eedc81bbee6449b0f25bd7494b5eb7047c))
76
+ * expose the disk map, periapsis chart shape and line-of-sight branch ([0565a6f](https://github.com/CoreySpohn/orbix/commit/0565a6fc6064c69a8ab03e270c7fe6439322be5c))
77
+ * invert Thiele-Innes constants to Campbell elements ([a731568](https://github.com/CoreySpohn/orbix/commit/a731568b74974a79a191637cef4916cc9b29ee76))
78
+ * **observatory:** observability at day offsets from an epoch and summarized over an interval ([bc01fcc](https://github.com/CoreySpohn/orbix/commit/bc01fcc0f8766ba4daf99b3a8d8d789d18a14ca5))
79
+ * remove the angle-field orbit class and the positional eccentric-anomaly solvers ([3cd51b8](https://github.com/CoreySpohn/orbix/commit/3cd51b88773dc08d6a71a3f27d741e25115bea17))
80
+ * **system:** the linear map and in-plane basis of an orbit, a Thiele-Innes chart and a conditional linear fit ([12651f3](https://github.com/CoreySpohn/orbix/commit/12651f3d102912d09cb1f48c1e0211b1a9686b54))
81
+
82
+
83
+ ### Bug Fixes
84
+
85
+ * require the hwoutils release that carries the epoch type ([9419545](https://github.com/CoreySpohn/orbix/commit/9419545363a951dcf2c1418763f06aabd9253f9d))
86
+
87
+
88
+ ### Code Refactoring
89
+
90
+ * delete the Lambert phase copies and add quaternion rotation from an axis and angle ([c9b1485](https://github.com/CoreySpohn/orbix/commit/c9b148555c8f940bd0605f617936ce14ab891ab4))
91
+ * **viz:** remove legacy viz keywords; time_d only ([63d90e9](https://github.com/CoreySpohn/orbix/commit/63d90e9560258b8cb1c045f6bdb9bb68b86d0a93))
45
92
 
46
93
  ## [4.2.0](https://github.com/CoreySpohn/orbix/compare/v4.1.0...v4.2.0) (2026-11-16)
47
94
 
orbix-6.0.0/PKG-INFO ADDED
@@ -0,0 +1,237 @@
1
+ Metadata-Version: 2.5
2
+ Name: orbix
3
+ Version: 6.0.0
4
+ Summary: A JAX library of functions useful for exoplanet simulations
5
+ Project-URL: Homepage, https://github.com/CoreySpohn/orbix
6
+ Project-URL: Issues, https://github.com/CoreySpohn/orbix/issues
7
+ License: MIT License
8
+
9
+ Copyright (c) 2024 Corey Spohn
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+ License-File: LICENSE
29
+ Requires-Python: >=3.12
30
+ Requires-Dist: equinox>=0.13.2
31
+ Requires-Dist: hwoutils[jax]>=3.0.0
32
+ Requires-Dist: interpax>=0.3.3
33
+ Requires-Dist: jax>=0.4.34
34
+ Requires-Dist: jaxtyping>=0.3.3
35
+ Requires-Dist: numpy>=2.2
36
+ Requires-Dist: priorities
37
+ Provides-Extra: docs
38
+ Requires-Dist: eyepiece>=0.15.0; extra == 'docs'
39
+ Requires-Dist: hwostyle>=1.7.0; extra == 'docs'
40
+ Requires-Dist: ipython>=8.24; extra == 'docs'
41
+ Requires-Dist: matplotlib>=3.11; extra == 'docs'
42
+ Requires-Dist: myst-nb>=1.1; extra == 'docs'
43
+ Requires-Dist: sphinx-autoapi>=3.1; extra == 'docs'
44
+ Requires-Dist: sphinx-autodoc-typehints>=2.1; extra == 'docs'
45
+ Requires-Dist: sphinx-book-theme>=1.1; extra == 'docs'
46
+ Requires-Dist: sphinx>=8.2; extra == 'docs'
47
+ Provides-Extra: test
48
+ Requires-Dist: astropy>=6.1; extra == 'test'
49
+ Requires-Dist: beartype>=0.18.5; extra == 'test'
50
+ Requires-Dist: blackjax>=1.6.2; extra == 'test'
51
+ Requires-Dist: exosims>=3.4.1; extra == 'test'
52
+ Requires-Dist: eyepiece>=0.15.0; extra == 'test'
53
+ Requires-Dist: hypothesis>=6.100.0; extra == 'test'
54
+ Requires-Dist: manim<0.22,>=0.21; extra == 'test'
55
+ Requires-Dist: matplotlib>=3.11; extra == 'test'
56
+ Requires-Dist: mpmath>=1.3; extra == 'test'
57
+ Requires-Dist: packaging>=23.2; extra == 'test'
58
+ Requires-Dist: pillow<13,>=11; extra == 'test'
59
+ Requires-Dist: pytest-fail-slow>=0.1.0; extra == 'test'
60
+ Requires-Dist: pytest-markdown-docs>=0.5.0; extra == 'test'
61
+ Requires-Dist: pytest-testmon>=2.0.7; extra == 'test'
62
+ Requires-Dist: pytest-timeout>=1.3.1; extra == 'test'
63
+ Requires-Dist: pytest-xdist>=2.5; extra == 'test'
64
+ Requires-Dist: pytest>=7.3.2; extra == 'test'
65
+ Provides-Extra: viz
66
+ Requires-Dist: eyepiece>=0.15.0; extra == 'viz'
67
+ Requires-Dist: matplotlib>=3.11; extra == 'viz'
68
+ Description-Content-Type: text/markdown
69
+
70
+ # orbix
71
+
72
+ <p align="center">
73
+ <a href="https://pypi.org/project/orbix/"><img src="https://img.shields.io/pypi/v/orbix.svg?style=flat-square&logo=pypi" alt="PyPI"/></a>
74
+ <a href="https://orbix.readthedocs.io"><img src="https://readthedocs.org/projects/orbix/badge/?version=latest&style=flat-square" alt="Documentation Status"/></a>
75
+ <a href="https://github.com/CoreySpohn/orbix/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/CoreySpohn/orbix/ci.yml?branch=main&style=flat-square&logo=github&label=tests" alt="Tests"/></a>
76
+ <a href="https://github.com/CoreySpohn/orbix/blob/main/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square" alt="License"/></a>
77
+ <a href="https://github.com/CoreySpohn/orbix/blob/main/pyproject.toml"><img src="https://img.shields.io/badge/python-3.12%2B-blue.svg?style=flat-square&logo=python" alt="Python 3.12+"/></a>
78
+ <a href="https://doi.org/10.5281/zenodo.20819376"><img src="https://img.shields.io/badge/DOI-10.5281%2Fzenodo.20819376-blue?style=flat-square" alt="DOI"/></a>
79
+ </p>
80
+
81
+ A JAX library of functions for exoplanet simulations: differentiable Keplerian
82
+ orbit propagation and Kepler-equation solvers, plus solar-system geometry
83
+ (observatory position, keepout) for the Habitable Worlds Observatory direct
84
+ imaging simulation suite. Scene composition (planet catalogs, EXOSIMS
85
+ integration, zodiacal photometry) lives in other libraries; see below.
86
+
87
+ ## Install
88
+
89
+ ```
90
+ pip install orbix
91
+ ```
92
+
93
+ ## Quickstart
94
+
95
+ ```python
96
+ import jax.numpy as jnp
97
+ from hwoutils.constants import G, Msun2kg
98
+ from orbix.system import FrameOrbit, offset_arcsec, phase_angle_rad, distance_AU
99
+
100
+ orbit = FrameOrbit.from_classical(
101
+ a_AU=1.0,
102
+ e=0.0167,
103
+ W_rad=0.0,
104
+ i_rad=0.0,
105
+ w_rad=0.0,
106
+ M0_rad=0.0,
107
+ epoch_d=0.0,
108
+ mu_AU3_per_d2=G * Msun2kg,
109
+ )
110
+ time_d = jnp.linspace(0.0, 365.25, 5)
111
+ r_AU, v_AU_per_d = orbit.at(time_d)
112
+ beta_rad = phase_angle_rad(r_AU)
113
+ radius_AU = distance_AU(r_AU)
114
+ raoff, decoff = offset_arcsec(r_AU, 10.0)
115
+ print(r_AU.shape) # (5, 3): (T times, xyz)
116
+ ```
117
+
118
+ `FrameOrbit` stores a non-singular orbit frame and propagates through
119
+ `at(time_d)`. Times are days on the same origin as `epoch_d`; positions and
120
+ velocities have shape `(*batch, T, 3)`. `System` constructs Jacobi orbits for
121
+ multiple bodies and returns a solve-once `Ephemeris` through `solve(time_d)`.
122
+ For a Julian-date schedule, set the reference date on `SkyFrame.epoch` and
123
+ pass `frame.time_d(jd=dates)` to propagation and animation. Supply host dates
124
+ so the subtraction keeps sub-day offsets before the device cast.
125
+ The package root exports only `__version__`; import engine names from
126
+ `orbix.system` and solver names from `orbix.kepler`.
127
+
128
+ Raw orbit rows are **(east, north, away)** in AU, a right-handed frame.
129
+ Velocities share this order in AU/day; dz/dt is the body's radial velocity
130
+ relative to the star, positive receding. `state_vector_to_keplerian` takes
131
+ position and velocity in that frame. `offset_arcsec` returns `(raoff,
132
+ decoff)` = (Delta alpha cos delta, Delta delta), east and north offsets in
133
+ arcsec. Omega is the ascending (receding) node's PA measured north through
134
+ east; i < 90 deg gives increasing PA, and omega is measured from that node
135
+ in the direction of motion. Phase angle is beta, with cos(beta) = z/r;
136
+ alpha denotes angular separation. See the documentation's sky-coordinate
137
+ convention for details.
138
+
139
+ The default solver is the table-free `Markley()` strategy. Pass
140
+ `solver=Halley()` or `solver=Grid()` to `at`, `solve`, or the non-singular
141
+ `kepler(mean_longitude, ex, ey, solver=...)` function from `orbix.kepler`.
142
+ It returns `(sin(F), cos(F))` for `lambda = F - ex*sin(F) + ey*cos(F)`,
143
+ where `(ex, ey) = e*(cos(p), sin(p))` and `p` is longitude of periapsis.
144
+ All strategies support broadcasting and implicit forward/reverse derivatives,
145
+ including circular orbits and higher orders. Enable
146
+ `jax.config.update("jax_enable_x64", True)` for double-precision accuracy.
147
+
148
+ ## Orbits as fit parameters
149
+
150
+ `orbix.system` also describes an orbit as the free parameter of a fit. Three pieces work
151
+ together:
152
+
153
+ - A chart maps an orbit to a vector of real coordinates and back, with the exact volume of
154
+ the map: `ClassicalChart`, `EccentricityVectorChart`, `FrameChart`, `CartesianChart` and
155
+ `ThieleInnesChart`.
156
+ - An orbit law is the prior density of an orbit, independent of the chart. `OrbitLaw`
157
+ takes a law on the semi-major axis or the period and one on the eccentricity, with
158
+ isotropic orientation and uniform phase.
159
+ - A block combines a chart, a law and the rows of a `System` it frees. `OrbitBlock` works
160
+ with every chart except the Thiele-Innes one, and `ThieleInnesBlock` frees one row
161
+ through the Thiele-Innes chart and writes the star mass its coordinates imply.
162
+ `SkyPositionBlock` frees instead the star-relative sky offsets of some planets at one
163
+ time and holds the shape of each orbit, for a fit of a single image. All three follow
164
+ the `hwoutils.blocks.AbstractBlock` contract, which is how photomancy fits use them.
165
+
166
+ ```python
167
+ import jax
168
+ from hwoutils.constants import G, Msun2kg
169
+ from orbix.system import (
170
+ Body,
171
+ EccentricityVectorChart,
172
+ FrameOrbit,
173
+ OrbitBlock,
174
+ OrbitLaw,
175
+ SkyFrame,
176
+ System,
177
+ )
178
+ from priorities import LogUniform, Uniform
179
+
180
+ jax.config.update("jax_enable_x64", True)
181
+
182
+ orbit = FrameOrbit.from_classical(
183
+ a_AU=[1.0],
184
+ e=0.2,
185
+ W_rad=0.5,
186
+ i_rad=1.0,
187
+ w_rad=0.3,
188
+ M0_rad=0.0,
189
+ mu_AU3_per_d2=G * Msun2kg,
190
+ )
191
+ system = System(Body(1.0), Body([0.0]), orbit, SkyFrame(10.0))
192
+
193
+ law = OrbitLaw(period_d=LogUniform(100.0, 10_000.0), eccentricity=Uniform(0.0, 0.9))
194
+ block = OrbitBlock(EccentricityVectorChart(), law, rows=(0,), system="")
195
+
196
+ x = block.sample(jax.random.key(0), system) # {name: (1,)} per coordinate
197
+ orbits = block.forward(x, system)["orbits"] # the freed row written into the orbits
198
+ log_p = block.log_prob(x, system) # normalized density of the coordinates
199
+ print(block.coordinate_names)
200
+ ```
201
+
202
+ Every coordinate takes any real value. A size coordinate that the law bounds is mapped onto
203
+ the real line, by a logit on a finite interval or a softplus when one end is open, and named
204
+ with the prefix `mapped_` (`mapped_ln_a_AU` above), and the density includes the log
205
+ derivative of that map. In the Thiele-Innes chart the sky
206
+ position of a planet is linear in the four constants `(A, B, F, G)`: `sky_design` gives the
207
+ design matrix at a fixed orbit shape and `linear_gaussian_conditional` the exact Gaussian
208
+ conditional of the constants under Gaussian astrometric errors.
209
+
210
+ Block coordinates and log densities require float64. A float64 block can fit a
211
+ float32 `System`. It widens the model values for inference and returns each model
212
+ update in the destination leaf's dtype. The linear astrometric fit requires a
213
+ float64 orbit, and the Gaussian conditional requires a float64 design matrix.
214
+
215
+ A radial-velocity or phase-dependent likelihood can tell apart two orbits that share one
216
+ sky track and differ only in the sign of the line-of-sight coordinate. `line_of_sight_sheet`
217
+ reads that sign (+1 or -1) of an orbit, and `reflect_line_of_sight(orbits, planet)` returns
218
+ the orbits with one planet mirrored through the sky plane, which has the same east and
219
+ north positions at every time and the opposite away coordinate.
220
+
221
+ ## Observatory geometry
222
+
223
+ `orbix.observatory` places the telescope on its L2 halo orbit and answers whether a target
224
+ is outside the keepout zones at a given time (`Observatory.is_observable_at`) or for what
225
+ fraction of an interval (`Observatory.observability`). `ecliptic_pointing` returns the
226
+ ecliptic latitude and helioecliptic longitude that the local zodiacal light models need.
227
+
228
+ ## Scope
229
+
230
+ orbix provides Keplerian orbit geometry, Kepler-equation solvers, and the charts, laws
231
+ and blocks that make an orbit a fit parameter. Scene composition lives in skyscapes, and
232
+ inference lives in photomancy.
233
+
234
+ ## Citation
235
+
236
+ If you use orbix, please cite it as described in
237
+ [CITATION.cff](CITATION.cff).