cwitools.modeling.gauss2d_sym¶
-
cwitools.modeling.
gauss2d_sym
(params, xx, yy)¶ Symmetric 2D Gaussian profile in the form f(parameters, x)
I(x) = I0 * exp(-[(x-x0)^2 + (y-y0)^2] / (2*sig^2) )
Parameters: - params (list) – 2D Gaussian parameters (I0, x0, y0, sig_x, sig_y, theta) I0 - amplitude x0, y0 - x and y means sig - standard deviation
- xx (numpy.ndarray) – 2D meshgrid of x position
- yy (numpy.ndarray) – 2D Meshgrid of y position
Returns: The 2D Gaussian model output
Return type: numpy.ndarray