jacscanomaly.FSPLFitter

class jacscanomaly.FSPLFitter(maxiter=1000, damping_parameter=1e-06, tol=0.001)[source]

FSPL fitter (Finite-Source Point-Lens).

Optimizer parameters: (t0, tE, u0, logrho) Reported parameters: (t0, tE, u0, rho)

Parameters:
__init__(maxiter=1000, damping_parameter=1e-06, tol=0.001)
Parameters:
Return type:

None

Methods

__init__([maxiter, damping_parameter, tol])

fit(time, flux, ferr, q0)

Fit FSPL to a light curve (uses logrho parameterization).

plot_lc(**kwargs)

Plot the light curve and best-fit model from the last fit.

plot_residual(**kwargs)

Plot residuals from the last fit.

Attributes

damping_parameter

maxiter

tol