[daip] VPLOT, not urgent

Vivek Dhawan vdhawan at nrao.edu
Wed Jul 17 17:44:34 EDT 2013


Hi Eric,

Walter Max-M. came across a VPLOT bug. He consulted me (its a VLBA satellite-
tracking dataset). I am filing the bug report because he is having keyboard 
problems.

vplot, bparm 12,19,1,0; expected it to plot elevation vs. time.

It plots what looks like the correct elevation for antenna 1, but then plots
the same elev. for every antenna. Same behavior for 'TST', 'NEW', 'OLD'.  Same
for bparm(2)= 18,19,20,21 (probably) - I can't recall if I tested all of those.

Vplot appears to work fine for the usual bparms amp/phase   12,1,0 or 12,2,0.

dataset here:    /home/aakash2/AIPS/DA01/FITS/TS029C.FITS  (< 1GB)

tget vplot here:

AIPS 2: Found in Version=NEW
AIPS 2: VPLOT     Plots data from a u,v data base, model from a CC file
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: USERID     1160                    File owner number - ignored
AIPS 2: INNAME     'TS029C'                Input UV file name (name)
AIPS 2: INCLASS    'UVDATA'                Input UV file name (class)
AIPS 2: INSEQ         1                    Input UV file name (seq. #)
AIPS 2: INDISK        1                    Input UV file disk unit #
AIPS 2: IN2NAME    ' '                     Input CC file name (name)
AIPS 2: IN2CLASS   ' '                     Input CC file name (class)
AIPS 2: IN2SEQ        0                    Input CC file name (seq. #)
AIPS 2: IN2DISK       0                    Input CC file disk unit #
AIPS 2: IN2VERS       0                    Input CC file version #
AIPS 2: NCOMP      *all 0                  # comps to use for model.
AIPS 2:                                    1 value per field
AIPS 2:                                    total 200000 CCs maximum
AIPS 2: FLUX          0                    Lowest CC component used.
AIPS 2: NMAPS         0                    # clean maps (fields).
AIPS 2:                                    0 => no model
AIPS 2:                                    >0 => model at samples
AIPS 2:                                    <0 => model smoothly
AIPS 2:                                    Data selection:
AIPS 2: SOURCES    *all ' '                Source list
AIPS 2: QUAL         -1                    Source qualifier -1=>all
AIPS 2: CALCODE    ' '                     Calibrator code '    '=>all
AIPS 2: SELBAND      -1                    Bandwidth to select (kHz)
AIPS 2: SELFREQ      -1                    Frequency to select (MHz)
AIPS 2: FREQID       -1                    Freq. ID to select.
AIPS 2: BCHAN        18                    Lowest channel number 0=>1
AIPS 2: ECHAN        18                    Highest channel number
AIPS 2: AVGCHAN       1                    > 0 => average BCHAN-ECHAN
AIPS 2: BIF           2                    Lowest IF number 0=>1
AIPS 2: EIF           2                    Highest IF number 0=>high
AIPS 2: AVGIF        -1                    > 0 => average IFs
AIPS 2: CROWDED       3                    Plot chans/IFs together or
AIPS 2:                                    separately?  0 separate,
AIPS 2:                                    3 all together, 1 & 2 partly
AIPS 2: DO3COL       -1                    Plot separate IFs in separate
AIPS 2:                                    colors.
AIPS 2: XINC          0                    Plot every XINC'th visibility
AIPS 2:                                    0 => 1
AIPS 2: UVRANGE       0           0        Range of projected spacings
AIPS 2:                                    (thousands of wavelengths)
AIPS 2: TIMERANG   *all 0                  Time: start day,hr,min,sec
AIPS 2:                                          stop day,hr,min,sec.
AIPS 2: STOKES     'LL'                    Stokes' parameters
AIPS 2: ANTENNAS   *all 0                  Antennas to be plotted
AIPS 2: BASELINE   *all 0                  Baselines with ANTENNAS
AIPS 2:                                    See explanation.
AIPS 2: DOCALIB      -1                    > 0 calibrate data & weights
AIPS 2:                                    > 99 do NOT calibrate weights
AIPS 2: GAINUSE       3                    CL (or SN) table to apply
AIPS 2: DOPOL        -1                    If >0 correct polarization.
AIPS 2: PDVER         0                    PD table to apply (DOPOL>0)
AIPS 2: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 2: BLVER         0                    BL table to apply.
AIPS 2: FLAGVER       1                    Flag table version
AIPS 2:                                    See explanation.
AIPS 2: DOBAND       -1                    If >0 apply bandpass cal.
AIPS 2:                                    Method used depends on value
AIPS 2:                                    of DOBAND (see HELP file).
AIPS 2: BPVER         1                    Bandpass table version
AIPS 2: SMOOTH     *all 0                  Smoothing function. See
AIPS 2: SUBARRAY      0                    Subarray number 0=>1.
AIPS 2:                                    -1 => all, but beware!
AIPS 2: DOEBAR       -1                    If > 0, plot error bars,
AIPS 2:                                    else don't
AIPS 2: SOLINT        0.2                  Time over which to average
AIPS 2:                                    data before plotting (mins)
AIPS 2:                                    =0 => no averaging
AIPS 2:                                    >0 SOLINT=MIN(SOLINT, SCAN)
AIPS 2:                                    <0 SOLINT=ABS(SOLINT)
AIPS 2:                                       average through scans
AIPS 2: OPTYPE     'AUTO'                  'AUTO' => autocorrelation
AIPS 2:                                     else  =>crosscorrelation
AIPS 2: OPCODE     ' '                     Type of plot:
AIPS 2:                                    'IFRA' => ratio BIF and EIF
AIPS 2:                                     else  => plot requested IF
AIPS 2: APARM      *all 0                  Control parameters
AIPS 2:                                    1 : > 0 => edit bad
AIPS 2:                                        amplitude points.
AIPS 2:                                        BPARM(2)=0, or 1
AIPS 2:                                        = 0 => do not edit
AIPS 2:                                        bad amplitude points.
AIPS 2:                                        Number of averaged points
AIPS 2:                                        for each baseline has to
AIPS 2:                                        be more than 10.
AIPS 2:                                    2 : number of sigmas outside
AIPS 2:                                        of which bad points are
AIPS 2:                                        clipped (See HELP); 0=>3.
AIPS 2:                                    3 : > 0 plot min/max range
AIPS 2:                                        with average
AIPS 2:                                        = 0 do not plot min/max
AIPS 2:                                        lines
AIPS 2:                                    4 : = 0 min/max over selected
AIPS 2:                                        IFs after averaging
AIPS 2:                                        selected CHs
AIPS 2:                                        > 0 min/max over all
AIPS 2:                                        selected CH/IFs
AIPS 2:                                    5 : > 0 scalar average
AIPS 2:                                        = 0 vector average
AIPS 2:                                    6 : used with APARM(1)>0
AIPS 2:                                        >0 flag the bad points
AIPS 2:                                           for all channels
AIPS 2:                                        =0 flag the bad points
AIPS 2:                                           only for the selected
AIPS 2:                                           channels
AIPS 2:                                    7 : est total plot points
AIPS 2:                                    8 : > 0 mark scan boundaries
AIPS 2: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 2: BPARM        12          21        Control parameters
AIPS 2:               1        *rest 0     1 : X-axis type code 0 -> 12
AIPS 2:                                    2 : Y-axis type code 0 -> 1
AIPS 2:                                        <0 => both AMP & PHASE
AIPS 2:                                        1=> amplitude (Jy)
AIPS 2:                                        2=> phase (degrees)
AIPS 2:                                        3=> uv dist. (klambda)
AIPS 2:                                        4=> uv p.a. (deg N->E)
AIPS 2:                                        5=> time (IAT days)
AIPS 2:                                        6=> u (klambda)
AIPS 2:                                        7=> v (klambda)
AIPS 2:                                        8=> w (klambda)
AIPS 2:                                        9=> Re(Vis) (Jy)
AIPS 2:                                        10=> Im(Vis) (Jy)
AIPS 2:                                        11=> time (GST)
AIPS 2:                                        12=> time (IAT hours)
AIPS 2:                                        13=> source number
AIPS 2:                                        14=> freqid
AIPS 2:                                        15=> integration time
AIPS 2:                                        16=> weight
AIPS 2:                                        17=> rms (SOLINT > 0)
AIPS 2:                                        18=> HA (hours)
AIPS 2:                                        19=> elevation (deg)
AIPS 2:                                        20=> parallactic angle
AIPS 2:                                        21=> azimuth (deg)
AIPS 2:                                        22=> log(amplitude)
AIPS 2:                                    3 : >0.0 => fixed scale
AIPS 2:                                        <0.0 => fixed range
AIPS 2:                                         0.0 => sep. scales
AIPS 2:                                    4 : Xmin (fixed scale)
AIPS 2:                                    5 : Xmax (fixed scale)
AIPS 2:                                    6 : Ymin (fixed scale)
AIPS 2:                                    7 : Ymax (fixed scale)
AIPS 2:                                    8 : PHmin (fixed scale)
AIPS 2:                                    9 : PHmax (fixed scale)
AIPS 2:                                    10:  > 0 -> plot models for
AIPS 2:                                        baselines with no data
AIPS 2: ALIAS      *all 0                  Antenna alias selection
AIPS 2:                                    If ALIAS(1) is non-zero, any
AIPS 2:                                    antennas matching ALIAS(2-30)
AIPS 2:                                    are treated as if they were
AIPS 2:                                    actually ALIAS(1)
AIPS 2: REFANT        0                    > 0 -> use REFANT for hour
AIPS 2:                                    angle, elevation, et al.
AIPS 2: NPLOTS        1                    Max number of plots per page.
AIPS 2:                                    0 => 3; If bparm(2)<0 =>
AIPS 2:                                    Max number of pairs of plots.
AIPS 2: POLPLOT    ' '                     Option to display various
AIPS 2:                                    ratios of polarizations:
AIPS 2:                                    'RL/RR', 'RL/LL', 'LR/RR',
AIPS 2:                                    'LR/LL', 'RR/LL' 'LL/RR';
AIPS 2:                                    'Q/I', 'U/I', 'V/I'.
AIPS 2:                                    other = plot data directly
AIPS 2: SYMBOL        4                    Symbol to use when plotting.
AIPS 2:                                    0 => X (FACTOR >= 0)
AIPS 2:                                      => none (FACTOR < 0)
AIPS 2:                                    1 - 23, standard types
AIPS 2: FACTOR        0.7                  Scale symbol by FACTOR
AIPS 2:                                    < 0 => connect with lines
AIPS 2: LTYPE         4                    Type of labeling: 1 border,
AIPS 2:                                    2 no ticks, 3 - 6 standard,
AIPS 2:                                    7 - 10 only tick labels
AIPS 2:                                    <0 -> no date/time
AIPS 2: DOTV          1                    > 0 Do plot on the TV, else
AIPS 2:                                    make a plot file
AIPS 2: GRCHAN        1                    Graphics channel 0 => 1.
AIPS 2: XYRATIO       0                    X/Y ratio 0 -> fit TV or 1 PL
 >






More information about the Daip mailing list