slicersim.profiles#
2D PSF profiles (Airy disk, Gaussian) and pixel grids to sample them.
Coordinates and sizes are given in “shape units”, i.e. in units of the (non-oversampled) pixels of the image the profiles are evaluated on, with (0, 0) at the image center.
Functions
Convert an Airy disk radius into an equivalent Gaussian sigma. |
|
Build a pixel coordinate system with optional oversampling. |
|
Convert a Gaussian sigma into an equivalent Airy disk radius. |
|
Evaluate a normalized 1D Gaussian at given points. |
|
Compute an exact pixel-integrated 2D Gaussian PSF. |
|
Get a 2D profile model from |
|
Compute the oversampled 2D PSF image for a given profile. |
|
Calculate the encircled energy within given radii. |