IterativeGaussian.update_state¶
giant.point_spread_functions.gaussians
:
- IterativeGaussian.update_state(update)¶
Updates the current values based on the provided update vector.
The provided update vector is in the order of \([x_0, y_0, \sigma_x, \sigma_y, 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