A differentiable binary microlensing model using adaptive contour integration method
arXiv:2501.07268 · doi:10.3847/1538-3881/adb1b2
Abstract
We present microlux, which is a Jax-based code that can compute the binary microlensing light curve and its derivatives both efficiently and accurately. The key feature of microlux is the implementation of a modified version of the adaptive sampling algorithm that was originally proposed by V. Bozza to account for the finite-source effect most efficiently. The efficiency and accuracy of microlux have been verified across the relevant parameter space for binary microlensing. As a differentiable code, microlux makes it possible to apply gradient-based algorithms to the search and posterior estimation of the microlensing modeling. As an example, we use microlux to model a real microlensing event and infer the model posterior via both Fisher information matrix and Hamiltonian Monte Carlo, neither of which would have been possible without the access to accurate model gradients.
14 pages, 7 figures. Accepted by AJ. GitHub repo at https://github.com/CoastEgo/microlux
References in corpus (9)
- Array Programming with NumPy
- The NumPy array: a structure for efficient numerical computation
- Discovery of a Jupiter/Saturn Analog with Gravitational Microlensing
- Extended-Source Effect and Chromaticity in Two-Point-Mass Microlensing
- Hexadecapole Approximation in Planetary Microlensing
- A Terrestrial Planet in a ~1 AU Orbit Around One Member of a ~15 AU Binary
- Systematic errors as a source of mass discrepancy in black hole microlensing event OGLE-2011-BLG-0462
- Spitzer as Microlens Parallax Satellite: Mass and Distance Measurements of Binary Lens System OGLE-2014-BLG-1050L
- Adaptive Contouring -- an efficient way to calculate microlensing light curves of extended sources