Closed avivajpeyi closed 2 years ago
Woops, Option 1 wont work because the GaussianProcess(... mean=lightcurve)
, hence the lightcurve
is also accounted for in the GP
nvm! I figured it out -->
gp.predict(residual, t=t, return_var=False)
I was fitting the raw data previously instead of the residual of y-lc
!
The updated fit:
For helping debug some fits in #167
Trying to use the same code that is used to compute lightcurve models during postprocessing.
Maybe either
Option 1:
or Option 2:
Option 1 will allow me to get the GP mu values for each sample, while Option 2 will allow me to get the GP itself (another step will be required to compute the GP mu/var/sigma)