; SELSD ;--------------------------------------------------------------- ;! Task to select random position single dish measurments ;# TASK SINGLEDISH ;----------------------------------------------------------------------- ;; Copyright (C) 1995, 2000 ;; 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 ;----------------------------------------------------------------------- ;--------------------------------------------------------------- SELSD LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC SELSD Task to select random position single dish measurments 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 # Cal. info for input: DOCALIB -1.0 2.0 If >0 calibrate data GAINUSE CS table to apply FLAGVER Flag table version OPTYPE Projection code e.g. '-SIN' OUTNAME Output UV file name (name) OUTCLASS Output UV file name (class) OUTSEQ 0.0 9999.0 Output UV file name (seq. #) OUTDISK 0.0 9.0 Output UV file disk unit #. APARM 1,2,3 = RA (h,m,s) 4,5,6 = Dec (d,m,s) 7,8 = field of view (asec) NPOINTS -1.0 Max # 1000's of visibilities ---------------------------------------------------------------- SELSD Task: This task will select random position single dish data in AIPS uv form in a specified field of view about a specified position and project the coordinates onto the specified coordinate system. Unprojected coordinates will have random parameters 'RA ', and 'DEC ' whereas a file containing projected coordinates will have 'RA--xxxx' and 'DEC-xxxx' random parameters where xxxx is the projection code. The following applies only to an older form: Notes on units: The "U" and "V" are assumed to be RA and Dec in degrees unless the data appears to be interfermeter data with no W random parameter; in this case "U" and "V" are assumed to be in degrees times the frequency in HZ. This latter is for historical reasons. Adverbs: INNAME.....Input single dish data file name (name). INCLASS....Input single dish data file name (class). INSEQ......Input single dish data file name (seq. #). INDISK.....Disk drive # of input single dish data file. DOCALIB....If true (>0) then calibrate the data using information in the specified CS table. GAINUSE....Version number of the CS table to apply to the data if DOCALIB=1. 0 = highest numbered. FLAGVER....(multisource) specifies the version of the flagging table to be applied. 0 => highest numbered table. <0 => no flagging to be applied. OPTYPE.....Projection code: '-TAN' = tangent projection (optical), '-SIN' = sine projection (normal interferometer), '-ARC' = arc projection (Schmidt camera, single dish images), '-NCP' = North celestial pole (WSRT), '-STG' = stereographic projection, '-AIT' = Aitoff projection, (large field) '-GLS' = Global sinusoidal projection (large field) '-MER' = Mercator projection, ' ' => '-SIN' See AIPS memo nos. 27 and 46 for more detail. OUTNAME....Output file name (name). blank => INNAME OUTCLASS...Output file name (class). blank => INCLASS OUTSEQ.....Output file name (seq. #). 0 => lowest unique OUTDISK....Disk drive # of output UV file. 0 => highest with space for the file. APARM......1,2,3 are the RA as (h,m,s) 4,5,6 are the Dec, as (d,m,s) 7,8 are the field of view in RA and Dec (asec) The specified position is the CENTER of the RA range and the BOTTOM of the declination range. If APARM(4) is -0 then use APARM(4)=-0.1. NPOINTS....Select a maximum of NPOINTS*1000 UV points. 0 => All in input file. ----------------------------------------------------------------