jacscanomaly.FSPLParallaxFitter
- class jacscanomaly.FSPLParallaxFitter(RA, Dec, tref, maxiter=1000, damping_parameter=1e-06, tol=0.001)[source]
FSPL + annual parallax fitter.
Optimizer parameters: (t0, tE, u0, logrho, piEN, piEE) Reported parameters: (t0, tE, u0, rho, piEN, piEE)
- __init__(RA, Dec, tref, maxiter=1000, damping_parameter=1e-06, tol=0.001)
Methods
__init__(RA, Dec, tref[, maxiter, ...])fit(time, flux, ferr, q0)Fit FSPL+parallax 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_parametermaxitertolRADectref