Closed ivenzor closed 4 weeks ago
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:
img_scale_num = ((wcs[0].value + wcs[1].value) / 2) * 3600 # Convert to arcsec/pixel
I will create a PR to fix this.
Some users are reporting tiny image scale when using a tool for plate solve before EXOTIC (see attached image)
I have located the relevant section of the code, function
get_img_scale
The tiny values comes from that else clause, e.g.: