IterativeGaussianWBackground.update_state¶
giant.point_spread_functions.gaussians
:
- IterativeGaussianWBackground.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, \sigma_x, \sigma_y, A, B, C, D]\).
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