hipspy / hips

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

Add healpix to hips conversion method #123

Closed adonath closed 6 years ago

adonath commented 6 years ago

This PR adds the healpix to hips conversion functionality. It is exposed via the method healpix_to_hips. I added a simple test using a healpix image filled with np.arange() in the nested scheme and compared the sum of the indices to manually created reference values. I also added an environment.yml defining a hips-dev environment.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 96.301% when pulling 674e3e6a6bf89ede434f95552c3ce42c9213a474 on adonath:healpix_to_hips_conversion into 8d6078ffb08f2fd1e63e54b305b5b336db8f535c on hipspy:master.

adonath commented 6 years ago

@cdeil OK to add the high level docs example later, once the support for color image is added?

cdeil commented 6 years ago

Sure

cdeil commented 6 years ago

@adonath - Thanks!