GeneralizedGaussian.update_state

giant.point_spread_functions.gaussians:

GeneralizedGaussian.update_state(update)[source]

Updates the current values based on the provided update vector.

The provided update vector is in the order of \([x_0, y_0, a, b, c, A]\).

If the update vector is set to None then sets everything to NaN to indicate a bad fit.

Parameters:

update (Sequence | ndarray | None) – The vector of additive updates to apply

Return type:

None