jacscanomaly.AnomalyPlotter

class jacscanomaly.AnomalyPlotter[source]

Plot utilities for scanomaly results.

Conventions

  • “pspl”: uses PSPL best-fit parameters to define center/width

  • “anomaly”: uses the best anomaly candidate (result.best) to define center/width

Notes

  • All plot methods return (fig, ax/axes). If show=False, nothing is displayed and you can adjust limits/styles outside.

__init__()
Return type:

None

Methods

__init__()

plot_anomaly_window(result, *[, show, ax, ...])

Plot residual around the best anomaly candidate, and overlay template models ONLY inside the chi2 evaluation window.

plot_lc(result, *[, show, ax, center, ...])

Plot light curve and PSPL best-fit model.

plot_residual(result, *[, show, ax, center, ...])

Plot PSPL residual (flux - model_flux).

plot_result(result, *[, center, width_mode, ...])

3-panel plot: