scopesim.optics.image_plane_utils.pix2val

Contents

scopesim.optics.image_plane_utils.pix2val#

scopesim.optics.image_plane_utils.pix2val(header, x, y, wcs_suffix='')#

Return the real coordinates [deg, mm] for coordinates from a Header WCS.

Parameters:
Returns:

a, b – [deg, mm] Real coordinates as given by the Header WCS

Return type:

float, array