hipspy / hips

Python library to handle HiPS
https://hips.readthedocs.io
12 stars 16 forks source link

Add hips_tile_healpix_ipix_array function #93

Closed cdeil closed 7 years ago

cdeil commented 7 years ago

This PR adds a hips_tile_healpix_ipix_array function, that is the key building block to convert between HEALPix pixels and HiPS tile pixels. I don't have time to continue with this and actually use it today, so I'll merge as-is and then continue with this in future PRs.

This is more or less my guess of how the HEALPix to HiPS tile pixel mapping works, it's not detailed in http://www.ivoa.net/documents/HiPS/20170519/REC-HIPS-1.0-20170519.pdf and I haven't debugged / tested it.

coveralls commented 7 years ago

Coverage Status

Changes Unknown when pulling e0d524e5aa681d432a19845ed2f90c122e79762a on cdeil:tile-pix-idx into on hipspy:master.