cds-astro / ipyaladin

An IPython Widget for Aladin Lite, the sky viewer.
https://cds-astro.github.io/ipyaladin/
BSD 3-Clause "New" or "Revised" License
125 stars 26 forks source link

add_hips: Create an ImageSurvey/Image object and allow to set its opacity, colormap, ... #76

Open ManonMarchand opened 5 months ago

ManonMarchand commented 5 months ago

Openend this issue from the last point of #45

ManonMarchand commented 5 months ago

To implement this:

bmatthieu3 commented 5 months ago

See this JS HiPS instanciation method imageHiPS

bmatthieu3 commented 5 months ago

I guess that for starting we do not need to have an object, just a

aladin.add_hips(url/id, options)

is sufficient to begin. It will not be possible to remove the newly added HiPS. For that we could impl something similar than for overlays described in https://github.com/cds-astro/ipyaladin/issues/78 It is also possible to remove the HiPS/overlays from the UI

bmatthieu3 commented 5 months ago

We could deprecate these Aladin properties: overlay_survey and overlay_survey_opacity