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
126 stars 26 forks source link

cutout and save the current Aladin view as a FITs image with WCS #15

Closed havok2063 closed 2 months ago

havok2063 commented 5 years ago

It would be cool to be able to save a cutout of a specified size of the current view in Aladin as a FITS image that contains the WCS information. One could then overlay this image on any other image data.

or alternatively, using the get_JPEG_thumbnail method that currently exists, to save the JPEG image but embed the WCS info into the image header, so the JPEG itself can be overplayed elsewhere.

tboch commented 4 years ago

We will add a get_view_WCS() (and a get_dimensions()) method to retrieve an Astropy WCS object for the current view