get_2dnorm_nea#
- get_2dnorm_nea(sigma, xx='-7:7:15j', yy='-7:7:15j', mean=(0, 0), norm_by_step=True)[source]#
Get the Noise Equivalent Area (NEA) of a 2D Gaussian.
This is a shortcut for
get_2d_neawithfunc=get_gaussian2d(seeget_gaussian2d).- Parameters:
sigma (array_like) – Standard deviations of the Gaussian, in units of
xx, of shape(n, 1, 2)with the last axis being(sigma_y, sigma_x)(see Notes ofget_2d_nea).xx (
stror array_like, optional) – Coordinates where the PSF is evaluated. A string is interpreted as anumpy.r_slice expression. Default is"-7:7:15j".yy (
stror array_like, optional) – Coordinates where the PSF is evaluated. A string is interpreted as anumpy.r_slice expression. Default is"-7:7:15j".mean (
tupleoffloat, optional) –(x, y)center of the Gaussian. Default is (0, 0).norm_by_step (
bool, optional) – Currently ignored: the NEA is always normalized by the pixel area (as withnorm_by_step=Trueinget_2d_nea). Default is True.
- Returns:
numpy.ndarray– NEA (integrated overxxandyy), in units ofxxsquared, of shape(n,).