ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2506.002] MAGIC: Automatic analysis of realistic microlensing light curves

The MAGIC (Microlensing Analysis Guided by Intelligent Computation) PyTorch framework efficiently and accurately infers the microlensing parameters of binary events with realistic data quality. The code divides binary microlensing parameters into two groups, which are inferred separately with different neural networks. The neural controlled differential equation handles light curves with irregular sampling and large data gaps. MAGIC can achieve fractional uncertainties of a few percent on the binary mass ratio and separation, and can locate the degenerate solutions even when large data gaps are introduced. As irregular samplings are common in astronomical surveys, this code may be useful for other time series studies.

Code site:
https://github.com/haimengzhao/magic-microlensing
Described in:
https://ui.adsabs.harvard.edu/abs/2022AJ....164..192Z
Bibcode:
2025ascl.soft06002Z

Views: 31

ascl:2506.002
Add this shield to your page
Copy the above HTML to add this shield to your code's website.