!!! I specify FLAGVER 1 to use the 1-st FLAG table generated from field system !!! This makes larger number of scans but mop up bad data AIPS 1: UVCOP Task to copy selected times and channels of uv data. AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38 ' Input UV file name (name) AIPS 1: INCLASS 'UVDATA' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: OUTNAME 'RDV38_X ' Output UV file name (name) AIPS 1: OUTCLASS 'UVF ' Output UV file name (class) AIPS 1: OUTSEQ 0 Output UV file name (seq. #) AIPS 1: OUTDISK 1 Output UV file disk unit #. AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID 1 Freq. ID to select. 0=> all AIPS 1: BCHAN 1 First channel selected. AIPS 1: ECHAN 0 Last channel selected. AIPS 1: BIF 5 Lowest IF number 0=>all AIPS 1: EIF 8 Highest IF number 0=>all AIPS 1: SOURCES *all ' ' Source list AIPS 1: QUAL -1 Source qualifier -1=>all AIPS 1: UVRANGE 0 0 Annulus in uv plane selected AIPS 1: (thousands of wavelengths) AIPS 1: TIMERANG *all 0 Timerange: AIPS 1: 1-4 = start day,hr,min,sec AIPS 1: 5-8 = end day,hr,min,sec AIPS 1: ANTENNAS *all 0 Antennas to copy 0=>all AIPS 1: BASELINE *all 0 Baselines with ANTENNAS AIPS 1: SUBARRAY 0 Limit copy to one subarray AIPS 1: 0 => all. AIPS 1: FLAGVER 1 FG table to apply to data AIPS 1: <= 0 => do not apply AIPS 1: UVCOPPRM 0 0 Flags: AIPS 1: 0 1 1 > 0 => keep flagged data AIPS 1: *rest 0 2 > 0 => drop subarray info AIPS 1: 3 = 0 => copy xc and ac data AIPS 1: = 1 => copy only xc data AIPS 1: = 2 => copy only ac data AIPS 1: of antennas, named in AIPS 1: antenna list. Baseline AIPS 1: list must be zero. AIPS 1: 4 > 0 => report progress AIPS 1: 5 => clip data with weights AIPS 1: below this limit AIPS 1: NCOUNT 0 If UVCOPPRM(3) = 2 then AIPS 1: NCOUNT is the approximate AIPS 1: ratio of AC to XC in file. *************************************************************************** AIPS 1: INDXR Task to index a uv data base. AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: INFILE *all ' ' Input file for forced scan AIPS 1: breaks AIPS 1: PRTLEV 0 Print level AIPS 1: CPARM 0 5 1=> max. time gap (min). AIPS 1: *rest 0 0 => 10 min AIPS 1: 2=> max scan length (min). AIPS 1: 0 => 60 min AIPS 1: 3=> CL/CS entry interval in AIPS 1: minutes. 0 => 5 min, AIPS 1: < 0 => don't create a AIPS 1: new table. AIPS 1: 4=> VLBA only: recalculate AIPS 1: CL entry group delays AIPS 1: using IM table data. AIPS 1: 0 => No recalculation, AIPS 1: 1 => Recalculate delays. AIPS 1: 5=> VLBA only: recalculate AIPS 1: CL entry atmospheric AIPS 1: group delays and clock AIPS 1: offsets using MC table AIPS 1: data. AIPS 1: 0 => No recalculation AIPS 1: 1 => Recalculate delays AIPS 1: 6=> single-dish only: maximum AIPS 1: "antenna"/"beam" number AIPS 1: in data set (if no AN) AIPS 1: BPARM *all 0 VLA ONLY: Opacity and Gain AIPS 1: curve control (see help) AIPS 1: IN2FILE ' ' AIPS 1: Antenna gains file ************************************************************************** AIPS 1: USUBA Task to assign subarrays within a uv-data file AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: OPCODE 'AUTO' Opcode: AIPS 1: Automated identification: AIPS 1: 'SCAN': print only. AIPS 1: 'AUTO': modify data. AIPS 1: else, use INFILE or input AIPS 1: adverbs to define subarrays AIPS 1: AIPS 1: Subarray selection: AIPS 1: TIMERANG *all 0 Time range to use. 0=>all AIPS 1: ANTENNAS *all 0 Antenna numbers 0=>all AIPS 1: SOURCES *all ' ' Source list AIPS 1: FREQID -1 Frequency id. AIPS 1: SUBARRAY 0 Subarray, 0=>next AIPS 1: INFILE *all ' ' External text file; subarray AIPS 1: selection adverbs ignored in AIPS 1: this case. ***************************************************************************** AIPS 1: INDXR Task to index a uv data base. AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: INFILE *all ' ' Input file for forced scan AIPS 1: breaks AIPS 1: PRTLEV 0 Print level AIPS 1: CPARM 0 5 1=> max. time gap (min). AIPS 1: *rest 0 0 => 10 min AIPS 1: 2=> max scan length (min). AIPS 1: 0 => 60 min AIPS 1: 3=> CL/CS entry interval in AIPS 1: minutes. 0 => 5 min, AIPS 1: < 0 => don't create a AIPS 1: new table. AIPS 1: 4=> VLBA only: recalculate AIPS 1: CL entry group delays AIPS 1: using IM table data. AIPS 1: 0 => No recalculation, AIPS 1: 1 => Recalculate delays. AIPS 1: 5=> VLBA only: recalculate AIPS 1: CL entry atmospheric AIPS 1: group delays and clock AIPS 1: offsets using MC table AIPS 1: data. AIPS 1: 0 => No recalculation AIPS 1: 1 => Recalculate delays AIPS 1: 6=> single-dish only: maximum AIPS 1: "antenna"/"beam" number AIPS 1: in data set (if no AN) AIPS 1: BPARM *all 0 VLA ONLY: Opacity and Gain AIPS 1: curve control (see help) AIPS 1: IN2FILE ' ' AIPS 1: Antenna gains file ****************************************************************************** AIPS 1: LISTR: Task to print UV data and calibration tables. AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: USERID 0 User number. AIPS 1: INNAME 'RDV38_X ' UV data (name). AIPS 1: INCLASS 'UVF ' UV data (class). AIPS 1: INSEQ 1 UV data (seq. #). 0 => high AIPS 1: INDISK 1 Disk unit #. 0 => any AIPS 1: OPTYPE 'SCAN' List type: AIPS 1: 'MATX','LIST','GAIN','SCAN' AIPS 1: INEXT ' ' CL, SN or TY table for 'GAIN' AIPS 1: INVER 0 CL, Sn or TY table version AIPS 1: SOURCES *all ' ' Source list AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: TIMERANG *all 0 Time range to list AIPS 1: STOKES ' ' Stokes type to list. AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID -1 Freq. ID to select. AIPS 1: None selected => 1. AIPS 1: BIF 0 Lowest IF number 0=1 AIPS 1: EIF 0 Highest IF number AIPS 1: BCHAN 1 Low channel number 0=>1 AIPS 1: ECHAN 0 High channel number AIPS 1: ANTENNAS *all 0 Antennas to list AIPS 1: BASELINE *all 0 Baselines with ANTENNAS AIPS 1: UVRANGE 0 0 UV range in kilolambda AIPS 1: SUBARRAY 0 Subarray, 0=>1 AIPS 1: Cal. info for input: AIPS 1: DOCALIB -1 If >0 calibrate data AIPS 1: = 2 calibrate weights AIPS 1: GAINUSE 0 CAL (CL or SN) table to apply AIPS 1: DOPOL -1 If >0 correct polarization. AIPS 1: BLVER -1 BL table to apply. AIPS 1: FLAGVER 0 Flag table version AIPS 1: DOBAND -1 If >0 apply bandpass cal. AIPS 1: Method used depends on value AIPS 1: of DOBAND (see HELP file). AIPS 1: BPVER -1 Bandpass table version AIPS 1: SMOOTH *all 0 Smoothing function. See AIPS 1: HELP SMOOTH for details. AIPS 1: DPARM *all 0 Control info: AIPS 1: (1) 0=amp, 1=phase, 2=rms AIPS 1: 3=amp+rms, 4=phase+rms AIPS 1: 5=amp+phase, 6=delay, AIPS 1: 7=rate, 8=SNR, 9=par. ang AIPS 1: 10 = Tsys, 11=elev, AIPS 1: 12 = multiband delay AIPS 1: 13 = Tant 14 = weights AIPS 1: N.B. Options 3 and 4 only AIPS 1: valid for OPTYPE = 'MATX' AIPS 1: (2) 0=vec avg, 1=scalar AIPS 1: (3) No. col (4-10) def=4. AIPS 1: (4) avg. time min (MATX,LIST) AIPS 1: *** significant AIPS 1: (5) Type of gain listings: AIPS 1: 0 => all with same scale AIPS 1: like DEC-10 listings; AIPS 1: 1 => scan/source info at AIPS 1: source/scan boundaries. AIPS 1: (6) Matrix scaling control: AIPS 1: 0 => plot amp & rms AIPS 1: matrices with same scale; AIPS 1: 1 => self-scale each AIPS 1: separately. AIPS 1: FACTOR 0 When DPARM(5)=0 Multiply AIPS 1: gain listings by FACTOR, AIPS 1: 0=> use scale factor from AIPS 1: first record printed. AIPS 1: DOCRT -1 > 0 -> use the terminal, AIPS 1: else use the line printer AIPS 1: > 72 => terminal width AIPS 1: OUTPRINT 'FITS:RDV38_X.SCAN ' AIPS 1: Printer disk file to save AIPS 1: BADDISK *all 0 Disk to avoid for scratch. *************************************************************************** AIPS 1: TACOP task to copy tables and other extension files AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input image name (name) AIPS 1: INCLASS 'UVF ' Input image name (class) AIPS 1: INSEQ 1 Input image name (seq. #) AIPS 1: INDISK 1 Input image disk unit # AIPS 1: INEXT 'CL' Input table extension type AIPS 1: INVERS 1 Input table file version no. AIPS 1: NCOUNT 0 Number of tables to consider AIPS 1: OUTNAME 'RDV38_X ' Output image name (name) AIPS 1: OUTCLASS 'UVF ' Output image name (class) AIPS 1: OUTSEQ 1 Output image name (seq. #) AIPS 1: OUTDISK 1 Output image disk unit #. AIPS 1: OUTVERS 2 Output table file version. AIPS 1: KEYWORD ' ' Header keyword to test AIPS 1: KEYVALUE 0 0 Min., max. keyword value AIPS 1: KEYSTRNG ' ' Character keyword value **************************************************************************** AIPS 1: VLOG Task to pre-process external VLBA calibration files AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: SUBARRAY 0 Subarray (0=> 1) AIPS 1: INFILE 'FITS:RDV38_VLBA.CAL Name of ext. cal. file AIPS 1: AIPS 1: ' AIPS 1: OUTFILE 'FITS:RDV38_X Prefix for output files AIPS 1: AIPS 1: ' AIPS 1: FQTOL 500 Freq. tol. for IF match (kHz) AIPS 1: PRTLEV 0 Print level (0=>none; AIPS 1: 1=> inform when gain curves AIPS 1: passed into .TSYS file AIPS 1: 2=> echo cal. file) ***************************************************************************** clrstat ***************************************************************************** AIPS 1: UVFLG: Task to Flag selected UV data on disk. AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' UV data (name). AIPS 1: INCLASS 'UVF ' UV data (class). AIPS 1: INSEQ 1 UV data (seq. #). 0 => high AIPS 1: INDISK 1 Disk unit #. 0 => any AIPS 1: INFILE 'FITS:RDV38_X.FLAG Text file name. AIPS 1: AIPS 1: ' AIPS 1: SOURCES *all ' ' Sources selected/deselected AIPS 1: SUBARRAY 0 Subarray number 0=>all. AIPS 1: SELBAND -1 Bandwidth to flag (kHz) AIPS 1: SELFREQ -1 Frequency to flag (MHz) AIPS 1: FREQID -1 Freq. ID to flag. -1=>all. AIPS 1: 0=> first Freq. ID. AIPS 1: TIMERANG *all 0 Time: start day,hr,min,sec AIPS 1: stop day,hr,min,sec. AIPS 1: BCHAN 1 First frequency channel AIPS 1: ECHAN 0 Last channel 0=>all AIPS 1: BIF 0 First IF 0=>1 AIPS 1: EIF 0 Last IF 0=>all AIPS 1: ANTENNAS *all 0 Antennas AIPS 1: BASELINE *all 0 Baselines with ANTENNAS AIPS 1: STOKES ' ' Stokes' parameters AIPS 1: FLAGVER 1 Flag table version number AIPS 1: Used w single-source too AIPS 1: APARM *all 0 Clip on ampl. and weight AIPS 1: (single source data only) AIPS 1: 1:lower limit of amplitude AIPS 1: 2:upper limit of amplitude AIPS 1: 0 => use defaults AIPS 1: sign is significant! AIPS 1: 3:limit of weight AIPS 1: The data with ampl. outside AIPS 1: of a given range or weight AIPS 1: less the given value are AIPS 1: flagged (unflagged) AIPS 1: Elevation flagging AIPS 1: 4:elevation lower cutoff deg AIPS 1: 5:elevation upper cutoff deg AIPS 1: 6:Factor of suppression of AIPS 1: spurious fringes caused by AIPS 1: pulse cal when fringe AIPS 1: rate close to zero. AIPS 1: It must be >1 AIPS 1: 0 => do not flag due to AIPS 1: this reason AIPS 1: 7:>0 => Print source, time, AIPS 1: baseline, U,V of expected AIPS 1: zero fringe rate (U=0) AIPS 1: 0 => do not print AIPS 1: APARM=0 => flagging(unflag.) AIPS 1: does not depend on APARM AIPS 1: OPCODE 'FLAG' 'FLAG','UFLG' or 'REAS' AIPS 1: REASON *all ' ' Reason (24 char.) IPS 1: BDROP 0 First vis. no. to flag AIPS 1: (not with flag tables) AIPS 1: EDROP 0 Last vis. no. to flag AIPS 1: (not with flag tables) AIPS 1: DOHIST -1 > 0 -> add to history ***************************************************************************** ATTENTION!! IT'S IMPORTANT TO SPECIFY DOHIS=-1 TO NOT INCLUDE ALL THE FLAG-RAWS INTO UVF FITS-FILE OF EACH SOURCE. ***************************************************************************** INFILE 'FITS:RDV38_OTHERS.FLAG; GO ***************************************************************************** AIPS 1: TACOP task to copy tables and other extension files AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input image name (name) AIPS 1: INCLASS 'UVF ' Input image name (class) AIPS 1: INSEQ 1 Input image name (seq. #) AIPS 1: INDISK 1 Input image disk unit # AIPS 1: INEXT 'GC' Input table extension type AIPS 1: INVERS 1 Input table file version no. AIPS 1: NCOUNT 0 Number of tables to consider AIPS 1: OUTNAME 'RDV38_X ' Output image name (name) AIPS 1: OUTCLASS 'UVF ' Output image name (class) AIPS 1: OUTSEQ 1 Output image name (seq. #) AIPS 1: OUTDISK 1 Output image disk unit #. AIPS 1: OUTVERS 2 Output table file version. AIPS 1: KEYWORD ' ' Header keyword to test AIPS 1: KEYVALUE 0 0 Min., max. keyword value AIPS 1: KEYSTRNG ' ' Character keyword value ****************************************************************************** AIPS 1: TACOP task to copy tables and other extension files AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input image name (name) AIPS 1: INCLASS 'UVF ' Input image name (class) AIPS 1: INSEQ 1 Input image name (seq. #) AIPS 1: INDISK 1 Input image disk unit # AIPS 1: INEXT 'TY' Input table extension type AIPS 1: INVERS 1 Input table file version no. AIPS 1: NCOUNT 0 Number of tables to consider AIPS 1: OUTNAME 'RDV38_X ' Output image name (name) AIPS 1: OUTCLASS 'UVF ' Output image name (class) AIPS 1: OUTSEQ 1 Output image name (seq. #) AIPS 1: OUTDISK 1 Output image disk unit #. AIPS 1: OUTVERS 2 Output table file version. AIPS 1: KEYWORD ' ' Header keyword to test AIPS 1: KEYVALUE 0 0 Min., max. keyword value AIPS 1: KEYSTRNG ' ' Character keyword value ****************************************************************************** AIPS 1: ANTAB Task to read amplitude calibration info. into AIPS AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: INFILE 'FITS:RDV38_X.TSYS Calibration file name. AIPS 1: AIPS 1: ' AIPS 1: SUBARRAY 1 Subarray (0=> 1) AIPS 1: Output table versions: AIPS 1: TYVER 2 TY table to update AIPS 1: GCVER 2 GC table to update AIPS 1: BLVER -1 BL table to update AIPS 1: SPARM *all ' ' List of stations to ignore AIPS 1: PRTLEV 0 Print level (0=>none; AIPS 1: 1=> echo cal. file) AIPS 1: OFFSET 0 Increase the scan length of AIPS 1: each side, minutes ****************************************************************************** SUBAR 2; GO ... SUBAR 9; GO ****************************************************************************** INFILE 'FITS:RDV38_OTHERS_X.TSYS'; SUBAR 1; GO SUBAR 2; GO ... SUBAR 9; GO ****************************************************************************** AIPS 1: APCAL Task to generate an amplitude calibration SN table AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: AIPS 1: ANTENNAS *all 0 Antennas to calibrate AIPS 1: SUBARRAY 1 Subarray 0 -> 1 AIPS 1: STOKES ' ' Stokes type ('R','L',' ') AIPS 1: BIF 0 Start IF number AIPS 1: EIF 0 End IF number AIPS 1: FREQID 1 Freq. ID to calibrate AIPS 1: SOURCES *all ' ' Sources to calibrate AIPS 1: TIMERANG *all 0 Time range to calibrate AIPS 1: AIPS 1: TYVER 2 TY table version number. AIPS 1: GCVER 2 GC table version number. AIPS 1: SNVER 0 Output SN table version. AIPS 1: 0 -> highest unique AIPS 1: OPCODE ' ' Opacity correction opcode: AIPS 1: ' ' -> no opacity corr. AIPS 1: 'LESQ','GRID','OPAC' -> AIPS 1: opacity corr. AIPS 1: APARM *all 0 Calibration parameters: AIPS 1: (1) -> B factor (def. 1.0) AIPS 1: Opacity parameters: AIPS 1: (2) -> ZA limit (deg) AIPS 1: (3) >=0 use spillover AIPS 1: correction AIPS 1: (4) > 0 use all FQ in AIPS 1: opac. soln. AIPS 1: (5) Limit to sec(z) plotted AIPS 1: SOLINT 0 Solution interval (min) AIPS 1: 0 -> use all data AIPS 1: INVERS 1 WX table version number. AIPS 1: 0 -> use text file AIPS 1: INFILE *all ' ' Text file with weather info. AIPS 1: Must be ' ' if using WX AIPS 1: table (INVERS). AIPS 1: TRECVR *all 0 Receiver temperatures (K); AIPS 1: in (R,L) pairs. AIPS 1: TAU0 *all 0 Zenith opacities (per ant.) AIPS 1: DOFIT *all 0 Fit type (per ant.) AIPS 1: -1 -> do no opacity correct ion AIPS 1: 0 -> apply TRECVR only AIPS 1: 1 -> solve for Trec using AIPS 1: fitting method spec. AIPS 1: in OPCODE; then apply AIPS 1: PRTLEV 0 Print level AIPS 1: DOTV -1 TV selection (<0 -> PL file) AIPS 1: LTYPE 3 Plot labeling AIPS 1: GRCHAN 0 TV Graphics channel to use ***************************************************************************** SUBAR 2; GO ... SUBAR 9; GO ***************************************************************************** AIPS 1: CLCAL Task to manage SN and CL calibration tables AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: SOURCES *all ' ' Source list to calibrate AIPS 1: SOUCODE ' ' Source "Cal codes" AIPS 1: CALSOUR *all ' ' Cal sources for calibration AIPS 1: QUAL -1 Source qualifier -1=>all AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: TIMERANG *all 0 Time range to calibrate AIPS 1: SUBARRAY -32000 Subarray, 0=>all, AIPS 1: ANTENNAS *all 0 Antennas selected, 0=> all AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID 1 Freq. ID to select. AIPS 1: OPCODE 'CALI' Operation 'MERG','CALI', AIPS 1: 'CALP'; ' ' => 'CALI' AIPS 1: INTERPOL ' ' Interpolation function, AIPS 1: choices are: '2PT','SIMP', AIPS 1: 'AMBG','CUBE','SELF','POLY' AIPS 1: see HELP for more details. AIPS 1: CUTOFF 0 Interpolation limit in AIPS 1: time (min); 0=> no limit. AIPS 1: SAMPTYPE ' ' Smoothing function AIPS 1: BPARM *all 0 Smoothing parameters AIPS 1: ICUT 0 Cutoff for functional forms AIPS 1: DOBLANK -1 Blanked value interpolation AIPS 1: DOBTWEEN 0 > 0 -> smooth all sources AIPS 1: together; else separate them AIPS 1: SMOTYPE ' ' Data to smooth AIPS 1: SNVER 1 Input SN table, 0=>all. AIPS 1: INVERS 9 Upper SN table vers in a AIPS 1: range. 0=>SNVER AIPS 1: GAINVER 2 Input Cal table 0=>high AIPS 1: GAINUSE 3 Output CAL table 0=>high+1 AIPS 1: REFANT 7 Reference antenna 0=>pick. AIPS 1: BADDISK *all 0 Disks to avoid for scratch ****************************************************************************** Now we want to run CLCOR to use gain correction coefficients found from hybrid mapping log-files. Note, we apply them individually for the IFs needed to be corrected. ****************************************************************************** AIPS 1: CLCOR Task which applies various corrections to CL tables. AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: SOURCES *all ' ' Source list ' '=>all. AIPS 1: STOKES ' ' Stokes type to process AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID -1 Freq. ID to select, 0=>all AIPS 1: BIF 1 Lowest IF number 0=>all AIPS 1: EIF 2 Highest IF number 0=>all AIPS 1: TIMERANG *all 0 Time range to use. AIPS 1: ANTENNAS 8 *rest 0 Antennas to correct. AIPS 1: SUBARRAY 0 Subarray; 0 => 1. AIPS 1: GAINVER 3 Input CL table 0=>high AIPS 1: GAINUSE 3 Output CL table: not = AIPS 1: GAINVER -> high+1 AIPS 1: OPCODE 'GAIN' Operation code. AIPS 1: CLCORPRM 1.32 *rest 0 Parameters (see HELP CLCOR). AIPS 1: BADDISK *all 0 Disks to aviod for scratch AIPS 1: INFILE *all ' ' Input file with the list of AIPS 1: antennas, times and relevant AIPS 1: atmosphere vertical delay. AIPS 1: Used only with OPCODE='ATMO' ************************************************************************** bif 3; eif 4; clcorprm 1.45,0; go anten 9,0; eif 3; clcorprm 1.09,0; go eif 4; bif 4; clcorprm 1.33,0; go anten 12,0; bif 1; eif 1; clcorprm 0.86,0; go bif 2; eif 2; clcorprm 0.9,0; go eif 3; bif 3; clcorprm 1.255,0; go bif 4; eif 4; clcorprm 1.455,0; go anten 17,0; bif 1; eif 4; clcorprm 1.1,0; go anten 18,0; bif 3; eif 4; >clcorprm 1.15,0; go anten 19,0; bif 1; eif 1; clcorprm 0.82,0; go bif 2; eif 2; clcorprm 0.86,0; go bif 3; eif 4; clcorprm 0.9,0; go ****************************************************************************** AIPS 1: FRING: Task to fringe fit data AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: Input uv data. AIPS 1: INNAME 'RDV38_X ' UV file name (name) AIPS 1: INCLASS 'UVF ' UV file name (class) AIPS 1: INSEQ 1 UV file name (seq. #) AIPS 1: INDISK 1 UV file disk drive # AIPS 1: Data selection (multisource): AIPS 1: CALSOUR '0642+449 ' Calibrator sources AIPS 1: *rest ' ' AIPS 1: QUAL -1 Calibrator qualifier -1=>all AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID -1 Freq. ID to select. AIPS 1: TIMERANG 0 21 Time range to use. AIPS 1: 34 20 0 21 AIPS 1: 36 20 AIPS 1: BCHAN 0 Lowest channel number 0=>all AIPS 1: ECHAN 0 Highest channel number AIPS 1: ANTENNAS *all 0 Antennas to select. 0=all AIPS 1: DOFIT *all 0 Subset of ANTENNAS list AIPS 1: for which solns are desired. AIPS 1: 0 => all in ANTENNAS AIPS 1: < 0 => all not in DOFIT list AIPS 1: SUBARRAY 1 Subarray, 0=>all AIPS 1: UVRANGE 0 0 Range of uv distance for full AIPS 1: weight AIPS 1: WTUV 0 Weight outside UVRANGE 0=0. AIPS 1: AIPS 1: Cal. info for input: AIPS 1: DOCALIB 2 If >0 calibrate data AIPS 1: = 2 calibrate weights AIPS 1: GAINUSE 3 CL table to apply. AIPS 1: DOPOL -1 If >0 correct polarization. AIPS 1: BLVER -1 BL table to apply. AIPS 1: FLAGVER 1 Flag table version AIPS 1: DOBAND -1 If >0 apply bandpass cal. AIPS 1: Method used depends on value AIPS 1: of DOBAND (see HELP file). AIPS 1: BPVER 0 Bandpass table version AIPS 1: SMOOTH *all 0 Smoothing function. See AIPS 1: HELP SMOOTH for details. AIPS 1: AIPS 1: CLEAN map (optional) AIPS 1: IN2NAME ' ' Cleaned map name (name) AIPS 1: IN2CLASS ' ' Cleaned map name (class) AIPS 1: IN2SEQ 0 Cleaned map name (seq. #) AIPS 1: IN2DISK 0 Cleaned map disk unit # AIPS 1: INVERS 0 CC file version #. AIPS 1: NCOMP *all 0 # comps to use for model. AIPS 1: 1 value per field AIPS 1: FLUX 0 Lowest CC component used. AIPS 1: NMAPS 0 No. Clean map files AIPS 1: CMETHOD ' ' Modeling method: AIPS 1: 'DFT','GRID',' ' AIPS 1: SMODEL *all 0 Source model, 1=flux,2=x,3=y AIPS 1: See HELP SMODEL for models. AIPS 1: AIPS 1: Output uv data file. AIPS 1: OUTNAME ' ' UV file name (name) AIPS 1: OUTCLASS ' ' UV file name (class) AIPS 1: OUTSEQ 0 UV file name (seq. #) AIPS 1: OUTDISK 1 UV file disk drive # AIPS 1: AIPS 1: Solution control adverbs: AIPS 1: REFANT 7 Reference antenna AIPS 1: SEARCH *all 0 Prioritized reference antenna AIPS 1: list - supplements REFANT AIPS 1: - but only if APARM(9)>0 AIPS 1: SOLINT 0 Solution interval (min) AIPS 1: 0 => 10 min AIPS 1: AIPS 1: APARM 2 0 General parameters AIPS 1: 0 0 1=min. no. antennas AIPS 1: 0 1 2 > 0 => data divided AIPS 1: 5 0 3 > 0 => avg. RR,LL AIPS 1: 1 0 4 > 0 => avg. freq. in IFs AIPS 1: 5 > 0 => combine IFs. AIPS 1: 6=print level, 1=some AIPS 1: 7=SNR cutoff (0=>5) AIPS 1: 8=max. ant. # (no AN) AIPS 1: 9 > 0 => do exhaustive AIPS 1: baseline search AIPS 1: DPARM 3 0 Delay-rate parameters AIPS 1: 0 0 1=no. bl combo. (def=3) AIPS 1: 0 0 2=delay win (nsec), if <0 AIPS 1: 0 1 no delay search done AIPS 1: 0 0 3=rate win (mHz) AIPS 1: 4=int. time (sec) AIPS 1: 0 => min. found in data AIPS 1: 5 >0 => don't do ls. soln AIPS 1: 6 >0 => don't avg. in freq AIPS 1: 7 >0 => don't rereference AIPS 1: phase AIPS 1: 8 > 0 => activate zero'ing AIPS 1: options AIPS 1: SNVER 0 Output SN table, 0=>new table AIPS 1: ANTWT *all 0 Ant. weights (0=>1.0) AIPS 1: BADDISK *all 0 Disk no. not to use for AIPS 1: scratch files. *************************************************************************** CALSOUR '0642+449',''; TIMER 0 21 34 20 0 21 36 20; SUBAR 1; GO #====> SN10 (2,5,10,15,16,0) CALSOUR '4C39.25',''; SUBAR 4; TIMER 0 22 27 10 0 22 29 10; go #====> SN11 (18,0) better use SN14 CALSOUR '0642+449',''; TIMER 1 16 29 0 1 16 31 0; SUBAR 1; GO #====> SN12 (1,4,6,7,8,9,11,12,13,14,19,0) CALSOUR '1803+784',''; SUBAR 2; TIMER 1 6 57 0 1 6 59 0; GO #===> SN13 (17,0) calsour '0552+398',''; timer 1 15 28 0 1 15 30 0; subar 1 #===> SN14 (18,0) **************************************************************************** AIPS 1: CLCAL Task to manage SN and CL calibration tables AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: SOURCES *all ' ' Source list to calibrate AIPS 1: SOUCODE ' ' Source "Cal codes" AIPS 1: CALSOUR *all ' ' Cal sources for calibration AIPS 1: QUAL -1 Source qualifier -1=>all AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: TIMERANG *all 0 Time range to calibrate AIPS 1: SUBARRAY -32000 Subarray, 0=>all, AIPS 1: ANTENNAS 1 4 Antennas selected, 0=> all AIPS 1: 6 7 8 9 AIPS 1: 11 12 13 14 AIPS 1: 19 *rest 0 AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID 1 Freq. ID to select. AIPS 1: OPCODE 'CALI' Operation 'MERG','CALI', AIPS 1: 'CALP'; ' ' => 'CALI' AIPS 1: INTERPOL ' ' Interpolation function, AIPS 1: choices are: '2PT','SIMP', AIPS 1: 'AMBG','CUBE','SELF','POLY' AIPS 1: see HELP for more details. AIPS 1: CUTOFF 0 Interpolation limit in AIPS 1: time (min); 0=> no limit. AIPS 1: SAMPTYPE ' ' Smoothing function AIPS 1: BPARM *all 0 Smoothing parameters AIPS 1: ICUT 0 Cutoff for functional forms AIPS 1: DOBLANK -1 Blanked value interpolation AIPS 1: DOBTWEEN 0 > 0 -> smooth all sources AIPS 1: together; else separate them AIPS 1: SMOTYPE ' ' Data to smooth AIPS 1: SNVER 12 Input SN table, 0=>all. AIPS 1: INVERS 0 Upper SN table vers in a AIPS 1: range. 0=>SNVER AIPS 1: GAINVER 3 Input Cal table 0=>high AIPS 1: GAINUSE 4 Output CAL table 0=>high+1 AIPS 1: REFANT 7 Reference antenna 0=>pick. AIPS 1: BADDISK *all 0 Disks to avoid for scratch ***************************************************************************** anten 2,5,10,15,16,0; snver 10; go anten 17,0; snver 13; go anten 18,0; snver 14; go ***************************************************************************** AIPS 1: FRING: Task to fringe fit data AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: Input uv data. AIPS 1: INNAME 'RDV38_X ' UV file name (name) AIPS 1: INCLASS 'UVF ' UV file name (class) AIPS 1: INSEQ 1 UV file name (seq. #) AIPS 1: INDISK 1 UV file disk drive # AIPS 1: Data selection (multisource): AIPS 1: CALSOUR *all ' ' Calibrator sources AIPS 1: QUAL -1 Calibrator qualifier -1=>all AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID -1 Freq. ID to select. AIPS 1: TIMERANG *all 0 Time range to use. AIPS 1: BCHAN 0 Lowest channel number 0=>all AIPS 1: ECHAN 0 Highest channel number AIPS 1: ANTENNAS *all 0 Antennas to select. 0=all AIPS 1: DOFIT *all 0 Subset of ANTENNAS list AIPS 1: for which solns are desired. AIPS 1: 0 => all in ANTENNAS AIPS 1: < 0 => all not in DOFIT list AIPS 1: SUBARRAY 0 Subarray, 0=>all AIPS 1: UVRANGE 0 0 Range of uv distance for full AIPS 1: weight AIPS 1: WTUV 0 Weight outside UVRANGE 0=0. AIPS 1: AIPS 1: Cal. info for input: AIPS 1: DOCALIB 2 If >0 calibrate data AIPS 1: = 2 calibrate weights AIPS 1: GAINUSE 4 CL table to apply. AIPS 1: DOPOL -1 If >0 correct polarization. AIPS 1: BLVER -1 BL table to apply. AIPS 1: FLAGVER 1 Flag table version AIPS 1: DOBAND -1 If >0 apply bandpass cal. AIPS 1: Method used depends on value AIPS 1: of DOBAND (see HELP file). AIPS 1: BPVER 0 Bandpass table version AIPS 1: SMOOTH *all 0 Smoothing function. See AIPS 1: HELP SMOOTH for details. AIPS 1: AIPS 1: CLEAN map (optional) AIPS 1: IN2NAME ' ' Cleaned map name (name) AIPS 1: IN2CLASS ' ' Cleaned map name (class) AIPS 1: IN2SEQ 0 Cleaned map name (seq. #) AIPS 1: IN2DISK 0 Cleaned map disk unit # AIPS 1: INVERS 0 CC file version #. AIPS 1: NCOMP *all 0 # comps to use for model. AIPS 1: 1 value per field AIPS 1: FLUX 0 Lowest CC component used. AIPS 1: NMAPS 0 No. Clean map files AIPS 1: CMETHOD ' ' Modeling method: AIPS 1: 'DFT','GRID',' ' AIPS 1: SMODEL *all 0 Source model, 1=flux,2=x,3=y AIPS 1: See HELP SMODEL for models. AIPS 1: AIPS 1: Output uv data file. AIPS 1: OUTNAME ' ' UV file name (name) AIPS 1: OUTCLASS ' ' UV file name (class) AIPS 1: OUTSEQ 0 UV file name (seq. #) AIPS 1: OUTDISK 1 UV file disk drive # AIPS 1: AIPS 1: Solution control adverbs: AIPS 1: REFANT 7 Reference antenna AIPS 1: SEARCH *all 0 Prioritized reference antenna AIPS 1: list - supplements REFANT AIPS 1: - but only if APARM(9)>0 AIPS 1: SOLINT 4 Solution interval (min) AIPS 1: 0 => 10 min AIPS 1: AIPS 1: APARM 2 0 General parameters AIPS 1: 0 0 1=min. no. antennas AIPS 1: 0 1 2 > 0 => data divided AIPS 1: 5 0 3 > 0 => avg. RR,LL AIPS 1: 1 0 4 > 0 => avg. freq. in IFs AIPS 1: 5 > 0 => combine IFs. AIPS 1: 6=print level, 1=some AIPS 1: 7=SNR cutoff (0=>5) AIPS 1: 8=max. ant. # (no AN) AIPS 1: 9 > 0 => do exhaustive AIPS 1: baseline search AIPS 1: DPARM 3 300 Delay-rate parameters AIPS 1: 60 *rest 0 1=no. bl combo. (def=3) AIPS 1: 2=delay win (nsec), if <0 AIPS 1: no delay search done AIPS 1: 3=rate win (mHz) AIPS 1: 4=int. time (sec) AIPS 1: 0 => min. found in data AIPS 1: 5 >0 => don't do ls. soln AIPS 1: 6 >0 => don't avg. in freq AIPS 1: 7 >0 => don't rereference AIPS 1: phase AIPS 1: 8 > 0 => activate zero'ing AIPS 1: options AIPS 1: SNVER 0 Output SN table, 0=>new table AIPS 1: ANTWT *all 0 Ant. weights (0=>1.0) AIPS 1: BADDISK *all 0 Disk no. not to use for AIPS 1: scratch files. ***************************************************************************** AIPS 1: CLCAL Task to manage SN and CL calibration tables AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: SOURCES *all ' ' Source list to calibrate AIPS 1: SOUCODE ' ' Source "Cal codes" AIPS 1: CALSOUR *all ' ' Cal sources for calibration AIPS 1: QUAL -1 Source qualifier -1=>all AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: TIMERANG *all 0 Time range to calibrate AIPS 1: SUBARRAY -32000 Subarray, 0=>all, AIPS 1: ANTENNAS *all 0 Antennas selected, 0=> all AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID 1 Freq. ID to select. AIPS 1: OPCODE 'CALI' Operation 'MERG','CALI', AIPS 1: 'CALP'; ' ' => 'CALI' AIPS 1: INTERPOL ' ' Interpolation function, AIPS 1: choices are: '2PT','SIMP', AIPS 1: 'AMBG','CUBE','SELF','POLY' AIPS 1: see HELP for more details. AIPS 1: CUTOFF 0 Interpolation limit in AIPS 1: time (min); 0=> no limit. AIPS 1: SAMPTYPE ' ' Smoothing function AIPS 1: BPARM *all 0 Smoothing parameters AIPS 1: ICUT 0 Cutoff for functional forms AIPS 1: DOBLANK -1 Blanked value interpolation AIPS 1: DOBTWEEN 0 > 0 -> smooth all sources AIPS 1: together; else separate them AIPS 1: SMOTYPE ' ' Data to smooth AIPS 1: SNVER 15 Input SN table, 0=>all. AIPS 1: INVERS 0 Upper SN table vers in a AIPS 1: range. 0=>SNVER AIPS 1: GAINVER 4 Input Cal table 0=>high AIPS 1: GAINUSE 5 Output CAL table 0=>high+1 AIPS 1: REFANT 7 Reference antenna 0=>pick. AIPS 1: BADDISK *all 0 Disks to avoid for scratch ***************************************************************************** AIPS 1: SPLIT Task to split multi-source uv data to single source AIPS 1: Adverbs Values Comments AIPS 1: ---------------------------------------------------------------- AIPS 1: also works on single files. AIPS 1: INNAME 'RDV38_X ' Input UV file name (name) AIPS 1: INCLASS 'UVF ' Input UV file name (class) AIPS 1: INSEQ 1 Input UV file name (seq. #) AIPS 1: INDISK 1 Input UV file disk unit # AIPS 1: SOURCES *all ' ' Source list AIPS 1: QUAL -1 Source qualifier -1=>all AIPS 1: CALCODE ' ' Calibrator code ' '=>all AIPS 1: TIMERANG *all 0 Time range to copy AIPS 1: STOKES ' ' Stokes type to pass. AIPS 1: SELBAND -1 Bandwidth to select (kHz) AIPS 1: SELFREQ -1 Frequency to select (MHz) AIPS 1: FREQID -1 Freq. ID to select. AIPS 1: BIF 0 Lowest IF number 0=>all AIPS 1: EIF 0 Highest IF number 0=>all AIPS 1: BCHAN 0 Lowest channel number 0=>all AIPS 1: ECHAN 0 Highest channel number AIPS 1: SUBARRAY 0 Subarray, 0=>all AIPS 1: DOCALIB 2 If >0 calibrate data AIPS 1: = 2 calibrate weights AIPS 1: GAINUSE 5 CL (or SN) table to apply AIPS 1: DOPOL -1 If >0 correct polarization. AIPS 1: BLVER -1 BL table to apply. AIPS 1: FLAGVER 1 Flag table version AIPS 1: DOBAND -1 If >0 apply bandpass cal. AIPS 1: Method used depends on value AIPS 1: of DOBAND (see HELP file). AIPS 1: BPVER 1 Bandpass table version AIPS 1: SMOOTH *all 0 Smoothing function. See AIPS 1: HELP SMOOTH for details. AIPS 1: OUTCLASS ' ' Output UV file name (class) AIPS 1: OUTSEQ 0 Output UV file name (seq. #) AIPS 1: OUTDISK 1 Output UV file disk unit #. AIPS 1: DOUVCOMP 1 1 (T) => compressed data AIPS 1: APARM 2 *rest 0 Control information: AIPS 1: 1 = 1 => avg. freq. in IF AIPS 1: multi-channel out AIPS 1: = 2 => avg. freq. in IF AIPS 1: single channel out AIPS 1: = 3 => avg IF's also AIPS 1: 2 = Input avg. time (sec) AIPS 1: 3 > 0 => Drop subarrays AIPS 1: 4 > 0 => calibrate weights AIPS 1: 5 = 0 pass only xc data AIPS 1: = 1 pass xc and ac data AIPS 1: = 2 pass only ac data AIPS 1: 6 > 0 add full source name AIPS 1: to header AIPS 1: NCHAV 1 Number of chan. to average. AIPS 1: (used if APARM(1) = 1) AIPS 1: <= 0 -> ALL AIPS 1: CHINC 1 Channel incr. between output AIPS 1: channels (used if APARM(1)=1) AIPS 1: ICHANSEL *all 0 Array of channel start, stop, AIPS 1: and increment numbers and IF AIPS 1: number to be used when AIPS 1: averaging in frequency. AIPS 1: (used if APARM(1) = 2, 3) AIPS 1: BADDISK *all 0 Disks to avoid for scratch **************************************************************************** #######for i=56:144; getn i; task 'fittp'; outfile inname; go; wait; end Sort the UVF-files (useful to surf FITS-files in editor) for i=56:144; getn i; task 'msort'; outname inname; go; wait; end for i=145:233; getn i; task 'fittp'; outfile inname; go; wait; end