; VPFLG ;--------------------------------------------------------------- ;! Resets flagging to all correlators whenever 1 is flagged ;# Task UV EDITING ;----------------------------------------------------------------------- ;; Copyright (C) 2001, 2003, 2011 ;; 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 ;----------------------------------------------------------------------- VPFLG LLLLLLLLLLLLUUUUUUUUUUUU CCCCCCCCCCCCCCCCCCCCCCCCCCCCC VPFLG Task to insure full flagging whenever 1 cor is flagged 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 #. BCHAN 0.0 8192.0 Lower channel to check ECHAN 0.0 8192.0 Uppermost channel to check DOIFS -1.0 1.0 > 0 => flag full IF if >=1 channel is flagged > 1 => flag all IFs if 1 bad ---------------------------------------------------------------- VPFLG Task: On-line systems flag data on the assumption that the user wishes to retain as much data as possible. Later AIPS tasks tend to make this assumption as well. In the on-line case, only 1 antenna-polarization is flagged, i.e. 2 of the 4 full-polarization correlators. Off-line, when, for example, RR is found bad, RR, RL, and LR are flagged but not LL. Observers of circularly polarized sources may find this undesirable. VPFLG copies the data, flagging all correlators in a time sample, IF, antenna pair if any one of them is flagged. Spectral channels BCHAN-ECHAN only are checked since the outermost may be flagged due to bandpass calibration. 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. May be the same file as the input. 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. BCHAN......Lowest channel to check. 0 -> 1 ECHAN......Highest channel to check. max. DOIFS......> 0 => flag full IF if >= 1 channel is bad > 1 => flag all IFs if one is bad <= 0 => handle channels, IFs separately - RECOMMENDED ----------------------------------------------------------------