Under active development — interfaces may change between versions.
astroemu is a generalised framework for emulating spectral signals in
cosmology and astrophysics, inspired by the
globalemu package. Neural network
emulators are implemented in JAX, with an optax-based training loop and
PyTorch-style dataloaders.
pip install astroemuThe core idea (shared with globalemu) is to input independent variables
alongside physical model parameters, predicting a single spectral value per
call. Full spectra are recovered via a vectorised call over all
Given a signal
| Input | Output |
|---|---|
For more details see the globalemu
paper. A paper demonstrating
applications of astroemu to a broad range of astrophysical signals is in
preparation.
git clone git@github.com:htjb/astroemu.git
pip install ".[docs]"
mkdocs serveor browse the hosted docs at astroemu.readthedocs.io.
Contributions are welcome! Please open an issue to discuss and read the contribution guidelines before submitting a pull request.