jacscanomaly.PSPLParallaxFitter

class jacscanomaly.PSPLParallaxFitter(RA, Dec, tref, maxiter=1000, damping_parameter=1e-06, tol=0.001)[source]

PSPL + annual parallax fitter.

Parameters: (t0, tE, u0, piEN, piEE)

Notes

The parallax projector is constructed once in __post_init__.

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

None

Methods

__init__(RA, Dec, tref[, maxiter, ...])

fit(time, flux, ferr, p0)

Fit PSPL+parallax 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_parameter

maxiter

tol

RA

Dec

tref