Open
Description
@tboch - I see you gave an example of a FITS WCS for a given FITS HIPS tile:
https://hips.readthedocs.io/en/latest/drawing_algo.html#wcs-for-fits-tiles
Can you describe how it could be computed for any tile?
Maybe @adl1995 (or you if it's too complex) could add a function (e.g. in hips/utils.py
or a new module) that returns such an astropy.wcs.WCS
for given HiPS tile parameters?
I think that would be valuable to have, both for debugging and precise tile drawing (e.g. reproject
just calls into wcslib
via astropy.wcs.WCS
, so probably reprojecting a tile with WCS into any other sky image will just work with one call into reproject
(and they have the slow flux conserving method also implemented, which is nice).