romanimpreprocess.utils.coordutils
Coordinate system utilities.
Functions
- pixelarea
Computes pixel area from a WCS.
Functions
|
Generates an (N,N)-shaped array of the solid angles of the pixels. |
Module Contents
- pixelarea(inwcs, N=4088)[source]
Generates an (N,N)-shaped array of the solid angles of the pixels.
- Parameters:
inwcs (astropy.wcs.WCS or galsim.BaseWCS or gwcs.wcs.WCS) – The input WCS.
N (int, optional) – The size of the image.
- Returns:
The area in steradians, shape (N,N).
- Return type:
np.array of float