Display a set of images in ds9 along with their associacted ds9 region files. Here we read a list of FITS images and their ds9 region files. Hence, the name combo does not have to be the usual [A.fits,A.reg] format. We may want to display any different region files on top of the same image. This routine enables this.
% display_multiple_ds9_regions --help % display_multiple_ds9_regions list.1 -v
![]() |
The various ds9 region files collected by a run of the
imgcat0_apmags routine.
Here is the input file (list.1):
% cat list.1 20191018T024545.3_acm_sci.fits 20191018T024545.3_acm_sci.cdfp_4profs.reg Original imgcat0 20191018T024545.3_acm_sci.fits 20191018T024545.3_acm_sci_apertures.cdfp_4profs.reg Aps_4_Profiles 20191018T024545.3_acm_sci.fits 20191018T024545.3_acm_sci_OpAps.reg Optimal Aps 20191018T024545.3_acm_sci.fits 20191018T024545.3_acm_sci_bkgannuli.reg BkgAnnuli To run the display code: % display_multiple_ds9_regions list.1 -c green -f 14You can see that in list.1 I have specified that the same image is viewed in every frame. I use a different regions file and comment string for each frame. If we were to attempt to view all of this in a single frame we would create a real mess. |