[daip] SNIFS

Vivek Dhawan vdhawan at nrao.edu
Fri Jul 13 15:33:55 EDT 2012


1. plotting SY table, opty 'PGN' shows the values correctly I think.

but opty 'PSUM' shows exactly the same values as PGN, instead of
numbers  ~15 counts (not ~15 millicounts).

Opty 'pdif' also is correct.


2. plotting SN table amplitudes (from calib) using SNIFS, shows different
numbers (vaguely proportional to the correct values), compared to plotting
the SAME values SN #2 amplitudes vs. time, in SNPLT.

I also listed the same SN table with PRTAB, it agrees with SNPLT but
I did not check in great detail. I expect these two are well tested
and have no problem.

TASAV of offending data:

/home/aakash2/AIPS/DA01/FITS/SNIFS.TASAV.FITS

inputs to SNIFS and SNPLT below.
-----------------



AIPS 2: Found in Version=TST
AIPS 2: SNIFS:  Task to plot contents of SN, TY, PC or CL file versus IF
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: INNAME     'k3b106.91'             UV data (name).
AIPS 2: INCLASS    'UVEVLA'                UV data (class).
AIPS 2: INSEQ         1                    UV data (seq. #).  0 => high
AIPS 2: INDISK        1                    Disk unit #.  0 => any
AIPS 2: INEXT      'SY'                    Input 'SN','TY','PC', 'CL'
AIPS 2: INVERS        2                    Input table file version no.
AIPS 2: SOURCES    *all ' '                Source list
AIPS 2: QUAL         -1                    Source qualifier -1=>all
AIPS 2: TIMERANG      0          22        Time range to plot
AIPS 2:              30           0           0          22
AIPS 2:              35           0
AIPS 2: STOKES     'RR'                    Stokes type to plot: R, L,
AIPS 2:                                       RR, LL, RRLL, DIFF, RATO
AIPS 2: SELBAND      -1                    Bandwidth to plot (kHz)
AIPS 2: SELFREQ      -1                    Frequency to plot (MHz)
AIPS 2: FREQID       -1                    Freq. ID to plot, -1=>all
AIPS 2: SUBARRAY      0                    Limit to subarray; 0 -> 1
AIPS 2:                                       -1 -> all
AIPS 2: BIF           1                    First IF to plot, 0=>1.
AIPS 2: EIF          16                    Last IF to plot 0 -> highest
AIPS 2: ANTENNAS      1           4        Antennas to plot 0=>all
AIPS 2:               5           6        *rest 0
AIPS 2: PIXRANGE      0           0        Range to plot: 0 => self
AIPS 2:                                    scale each antenna separately
AIPS 2: NPLOTS        4                    Number of plots per page
AIPS 2: OPTYPE     'PGN'                   Data to be plotted:
AIPS 2:                                    'AMP ','PHAS','REAL','IMAG',
AIPS 2:                                    'DELA','RATE','SNR ','DOPL',
AIPS 2:                                    'TSYS','TANT','ATM ','PDIF',
AIPS 2:                                    'PSUM','PGN ','PON ','POFF',
AIPS 2:                                    'PSYS'     else 'AMP '
AIPS 2: OPCODE     ' '                     Type of plot:
AIPS 2:                                    'ALAN' => all antennas in
AIPS 2:                                       each SOLINT plot
AIPS 2:                                    'ALTI' => all times in each
AIPS 2:                                       SOLINT plot individually
AIPS 2:                                    '    ' => average over SOLINT
AIPS 2:                                       plot antennas separately
AIPS 2: DO3COL        1                    > 0 use 3-color symbols for
AIPS 2:                                    ALIF, ALST, ALSI OPCODEs and
AIPS 2:                                    SUM OPTYPE.
AIPS 2: BCOUNT        1                    If INEXT ='PC' and OPTYPE =
AIPS 2:                                    'AMP' or 'PHAS, BCOUNT
AIPS 2:                                    specifies the phase cal tone
AIPS 2:                                    number to be plotted. 0->1.
AIPS 2: SOLINT     3000                    Time interval in seconds
AIPS 2:                                    0 = 1.0  (IMPORTANT)
AIPS 2: SYMBOL        4                    Plot symbol number: 1 - 24
AIPS 2: FACTOR       -0.5                  Scale plot symbols by FACTOR
AIPS 2:                                    <0 => connect points too
AIPS 2: DOBLANK       1                    > 0, show blanked values with
AIPS 2: ** press RETURN for more, enter Q or next line to quit print **
#
AIPS 2:                                    symbol type DOBLANK
AIPS 2: CUTOFF        0                    Table weights <= CUTOFF will
AIPS 2:                                    not be plotted, flagged data
AIPS 2:                                    are not plotted.
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
 > 





--------------------


plotting SN table amplitudes (from calib) using SNIFS, shows different
numbers (vaguely proportional to the correct values), compared to plotting
the SAME values SN #2 amplitudes vs. time, in SNPLT.

I also listed the same SN table with PRTAB, it agrees with SNPLT but
I did not check in great detail. I expect these two are well tested
and have no problem.

AIPS 2: Found in Version=TST
AIPS 2: SNIFS:  Task to plot contents of SN, TY, PC or CL file versus IF
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: INNAME     'k3b106.91'             UV data (name).
AIPS 2: INCLASS    'UVEVLA'                UV data (class).
AIPS 2: INSEQ         1                    UV data (seq. #).  0 => high
AIPS 2: INDISK        1                    Disk unit #.  0 => any
AIPS 2: INEXT      'SN'                    Input 'SN','TY','PC', 'CL'
AIPS 2: INVERS        2                    Input table file version no.
AIPS 2: SOURCES    *all ' '                Source list
AIPS 2: QUAL         -1                    Source qualifier -1=>all
AIPS 2: TIMERANG   *all 0                  Time range to plot
AIPS 2: STOKES     ' '                     Stokes type to plot: R, L,
AIPS 2:                                       RR, LL, RRLL, DIFF, RATO
AIPS 2: SELBAND      -1                    Bandwidth to plot (kHz)
AIPS 2: SELFREQ      -1                    Frequency to plot (MHz)
AIPS 2: FREQID       -1                    Freq. ID to plot, -1=>all
AIPS 2: SUBARRAY      0                    Limit to subarray; 0 -> 1
AIPS 2:                                       -1 -> all
AIPS 2: BIF           1                    First IF to plot, 0=>1.
AIPS 2: EIF          16                    Last IF to plot 0 -> highest
AIPS 2: ANTENNAS      1           4        Antennas to plot 0=>all
AIPS 2:               5           6        *rest 0
AIPS 2: PIXRANGE      0           0        Range to plot: 0 => self
AIPS 2:                                    scale each antenna separately
AIPS 2: NPLOTS        4                    Number of plots per page
AIPS 2: OPTYPE     'AMP'                   Data to be plotted:
AIPS 2:                                    'AMP ','PHAS','REAL','IMAG',
AIPS 2:                                    'DELA','RATE','SNR ','DOPL',
AIPS 2:                                    'TSYS','TANT','ATM ','PDIF',
AIPS 2:                                    'PSUM','PGN ','PON ','POFF',
AIPS 2:                                    'PSYS'     else 'AMP '
AIPS 2: OPCODE     'ALSI'                  Type of plot:
AIPS 2:                                    'ALAN' => all antennas in
AIPS 2:                                       each SOLINT plot
AIPS 2:                                    'ALTI' => all times in each
AIPS 2:                                       SOLINT plot individually
AIPS 2:                                    '    ' => average over SOLINT
AIPS 2:                                       plot antennas separately
AIPS 2: DO3COL        1                    > 0 use 3-color symbols for
AIPS 2:                                    ALIF, ALST, ALSI OPCODEs and
AIPS 2:                                    SUM OPTYPE.
AIPS 2: BCOUNT        1                    If INEXT ='PC' and OPTYPE =
AIPS 2:                                    'AMP' or 'PHAS, BCOUNT
AIPS 2:                                    specifies the phase cal tone
AIPS 2:                                    number to be plotted. 0->1.
AIPS 2: SOLINT     3000                    Time interval in seconds
AIPS 2:                                    0 = 1.0  (IMPORTANT)
AIPS 2: SYMBOL        4                    Plot symbol number: 1 - 24
AIPS 2: FACTOR       -0.5                  Scale plot symbols by FACTOR
AIPS 2:                                    <0 => connect points too
AIPS 2: DOBLANK       1                    > 0, show blanked values with
AIPS 2:                                    symbol type DOBLANK
AIPS 2: CUTOFF        0                    Table weights <= CUTOFF will
AIPS 2:                                    not be plotted, flagged data
AIPS 2:                                    are not plotted.
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
 >




SNPLT:

 >inp
AIPS 2: Found in Version=TST
AIPS 2: SNPLT:  Task to plot selected contents of SN, TY, PC or CL file.
AIPS 2: Adverbs     Values                 Comments
AIPS 2: ----------------------------------------------------------------
AIPS 2: INNAME     'k3b106.91'             UV data (name).
AIPS 2: INCLASS    'UVEVLA'                UV data (class).
AIPS 2: INSEQ         1                    UV data (seq. #).  0 => high
AIPS 2: INDISK        1                    Disk unit #.  0 => any
AIPS 2: INEXT      'SN'                    Input 'SN','TY','PC', 'CL'
AIPS 2: INVERS        2                    Input table file version no.
AIPS 2: SOURCES    *all ' '                Source list
AIPS 2: QUAL         -1                    Source qualifier -1=>all
AIPS 2: TIMERANG   *all 0                  Time range to plot
AIPS 2: STOKES     'RR'                    Stokes type to plot: R, L,
AIPS 2:                                       RR, LL, RRLL, DIFF, RATO
AIPS 2: SELBAND      -1                    Bandwidth to plot (kHz)
AIPS 2: SELFREQ      -1                    Frequency to plot (MHz)
AIPS 2: FREQID       -1                    Freq. ID to plot, -1=>all
AIPS 2: SUBARRAY      0                    Limit to subarray; 0 -> 1
AIPS 2:                                       -1 -> all
AIPS 2: BIF          24                    First IF to plot, 0=>1.
AIPS 2: EIF          24                    Last IF to plot 0 -> highest
AIPS 2: ANTENNAS      1           4        Antennas to plot 0=>all
AIPS 2:               5           6        *rest 0
AIPS 2: PIXRANGE      0          20        Range to plot: 0 => self
AIPS 2:                                    scale each antenna separately
AIPS 2: NPLOTS        4                    Number of plots per page
AIPS 2: XINC          0                    Plot every XINC'th point
AIPS 2: OPTYPE     'AMP'                   Data to be plotted:
AIPS 2:                                    'PHAS','AMP ','DELA','MDEL',
AIPS 2:                                    'RATE','TSYS','TANT','ATM ',
AIPS 2:                                    'GEO ','DOPL','SNR ','SUM ',
AIPS 2:                                    'CCAL','DDLY','REAL','IMAG',
AIPS 2:                                    'IFR ' 'PDIF','PSUM','PGN ',
AIPS 2:                                    'PON ','POFF','PSYS',
AIPS 2:                                    ' '=phase
AIPS 2: OPCODE     'ALSI'                  Type of plot:
AIPS 2:                                    'IFDF' => diff BIF and EIF
AIPS 2:                                    'IFRA' => ratio BIF and EIF
AIPS 2:                                    'ALIF' => combine all IFs
AIPS 2:                                    'ALST' => combine all Stokes
AIPS 2:                                    'ALSI' => all IFs & Stokes
AIPS 2: DO3COL        1                    > 0 use 3-color symbols for
AIPS 2:                                    ALIF, ALST, ALSI OPCODEs and
AIPS 2:                                    SUM OPTYPE.
AIPS 2: BCOUNT        1                    If INEXT ='PC' and OPTYPE =
AIPS 2:                                    'AMP' or 'PHAS, BCOUNT
AIPS 2:                                    specifies the phase cal tone
AIPS 2:                                    number to be plotted. 0->1.
AIPS 2: XAXIS         1                    Variable data is to be
AIPS 2:                                    plotted against, 0=>time.
AIPS 2: SYMBOL        4                    Plot symbol number: 1 - 24
AIPS 2: FACTOR       -0.2                  Scale plot symbols by FACTOR
AIPS 2:                                    <0 => connect points too
AIPS 2: DOBLANK       1                    > 0, show blanked values with
AIPS 2:                                    symbol type DOBLANK
AIPS 2: CUTOFF        0                    Table weights <= CUTOFF will
AIPS 2:                                    not be plotted, flagged data
AIPS 2:                                    are not plotted.
AIPS 2: DOSCAN        0                    = 1 -> plot full boundaries
AIPS 2:                                    = 2 -> plot ticks at scans
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        2                    Graphics channel
 >
 >









More information about the Daip mailing list