slicersim.nea

slicersim.nea#

Noise Equivalent Area (NEA) of PSF profiles.

The NEA of a PSF sampled on pixels \(p_i\) is

\[\mathrm{NEA} = \frac{\left(\sum_i p_i\right)^2}{\sum_i p_i^2} \times \Delta,\]

where \(\Delta\) is the pixel area (or size in 1D) when the result is normalized by the sampling step, such that it does not depend on the sampling of the PSF.

Functions

get_1d_nea

Get the Noise Equivalent Area (NEA) of a 1D function.

get_1dnorm_nea

Get the Noise Equivalent Area (NEA) of a 1D Gaussian.

get_2d_nea

Get the Noise Equivalent Area (NEA) of a 2D function.

get_2dnorm_nea

Get the Noise Equivalent Area (NEA) of a 2D Gaussian.

get_2dpsf_nea

Get the Noise Equivalent Area (NEA) of an astropy 2D PSF model.

pixels_to_nea

Compute the Noise Equivalent Area (NEA) from sampled pixels.