wcs_center

For a FITS images that has a valid WCS in the header, estimate the Ra,Dec (in sexigecimal format) of the image center.


% wcs_center
Usage: wcs_center a.fits
arg1 - FITS image with wcs in the header

Sample run: 
% % wcs_ask 20160617T051024.8_acm_sci.fits 
17:26:52.431 +02:23:17.68 J2000 387.500   385.500

Hence, in a successful run five values are written to standard out: RA, Dec, Equinox, Xmid, Ymid. It is assumed that before using this routine that you have tested that a valid WCS exists in the header. The routine wcs_ask is useful for this purpose.




Back to SCO CODES page