Skip to content

Implementation of automatic differentiation in VBozza's BinaryLensing

License

Notifications You must be signed in to change notification settings

CoastEgo/microlux

Repository files navigation

microlux: Microlensing using Jax

Test Status Documentation Status License: MIT

microlux is a Jax-based package that can calculate the binary lensing light curve and its derivatives both efficiently and accurately. We use the modified adaptive contour integratoin in VBBinaryLensing to maximize the performance. With the access to the gradient, we can use more advanced algorithms for microlensing modeling, such as Hamiltonian Monte Carlo (HMC) in numpyro.

Installation

The PyPI version is coming soon. Currently, You can install this package from the source code in the editable mode.

git clone https://github.com/CoastEgo/microlux.git
cd microlux
pip install -e .

Documentation

The documentation is available at here. See this for more details.

Citation

microlux is open-source software licensed under the MIT license. If you use this package for your research, please cite our paper:

  • A differentiable binary microlensing model using adaptive contour integration method: in arXiv

About

Implementation of automatic differentiation in VBozza's BinaryLensing

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published