; EPOSWTCH ;--------------------------------------------------------------- ;! Switches between B1950 and J2000 coordinates in header ;# Verb Catalog Coordinates ;----------------------------------------------------------------------- ;; Copyright (C) 1995-1996, 2009 ;; Associated Universities, Inc. Washington DC, USA. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation; either version 2 of ;; the License, or (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public ;; License along with this program; if not, write to the Free ;; Software Foundation, Inc., 675 Massachusetts Ave, Cambridge, ;; MA 02139, USA. ;; ;; Correspondence concerning AIPS should be addressed as follows: ;; Internet email: aipsmail@nrao.edu. ;; Postal address: AIPS Project Office ;; National Radio Astronomy Observatory ;; 520 Edgemont Road ;; Charlottesville, VA 22903-2475 USA ;----------------------------------------------------------------------- EPOSWTCH LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC EPOSWTCH: Verb to switch between B1950 and J2000 coordinates INNAME Image name(name). INCLASS Image name(class). INSEQ 0.0 9999.0 Image name(seq. #). 0=>high INDISK 0.0 9.0 Disk drive #. 0 => any. ---------------------------------------------------------------- EPOSWTCH Type: Verb Use: EPOSWTCH may be used to swithc the epoch of the coordinates in the image or UV header from B1950 (or whatever) to J2000 and back to B1950. The conversion is of adequate accuracy for normal imaging but should not be used in astrometric circumstances. The conversion assumes that it may be represented by a shift of the coordinates of the reference pixel and a slight rotation. This is not correct at the highest accuracies. Adverbs: INNAME......Image name(name). Standard defaults. INCLASS.....Image name(class). Standard defaults. INSEQ.......Image name(seq. #). 0 => highest. INDISK......Disk drive # of image. 0 => any. ----------------------------------------------------------------