jacscanomaly
jacscanomaly is a Python package for scan-based anomaly detection in
time-series light curves, with microlensing anomaly searches as the primary
use case.
The package is built for the common situation where a smooth baseline model fits most of a light curve, but localized deviations may contain the signal of interest. In microlensing applications the baseline is usually a single-lens model and the deviations are candidate planetary anomalies.
What it does
jacscanomaly provides:
single-lens fitting utilities for PSPL, FSPL, and parallax variants,
a residual scan over anomaly center time and effective duration,
non-overlapping candidate extraction,
candidate support diagnostics such as
n_effandpeak_frac,plotting and summary helpers for scripts, CLIs, and notebooks,
low-memory C++ backends for large PSPL survey scans.
The high-level entry point is jacscanomaly.Finder. A typical workflow
is:
fit a single-lens baseline model to a light curve,
scan the residuals over local anomaly templates,
extract non-overlapping anomaly candidates,
inspect candidate quality diagnostics such as
scoreandn_eff.
Start here
If you are using the package for the first time:
read Installation to install the package and optional dependencies,
follow Quickstart to run a light curve,
use Method overview to understand
dchi2,score, andn_eff,use Configuration when tuning a survey run,
use Results when building candidate tables or downstream analysis.