In the get_img_scale function in exotic.py: WCS(wcs_hdr).proj_plane_pixel_scales() returns the pixel scales in degrees per pixel, not arcseconds per pixel, we need to multiply by 3600 to get the correct arcsec/pixel value. Also, there were some minor typos, e.g. arsec instead of arcsec. This PR is fixing issue #1310.
In the
get_img_scale
function inexotic.py
:WCS(wcs_hdr).proj_plane_pixel_scales()
returns the pixel scales in degrees per pixel, not arcseconds per pixel, we need to multiply by 3600 to get the correct arcsec/pixel value. Also, there were some minor typos, e.g.arsec
instead ofarcsec
. This PR is fixing issue #1310.I have tested the fix and appears to be working.