Skip to content
GerritRoPublic

About

Differentiable Simulation of NSB in IACTs

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

nyx

Python License Ruff

Differentiable Simulation of Night Sky Background in Imaging Atmospheric Cherenkov Telescopes

nyx models the night sky background for IACT telescopes, enabling parameter estimation through HMC or gradient-based optimization.

Features

  • Fully differentiable computation for gradient-based optimization and Bayesian inference using JAX
  • Zodiacal light, airglow, lunar brightness, and stellar catalogs are supported as emitters
  • Effective aperture instrument models with spectral response

Installation

pip install git+https://github.com/GerritRo/nyx/

For development:

git clone https://github.com/GerritRo/nyx.git
cd nyx
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

Documentation

Full documentation and examples are available at: https://gerritro.github.io/nyx/

Building Documentation Locally

pip install -e ".[docs]"
cd docs && make html

License

BSD-3-Clause License - see LICENSE for details.

Citation

If you use nyx in your research, please cite this repository.

Data Attribution

nyx bundles and downloads scientific datasets produced by third parties (Pickles 1998, Leinert et al. 1998, the ROLO lunar model, ESO SkyCalc, Gaia DR3, STScI CALSPEC, and the SVO Filter Profile Service). These datasets carry their own citation and acknowledgement requirements. If you publish results obtained with nyx, cite the datasets you used as described in licenses/DATA.rst.

About

Differentiable Simulation of NSB in IACTs

Topics

Resources

Contributing

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages