When doing fit_lightcurve(fit_va=False, iter_negative=True) this will crash in the following line:
|
negative_sources = (self.ws_va < 0).sum(axis=0) > (0.02 * self.nt) |
because the variable self.ws_va does not exist.
Is the iterative fitting meant to work only when fitting the velocity aberrations?