[daip] KNTR/adverbs

Eric Greisen egreisen at nrao.edu
Tue Dec 3 10:32:49 EST 2002


Lynn D. Matthews writes:

 > I see there have been some updates to KNTR, and I am no longer able to get
 > the task to run. The error message isn't helpful in tracking the problem,
 > as it says only:
 > 
 > RGLINU> KNTR 1:
 > RGLINU> KNTR 1: Purports to die of UNNATURAL causes
 > RGLINU> KNTR 1: !!linux2     31DEC02 TST: Cpu=       0.0  Real=       0
 > 
 > I've attached a copy of my parameter file in case it's something
 > obvious I'm overlooking.

    Is this all it says after starting up?  I have revised the task
rather substantially, but Amy and I have been running it a lot with
good results.

 > 
 > A second comment is that recently every time I start up AIPS and attempt
 > to run tasks such as IMAGR (or KNTR), I need to do a "RUN NEWPARMS" each
 > time to define missing adverbs (NCHAV, DOCOLOR).

    If you do not save the new vocabulary in the LASTEXIT file then
you will have to get it every time.  Also if you have old SAVE/GET
files you need to GET them, say COMPRESS (which I prefer to NEWPARMS)
and then SAVE them under their exact name.  Otherwise the new
vocabulary will not be a part of them.  Usually, users start aips,
discover they need new adverbs and so compress or newparms, and then
when they exit the new vocabulary is saved.  I do not know why that is
not working in your case.

 > 
 > 	Lynn
 > AIPS 1: KNTR:  Task to generate a plot file for a contour & grey plot
 > AIPS 1: Adverbs     Values                 Comments
 > AIPS 1: ----------------------------------------------------------------
 > AIPS 1: DOCONT        1                    > 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     'SMOOTHRAN   '          First image name (cube?)
 > AIPS 1: INCLASS    'ICL001  '              First image class
 > AIPS 1: INSEQ         4                    First image seq. #
 > AIPS 1: INDISK        4                    First image disk drive #
 > AIPS 1:                                    Contour or grey or IPOL
 > AIPS 1: IN2NAME    '            '          Second image name
 > AIPS 1: IN2CLASS   '      '                Second image class
 > AIPS 1: IN2SEQ        0                    Second image seq. #
 > AIPS 1: IN2DISK       0                    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           0           0        Bottom left corner of first
 > AIPS 1:              32        *rest 0     image.  0 => 1
 > AIPS 1: TRC           0           0        Top right corner of first
 > AIPS 1:              32        *rest 0     image;   0=>entire image
 > AIPS 1:                                    Multiple planes of a cube
 > AIPS 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        Min,Max of image intensity
 > AIPS 1:                                      0 => entire range.
 > AIPS 1: FUNCTYPE   'LN'                    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    '                                                '
 > AIPS 1:                                    ' ' => do black & white
 > AIPS 1:                                    'TV' => use TV OFM
 > AIPS 1:                                    else read file for OFM
 > AIPS 1: DOCOLOR      -1                    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        0.0012                 Absolute value for levs
 > AIPS 1:                                       (used only if PLEV = 0).
 > AIPS 1: LEVS         -2          -1        Contour levels (up to 30).
 > AIPS 1:               1           2           4           8
 > AIPS 1:              16          32        *rest 0
 > 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                    Pol. vector cutoff. P units.
 > AIPS 1: ICUT          0                    Int. vector cutoff. I units.
 > AIPS 1: DOBLANK      -1                    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      0                    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:                                     -1: 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: 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.
 > 

I'll try this again momentarily - I just got in after all - and see if
your set of adverbs does anything odd.

Cheers,

Eric



More information about the Daip mailing list