This is a fits file from https://hiverse.alkaidos.cn Use astropy to read image, the WCS grid is cartesian Use DS9 to read image, the WCS grid is curved WCS Keywords Number of WCS axes: 3 CTYPE : 'RA--CAR' 'DEC-CAR' 'VOPT' CRVAL : 69.9875...
astropy.wcsuses Warnings for things like incorrect/old spelling of keywords or units (since they are case sensitive). I think this type of problem fully deserves aWarningas well. I don't see this as what's (who's) wrong/right but what would be most useful to users. And certainly ...
# 需要导入模块: from astropy.coordinates import SkyCoord [as 别名]# 或者: from astropy.coordinates.SkyCoord importfrom_pixel[as 别名]def__init__(self, wcs, npix, cdelt=None, axes=None, conv='gadf'):self._wcs = wcs self._coordsys = get_coordsys(wcs) self._projection = get_project...