jacscanomaly.PSPLFitter
- class jacscanomaly.PSPLFitter(maxiter=1000, damping_parameter=1e-06, tol=0.001)[source]
PSPL fitter (Point-Source Point-Lens).
Nonlinear parameters: (t0, tE, u0)
- __init__(maxiter=1000, damping_parameter=1e-06, tol=0.001)
Methods
__init__([maxiter, damping_parameter, tol])fit(time, flux, ferr, p0)Fit PSPL to a light curve.
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_parametermaxitertol