ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Searching for codes credited to 'Wang, Tianshu'

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

Found 1 code.

[ascl:2510.011] TripleLens: Calculating light curves for triple microlensing systems
TripleLens calculates microlensing light curves for three-body lens systems (3L1S) using a contour integration method with continuous image-track linking. Written in C++ with Python bindings, it extends the algorithms developed for VBBinaryLensing (ascl:1809.004) to handle triple-lens configurations. The software solves complex roots and manages image topology changes to produce accurate magnification curves. TripleLens is useful for modeling microlensing events involving a stellar binary and a planet, where two-lens models are insufficient. The code's modular design allows users to specify lens parameters, source trajectories, and output options for flexible analysis.