[daip] KNTR bug: mis-labels frequency of contour+greyscale plot

Michael Rupen mrupen at aoc.nrao.edu
Fri Mar 31 14:38:51 EST 2006


Dear DAIP,

   when running KNTR to plot an 18cm image in greyscale and a 6cm
image as contours, I noticed that the top label was incorrect for the
latter.  The frequency for both images was listed as 1667.459 MHz, while
the 2nd was actually 4987.5 MHz (as confirmed by IMHEAD).  Inputs are
given below.  The same result holds for OLD, NEW, and TST, as run
on scamper (i.e., 31DEC04, 31DEC05, 31DEC06).

   Cheers,

           Michael

> inp kntr
AIPS 1: KNTR:  Task to generate a plot file for a contour & grey plot
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: DOCONT        2                    > 0 => do contours
AIPS 1:                                    (1 or 2 => which name)
AIPS 1: DOGREY        1                    > 0 => do grey scale
AIPS 1:                                    (1 pr 2 => which name)
AIPS 1: DOVECT       -1                    > => do polarization vectors
AIPS 1:                                    (1 or 2 => which is IPOL)
AIPS 1:                                    Contour or grey or IPOL
AIPS 1: INNAME     'RSOPH    799'          First image name (cube?)
AIPS 1: INCLASS    '18-CIR'                First image class
AIPS 1: INSEQ         5                    First image seq. #
AIPS 1: INDISK        2                    First image disk drive #
AIPS 1:                                    Contour or grey or IPOL
AIPS 1: IN2NAME    'RSOPH    799'          Second image name
AIPS 1: IN2CLASS   ' 6-CIR'                Second image class
AIPS 1: IN2SEQ        5                    Second image seq. #
AIPS 1: IN2DISK       2                    Second disk drive #
AIPS 1:                                    Polarization intensity image:
AIPS 1: IN3NAME    ' '                       (name) blank => INNAME
AIPS 1: IN3CLASS   ' '                       (class) blank => 'PPOL'
AIPS 1: IN3SEQ        0                      (seq. #) 0 => high
AIPS 1: IN3DISK       0                      Disk drive #,  0 => any
AIPS 1:                                    Polarization angle image:
AIPS 1: IN4NAME    ' '                       (name) blank => INNAME
AIPS 1: IN4CLASS   ' '                       (class) blank => 'PANG'
AIPS 1: IN4SEQ        0                      (seq. #) 0 => high
AIPS 1: IN4DISK       0                      Disk drive #,  0 => any
AIPS 1: BLC         172         345        Bottom left corner of first
AIPS 1:               1           1        image.  0 => 1
AIPS 1:               1           1           1
AIPS 1: TRC         755         806        Top right corner of first
AIPS 1:               1           1        image;   0=>entire image
AIPS 1:               1           1        Multiple planes of a cube
AIPS 1:               1                    will be plotted in panels.
AIPS 1: ZINC          1                    Increment on 3rd axis of
AIPS 1:                                    1st and possibly 2nd image
AIPS 1: NY            0                    Number of planes along
AIPS 1:                                    vertical side of plot
AIPS 1: XYRATIO       0                    X to Y axis plot ratio. 0=>
AIPS 1:                                    header inc or window ratio
AIPS 1: PIXRANGE      0          0.013     Min,Max of image intensity
AIPS 1:                                      0 => entire range.
AIPS 1: FUNCTYPE   'SQ'                    Image intensity transfer func
AIPS 1:                                      'LN' Linear.  unknown=>'LN'
AIPS 1:                                      'LG' Logarithmic
AIPS 1:                                      'SQ' Square root
AIPS 1:                                      'NE' Negative linear
AIPS 1:                                      'NG' Negative logarithmic
AIPS 1:                                      'NQ' Negative square root
AIPS 1: OFMFILE    'RAINBOW'
AIPS 1:                                    ' ' => do black & white
AIPS 1:                                    'TV' => use TV OFM
AIPS 1:                                    else read file for OFM
AIPS 1: DOCOLOR       0                    Do RGB images as 3-color?
AIPS 1: LTYPE         3                    Type of labeling: 1 border,
AIPS 1:                                    2 no ticks, 3 standard, 4 rel
AIPS 1:                                    to center, 5 rel to subim cen
AIPS 1:                                    6 pixels, 7-10 as 3-6 with
AIPS 1:                                    only tick labels
AIPS 1:                                    <0 -> no date/time
AIPS 1: DOALIGN       1                    > 0 => images must line up
AIPS 1:                                       (see HELP DOALIGN)
AIPS 1: PLEV          0                    Percent of peak for levs.
AIPS 1: CLEV       2.500E-04               Absolute value for levs
AIPS 1:                                       (used only if PLEV = 0).
AIPS 1: LEVS         -4          -2.8284   Contour levels (up to 30).
AIPS 1:               2.8284      4           5.6569      8
AIPS 1:              11.3137     16          22.6274     32
AIPS 1:              45.2548     64          90.5097    128
AIPS 1:             181.0193    256         362.0387    512
AIPS 1:             724.0773   1024        *rest 0
AIPS 1: CON3COL       0                    Color the contours by plane
AIPS 1: FACTOR        0                    Mult. factor for Pol vector
AIPS 1:                                       (see HELP)
AIPS 1: ROTATE        0                    Angle to rotate Pol vector
AIPS 1:                                       (in degrees)
AIPS 1: XINC          1                    X-inc. of Pol vectors. 0=>1
AIPS 1: YINC          1                    Y-inc. of Pol vectors. 0=>1
AIPS 1: PCUT          0.1                  Pol. vector cutoff. P units.
AIPS 1: ICUT          0.1                  Int. vector cutoff. I units.
AIPS 1: POL3COL       0                    Color polarization vectors
AIPS 1:                                    value in degrees = red
AIPS 1: DOBLANK       0                    Draw boundary between blanked
AIPS 1:                                    areas and good areas?
AIPS 1: DOWEDGE       1                    > 0 => plot a wedge also.
AIPS 1:                                    = 2 => put on the right edge.
AIPS 1:                                    = 3 => put on top using full
AIPS 1:                                           range of image values
AIPS 1:                                    = 4 => put on right w full
AIPS 1:                                           range of image values
AIPS 1: DOCIRCLE     -1                    > 0 => extend ticks to form
AIPS 1:                                    coordinate grid
AIPS 1: INVERS        0                    STar file version number.
AIPS 1: STFACTOR     10                    Scale star sizes: 0 => none.
AIPS 1:                                    > 0 crosses with no labels
AIPS 1:                                    < 0 crosses with labels
AIPS 1: CBPLOT        1                    Position for beam plot:
AIPS 1:                                      0: don't plot beam
AIPS 1:                                      1: lower left (default)
AIPS 1:                                      2: lower right
AIPS 1:                                      3: upper right
AIPS 1:                                      4: upper left
AIPS 1:                                      5: plot in separate pane
AIPS 1:                                      6-10 as 1-5 but filled in
AIPS 1:                                     11-15 as 1-5 more filled
AIPS 1:                                     16-20 as 1-5 scribbled on
AIPS 1:                                     -n < 0 => n, but no other
AIPS 1:                                        drawing in beam-plot area
AIPS 1: LABEL         0                    0->label each pane with the
AIPS 1:                                       pane number
AIPS 1:                                    1->label each with coordinate
AIPS 1:                                    2->label each with coordinate
AIPS 1:                                       relative to reference
AIPS 1:                                    -1->do not label each pane
AIPS 1: DOTV         -1                    > 0 Do plot on the TV, else
AIPS 1:                                    make a plot file
AIPS 1: TVCHAN        1                    TV channel for grey plots
AIPS 1: GRCHAN        1                    Graphics channel 0 => 1.
AIPS 1: DODARK        1                    Plot dark vectors as black?
AIPS 1: DARKLINE      0.33                 Switch to dark lines when
AIPS 1:                                    grey-scale > DARKLINE 0-1
AIPS 1: TVCORN        0           0        TV pixel location of bottom
AIPS 1:                                    left corner of image 0=> self
AIPS 1:                                    scale, non 0 => pixel scale.




More information about the Daip mailing list