lenscape: Fast, High-resolution chi squared Maps of Microlensing Events

arXiv:2610.38764 · astro-ph.IM, astro-ph.EP · Submitted 2026-10-28 · Read on arXiv

astro-ph.IM, astro-ph.EP

Submitted: 2026-10-28

Updated: 2026-10-28

Comments: Accepted for publication in AAS journals; 1 figure; code available at https://github.com/hippke/lenscape

License: http://creativecommons.org/licenses/by/4.0/

The gist: Planetary microlensing analyses rely on Δχ squared maps across the binary-lens separation s and mass ratio q to locate degenerate solutions and bound parameter uncertainties.

Terminology

Abstract

Planetary microlensing analyses rely on Δχ squared maps across the binary-lens separation s and mass ratio q to locate degenerate solutions and bound parameter uncertainties. Because every grid point requires a full light-curve optimization with finite-source magnifications, constructing these maps is often the primary computational bottleneck in event modeling. Here I present lenscape, an open-source Python package that accelerates Δχ squared mapping and suppresses local-minimum artifacts through multi-stage neighbor propagation and adaptive contour refinement. Applied to the planetary event MOA-2022-BLG-091, lenscape reproduces the published 50 times50 map in 14 minutes and generates a 400 times400 map in under two hours on a desktop computer.

Related papers