This OTW script reads the X,Y,Ra,Dec values collected by upstream scripts and computes a WCS solution using 2 independent XY transformation equations. The fit information is written to the *.info file and various local ASCII files.
% wcs0.sh -- OR -- % wcs0.sh --help Usage: wcs0.sh a.fits wcs_setup.out 190.37783 +32.45665 arg1 - name of FITS image being calibrated arg2 - name of input [name,x,y,r,d] file arg3 - RAo in units of degrees (can be 99 or -99) arg4 - DECo in units of degrees (can be 99 or -99) NOTE: For establishing RAo,DECo 99 = Use mean ra,dec -99 = Use central-most ra,dec % wcs0 a.fits wcs_setup.out -99 -99The values of arg4 and arg5 can be spsecific Ra,Dec values (both in units of DEGREES). We can also use two cases of value pairs:
-99 -99 == choose the central most star to set RAo,DECo 99 99 == use average center to set RAo,DECoIt should be noted that the WCS0 solution can be be applied to do X,Y-->Ra,Dec or Ra,Dec-->X,Y using the wcs0_trans script.