Skip to content

fit LCs iteratively crashes when no velocity aberration model is fitted #11

Description

@jorgemarpa

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions