[daip] CPASS (fwd)
Miller Goss
mgoss at nrao.edu
Thu Aug 2 17:25:15 EDT 2007
---------- Forwarded message ----------
Date: Thu, 2 Aug 2007 15:21:43 -0600 (MDT)
From: Miller Goss <mgoss at aoc.nrao.edu>
To: Miller Goss <mgoss at aoc.nrao.edu>
Subject: CPASS (fwd)
inputs to CPASS
np
AIPS 1: CPASS Task to generate a polynomial 'Bandpass' (BP) table.
AIPS 1: Adverbs Values Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: USERID 0 User number
AIPS 1: INNAME 'BM046' Input UV file name (name)
AIPS 1: INCLASS 'DBCON' Input UV file name (class)
AIPS 1: INSEQ 1 Input UV file name (seq. #)
AIPS 1: INDISK 2 Input UV file disk unit #
AIPS 1:
AIPS 1: Data Selection
AIPS 1: CALSOUR '2200+420' Bandpass calibrator sources.
AIPS 1: *rest ' '
AIPS 1: QUAL -1 Calibrator qualifier -1=>all
AIPS 1: CALCODE ' ' Calibrator code ' '=>all
AIPS 1: UVRANG 0 0 UV range to select
AIPS 1: TIMERANG *all 0 Time range to select
AIPS 1: STOKES ' ' Stokes type to select.
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 0=>all
AIPS 1: SUBARRAY 0 Subarray, 0=>all
AIPS 1: ANTENNAS *all 0 Antennas to select
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 2 Cleaned map disk unit #
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
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 details.
AIPS 1:
AIPS 1: Control options
AIPS 1: DOCALIB 2 > 0 calibrate data & weights
AIPS 1: > 99 do NOT calibrate weights
AIPS 1: GAINUSE 4 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 6 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: SOLINT 0 Solution interval (mins)
AIPS 1: -1 => do whole time range
AIPS 1: REFANT 9 Reference antenna
AIPS 1: OUTVERS 0 BP table version to write
AIPS 1: SMOOTH 1 *rest 0 Smoothing function. See
AIPS 1: HELP SMOOTH for details.
AIPS 1: ANTWT *all 0 Ant. wts (0 => 1.)
AIPS 1: BPASSPRM 0 0 Control information:
AIPS 1: 0 0 1: if > 0 use only the
AIPS 1: 0 0 autocorrelation data.
AIPS 1: 0 0 2: print level.
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1: 1 1 3: If > 0 do not divide data
AIPS 1: 0 by source model
AIPS 1: 4: If > 0 store phases only
AIPS 1: in the BP table.
AIPS 1: 5: If = 0 divide by 'channel
AIPS 1: 0' before determining BP.
AIPS 1: If > 1 switch off the
AIPS 1: channel 0 divide option.
AIPS 1: 6: min. amp. closure err
AIPS 1: 7: min. ph. closure err
AIPS 1: 8: > 0 => scalar average
AIPS 1: 10: > 1 => normalize ampl.
AIPS 1: portion of bandpass by
AIPS 1: area under BP function.
AIPS 1: Useful for VLBI.
AIPS 1: 11: > 1, mode to allow
AIPS 1: calibration and divide
AIPS 1: by channel 0. Useful for
AIPS 1: VLBI. Do not use if you
AIPS 1: don't understand. See HELP
AIPS 1: CPARM 10 200 Fit parameters:
AIPS 1: 0.02 60 1: No. of terms.
AIPS 1: 2 *rest 0 2: Max. no. iterations.
AIPS 1: 3: Convergence tolerance.
AIPS 1: 4: Pre-average interval (sec)
AIPS 1: Default: Auto - 5 min.
AIPS 1: Cross - 15 min.
AIPS 1: 5: Fit type (1=Re/Im; 2=A/P)
AIPS 1: 6: BP table for initial val.
AIPS 1: 7: Fit phase only (1=> with
AIPS 1: ampl.; 2=> without)
AIPS 1: 8: >0 => Autoscale
AIPS 1: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 1: 9: >0 suppress data weighting
AIPS 1: 10: >0 => save as coefficient
s
AIPS 1: rather than normal BP tabl
e
AIPS 1: ICHANSEL *all 0 Array of start and stop chan
AIPS 1: numbers, plus a channel
AIPS 1: increment and IF to be used
AIPS 1: to select channels to sum to
AIPS 1: find a 'channel 0'. If all
AIPS 1: 0, range set to inner 75% of
AIPS 1: observing band.
AIPS 1:
AIPS 1: 'Channel 0' uv-data
AIPS 1: IN3NAME ' ' Channel 0 uv name (name)
AIPS 1: IN3CLASS ' ' Channel 0 uv name (class)
AIPS 1: IN3SEQ 0 Channel 0 uv name (seq. #)
AIPS 1: IN3DISK 0 Channel 0 uv disk unit #
AIPS 1: BADDISK *all 0 Disks to avoid for scratch
>
note that BPARM 9 is not mentioned in the input file for CPASS ?
I want to use amp and phase cparm(5)=2 and thus I need to calibrate
the data. I do have docalib=2
qh
AIPS 1: Image=MULTI (UV) Filename=BM046 .DBCON . 1
AIPS 1: # visibilities 570008 Sort order TB
AIPS 1: --------------------------------------------------------------
AIPS 1: Type Pixels Coord value at Pixel Coord incr Rotat
AIPS 1: COMPLEX 3 1.000000E+00 1 1.0000E+00 0.00
AIPS 1: STOKES 2 RR 1 -1.0000 0.00
AIPS 1: FREQ 256 1.420280E+09 1 3.9062E+03 0.00
AIPS 1: IF 1 1.000000E+00 1 1.0000E+00 0.00
AIPS 1: RA 1 00 00 00.000 1 3600.000 0.00
AIPS 1: DEC 1 00 00 00.000 1 3600.000 0.00
AIPS 1: --------------------------------------------------------------
AIPS 1: Max ext file #: SU 1 AN 1 HI 1 CT 1 CL 4
AIPS 1: Max ext file #: CQ 1 IM 1 MC 1 FQ 1 NX 1
AIPS 1: Max ext file #: GC 1 TY 1 FG 6 BP 2 PL 4
>
then I run and get this strange ( to me ) message about docalib being
forced to be -1 ?
go
CPASS1: Task CPASS (release of 31DEC07) begins
CPASS1: You are using a non-standard program
CPASS1: Bandpass response function generator
CPASS1: Resultant bandpass table will be normalized
CPASS1: DOCALIB=1 & CPASSPRM(5)=0 incompatible, setting DOCALIB=-1
CPASS1: Array name in AN table is VLBA
CPASS1: Will assume this is data from the VLBA correlator
CPASS1: and that it is all fringe-rotated to Earth Centre
CPASS1: Will remove effects of that fringe-rotation
CPASS1: to provide consistent bandpass calibration
CPASS1: If incorrect, abort and change array name keyword
CPASS1: Selecting and editing the data
CPASS1: Dividing the spectral data by channel 0
then the BP table does look plausibe - but I need to calibrate
the data to fix the delays . There is a good chance I am
misunderstanding the help file for this old program.
.
then I try something else that also seems to fail.
I try to apply an initial BP table with CPARM(6)=2 - made in
BPASS and a table that looks quite nice.
ANd I get this error message. Must be making some blunder in
the inputs ?
thanks
1: to provide consistent bandpass calibration
CPASS1: If incorrect, abort and change array name keyword
CPASS1: Selecting and editing the data
CPASS1: Dividing the spectral data by channel 0
CPASS1: Determining solutions
CPASS1: Solving polarization LL, IF channel 1
CPASS1: BPVAL: INCOMPATIBLE INITIAL DATA IN BP: 2
CPASS1: Solving polarization RR, IF channel 1
CPASS1: ZOPEN: LUN = 43 ALREADY OPENED IN FTAB
CPASS1: TABINI: I/O ERROR FROM ISTAB ON BP
CPASS1: BPINI: ERROR 3 FROM TABINI OPCODE = READ
CPASS1: BPINI: ERROR INITIALIZING BANDPASS TABLE FOR READ
CPASS1: BPVAL: ERROR 3 OPENING BP TABLE: 2
CPASS1: Appears to have ended successfully
CPASS1: mizar 31DEC07 TST: Cpu= 25.0 Real= 59
AIPS 1: Resumes
>
When I plot this BPVER in possm it is fine.
Thanks
miller
More information about the Daip
mailing list