Docstrings are standardized to the one in modshift
Vetters all now return a dictionary called metrics as a result
Vetters now all have a plot option in the run method.
Plotting method now always calls plt.figure() for consistency in jupyter notebooks (note that centroid is the exception, it’s plotting uses disp() and clf which will need to be cleaned in the future)
Vetter specific changes:
moved np.dot around in WqedLSF for SWEET
Removed clf() and added plt.figure() call in sweet plotting
Notebook changes
Changed import in trapezoid_fit_simple to reflect change from astropy’s nullcontext to numpy’s nullcontext
Test fixes:
Removed explicit -1 from flux values in LPP test because it changes the type of the lc.flux to a masked array which doesn’t have a .value attribute. The -1 is taken care of in the lpp code so it’s unessaray to do it in the test.
Replaced astropy.utils.compat.context import nullcontext with from contextlib import nullcontext within trapezoid fit
changed index from np.bool8 to np.bool_ in utils.mark_transit_cadences
Overall changes:
Vetter specific changes:
Test fixes: