cds-astro / aladin-lite

An astronomical HiPS visualizer in the browser
https://aladin.cds.unistra.fr/AladinLite/
GNU General Public License v3.0
103 stars 42 forks source link

Access pixel values in the current view #208

Open ivan-katkov opened 1 week ago

ivan-katkov commented 1 week ago

It might be useful to provide a method for retrieving pixel values of the displayed HiPS layer for the current view at a given zoom level.

One usecase, particularly valuable for FITS HiPS maps of physical parameters, is generating histograms to assist with dynamic image cuts. This could be easily implemented if healpix values were accessible in the layer objects.