ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Searching for codes credited to 'Zhu, Wei'

Tip: Author search checks name variants (e.g., Smith, John, Smith J). Last names are still best when results are broad.

Found 2 codes.

[ascl:2509.023] microlux: Binary lensing light curve calculator
microlux calculates the binary lensing light curve and its derivatives both efficiently and accurately. The code uses Jax (ascl:2111.002) and the modified adaptive contour integration in VBBinaryLensing (ascl:1809.004) to maximize performance. With the access to the gradient, more advanced algorithms can be used for microlensing modeling, such as Hamiltonian Monte Carlo (HMC) in numpyro.
[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.