IterativeGaussianWBackground.compute_jacobian

giant.point_spread_functions.gaussians:

IterativeGaussianWBackground.compute_jacobian(x, y, computed)[source]

This method computes the Jacobian of the PSF with respect to a change in the state.

It returns a mx8 matrix defined as

J=[fx0fy0fσxfσyfAfBfCfD]=[xx0σx2f(x,y)yy0σy2f(x,y)(xx0)2σx3f(x,y)(yy0)2σy3f(x,y)f(x,y)Axy1]
Parameters:
  • x (ndarray) – The x values to evaluate the Jacobian at as a length m array

  • y (ndarray) – The y values to evaluate the Jacobian at as a length m array

  • computed (ndarray) – The PSF evaluated at x and y as a length m array

Returns:

The Jacobian matrix as a mx8 numpy array

Return type:

ndarray