IterativeNonlinearLSTSQPSF.update_state

giant.point_spread_functions.psf_meta:

abstract IterativeNonlinearLSTSQPSF.update_state(update)[source]

Updates the current values based on the provided update vector.

The provided update vector is in the order according to order of the columns returned from compute_jacobian().

If the input is None then this method should set the state parameters to NaN to indicate to the rest of GIANT that the estimation failed.

Parameters:

update (Sequence | ndarray | None) – The vector of additive updates to apply or None to indicate that the fit failed

Return type:

None