hipspy / hips

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

Support RGB in healpix -> hips #136

Closed cdeil closed 5 years ago

cdeil commented 5 years ago

@adonath added two functions for healpix -> hips in #123

We should extend those to also be able to work with RGB tiles, that's what we need for our main use case to make HiPS from our own HEALPix Fermi-LAT maps.

I think it should work OK to extend the existing functions to work for that case as well (like we do in most other places in hipspy), instead of adding new ones.

Exact API needs a bit of thought / discussion.

@adl1995 started to add the other direction in #132, so that's a bit related, but a separate task.

@adonath - Do you have three example RGB HEALPix maps from Fermi-LAT that we could use for a docs example? (ideally 1 MB or 10 MB, not something huge, so that it runs fast) Alternatively we could look e.g. for Planck allsky maps in 3 bands in HEALPix and try to make a Hips from that.

cdeil commented 5 years ago

Done in #141