simple_wcs
- ginga.util.wcs.simple_wcs(px_x, px_y, ra_deg, dec_deg, px_scale_deg_px, rot_deg, cdbase=[1, 1])[source]
Calculate a set of WCS keywords for a 2D simple instrument FITS file with a ‘standard’ RA/DEC pixel projection.
- Parameters:
- px_x
(ZERO-based) reference pixel of field in X (usually center of field)
- px_y
(ZERO-based) reference pixel of field in Y (usually center of field)
- ra_deg
RA (in deg) for the reference point
- dec_deg
DEC (in deg) for the reference point
- px_scale_deg_px
Pixel scale (deg/pixel); can be a tuple for different x,y scales
- rot_deg
Rotation angle of the field (in deg)
- cdbase
CD base
- Returns:
- resdict
Ordered dictionary object containing WCS headers.