Metadata-Version: 2.4
Name: photomancy
Version: 0.0.1
Summary: Divination from light: Bayesian inference and value-of-information for HWO direct imaging
Project-URL: Homepage, https://github.com/CoreySpohn/photomancy
Project-URL: Issues, https://github.com/CoreySpohn/photomancy/issues
Author-email: Corey Spohn <corey.a.spohn@nasa.gov>
License: MIT License
        
        Copyright (c) 2026 Corey Spohn
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.11
Requires-Dist: blackjax>=1.2
Requires-Dist: equinox
Requires-Dist: hwoutils
Requires-Dist: jax>=0.8.1
Requires-Dist: jaxlib>=0.8.1
Requires-Dist: jaxtyping
Requires-Dist: numpy
Requires-Dist: numpyro>=0.15.0
Requires-Dist: orbix
Requires-Dist: skyscapes
Provides-Extra: dev
Requires-Dist: pre-commit; extra == 'dev'
Provides-Extra: docs
Requires-Dist: matplotlib; extra == 'docs'
Requires-Dist: myst-nb; extra == 'docs'
Requires-Dist: sphinx; extra == 'docs'
Requires-Dist: sphinx-autoapi; extra == 'docs'
Requires-Dist: sphinx-autodoc-typehints; extra == 'docs'
Requires-Dist: sphinx-book-theme; extra == 'docs'
Provides-Extra: imaging
Requires-Dist: coronalyze; extra == 'imaging'
Provides-Extra: npe
Requires-Dist: flowjax; extra == 'npe'
Provides-Extra: ns
Requires-Dist: jaxns; extra == 'ns'
Provides-Extra: test
Requires-Dist: arviz; extra == 'test'
Requires-Dist: hypothesis; extra == 'test'
Requires-Dist: nox; extra == 'test'
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Description-Content-Type: text/markdown

# photomancy

> Divination from light.

A JAX-native Bayesian inference and value-of-information engine for the Habitable
Worlds Observatory direct-imaging simulation suite. `orbix` builds the geometry,
`skyscapes` builds the scene, and **photomancy** divines the scene back from the
data: posteriors, evidence, and the next-best observation, over orbits, disks, and
(later) atmospheres and images.

The engine is forward-model agnostic. A fit is a `logdensity` over a partitioned
scene PyTree, assembled from three plug-ins -- a forward model, a likelihood, and a
prior -- and run through a uniform `Backend` (Laplace mixture, NUTS, adaptive
tempered SMC, MCLMC, Pathfinder) that returns one `Posterior` exposing `.sample`,
`.log_prob`, and `.evidence`.

Status: early development. Orbit fitting is implemented; disk, atmosphere, and
image-domain fitting are planned.
