scopesim.optics.image_plane_utils#
Functions
|
Re-project one |
|
Add files from an astropy.Table to the image of an fits.ImageHDU. |
|
Apply an affine transformation matrix to an image around its centre. |
|
Return the sky/detector positions [deg/mm] of the corners of a header WCS. |
|
Equivalent to |
|
Create astropy.wcs.WCS instance that fits all points inside. |
|
Create detector WCS from celestial WCS using pixel and plate scales. |
|
Generate a fits.Header with a WCS that covers everything in the FOV. |
|
Make a header large enough to contain all x,y on-sky coordinates. |
|
Overlay small_im on top of big_im at the position specified by coords. |
|
Return the real coordinates [deg, mm] for coordinates from a Header WCS. |
|
Apply an affine transformation to the image, as given in its header. |
|
Scale the .data array by the ratio of pixel_scale [deg] and CDELTn. |
|
Create celestial WCS from detector WCS using pixel and plate scales. |
|
Split a header into many smaller parts of the chunk_size. |
|
Make a list of pixel coordinates and weights to reflect sub-pixel shifts. |
|
Return the pixel coordinates for real coordinates [deg, mm] from a WCS. |