; TI2HA ;--------------------------------------------------------------- ;! modifies times in UV data to hour angles ;# Task UV ;----------------------------------------------------------------------- ;; Copyright (C) 1998-1999 ;; 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 ;----------------------------------------------------------------------- TI2HA LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC TI2HA Task to change times to hour angles INNAME Input UV file name (name) INCLASS Input UV file name (class) INSEQ 0.0 9999.0 Input UV file name (seq. #) INDISK 0.0 9.0 Input UV file disk unit # OUTNAME Output UV file name (name) OUTCLASS Output UV file name (class) OUTSEQ -1.0 9999.0 Output UV file name (seq. #) OUTDISK 0.0 9.0 Output UV file disk unit #. DOARRAY -1.0 1.0 > 0 => subtract 5 days from times for subarray number ---------------------------------------------------------------- TI2HA Task: This task will copy an entire data set replacing the IAT time with the hour angle (biased by one day to avoid negatives). The output should not be used for any form of self-calibration since times from multiple days can be confused. The task works on single-source data sets only because of the importance of correct times to multi-source data handling. This task is envisioned as allowing users to average data taken at the same times and with the same arrays over multiple days. The averaging can then be done (after a UVSRT or MSORT) with UBAVG, UVAVG, or AVER. Adverbs: INNAME.....Input UV file name (name). Standard defaults. INCLASS....Input UV file name (class). Standard defaults. INSEQ......Input UV file name (seq. #). 0 => highest. INDISK.....Disk drive # of input UV file. 0 => any. OUTNAME....Output UV file name (name). Standard defaults. OUTCLASS...Output UV file name (class). Standard defaults. OUTSEQ.....Output UV file name (seq. #). 0 => highest unique OUTDISK....Disk drive # of output UV file. 0 => highest with space for the file. DOARRAY....Times are often altered by DBCON by adding 5*(subarray#-1). If DOARRAY>0 and the time is suitable, this offset will be subtracted before the hour angle is determined. ----------------------------------------------------------------