ds9_region_xyshift
Updated: Aug 18, 2019

Transform the markers of a ds9 regions file to match to a new image using a simple XY shift. The first line object of the regions file will be identified with a ds9_imstats run and a new *.reg file is created.


% ds9_region_xyshift.sh --help    

Usage: ds9_region_xyshift.sh XYmean.reg a.fits N 
arg1 - Name of regions file to be shifted  
arg2 - Name of image defining new coordinate system 
arg3 - run in debug mode   

 
Sometimes the operation of routines like this are not so obvious after a period of time. Below I give what I hope is an extensive and clear example of how to use this routine.

See an example where we use bigds9 to derive shifted region files for 8 images.



Back to calling page