[daip] [!4450]: aips - Several minor issues concerning usage of the RGB image for a background plane in KNTR

Blazej S. Nikiel-Wroczynski do-not-reply at nrao.edu
Mon Feb 10 17:58:21 EST 2014


Blazej S. Nikiel-Wroczynski updated #4450
-----------------------------------------

Several minor issues concerning usage of the RGB image for a background plane in KNTR
-------------------------------------------------------------------------------------

           Ticket ID: 4450
                 URL: https://help.nrao.edu/staff/index.php?/Tickets/Ticket/View/4450
           Full Name: Blazej S. Nikiel-Wroczynski
               Email: iwan at oa.uj.edu.pl
             Creator: User
          Department: AIPS Data Processing
       Staff (Owner): Eric Greisen
                Type: Issue
              Status: Open
            Priority: Default
                 SLA: NRAO E2E
      Template Group: Default
             Created: 09 February 2014 09:34 AM
             Updated: 10 February 2014 10:58 PM
      Resolution Due: 18 February 2014 12:00 AM (7d 1h 2m)



Here are the headers copied from AIPS:

RGB background:

AIPS 1: Image=NONE      (MA)         Filename=ARP143      .RGB   .   2
AIPS 1: Telescope=                   Receiver=
AIPS 1: Observer=                    User #=  500
AIPS 1: Observ. date=BAD DATE        Map date=07-FEB-2014
AIPS 1: Pixel type: FLOATING         Magic value blanking
AIPS 1: Minimum= 9.99919987E+00      Maximum= 1.01720001E+02 Data Val
AIPS 1: ----------------------------------------------------------------
AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat
AIPS 1: RA---ARC   391    07 46 55.522     163.00      -0.396112    0.00
AIPS 1: DEC--ARC   460    39 01 51.018     295.00       0.396112    0.06
AIPS 1: RGB          3   1.0000000E+00       1.00  1.0000000E+00    0.00
AIPS 1: ----------------------------------------------------------------
AIPS 1: Coordinate equinox 2000.00
AIPS 1: Maximum version number of extension files of type HI is   1
AIPS 1: Maximum version number of extension files of type PL is   4

3-plane radio data

AIPS 1: Image=NONE      (MA)         Filename=ARP143      .RGB   .   2
AIPS 1: Telescope=                   Receiver=
AIPS 1: Observer=                    User #=  500
AIPS 1: Observ. date=BAD DATE        Map date=07-FEB-2014
AIPS 1: Pixel type: FLOATING         Magic value blanking
AIPS 1: Minimum= 9.99919987E+00      Maximum= 1.01720001E+02 Data Val
AIPS 1: ----------------------------------------------------------------
AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat
AIPS 1: RA---ARC   391    07 46 55.522     163.00      -0.396112    0.00
AIPS 1: DEC--ARC   460    39 01 51.018     295.00       0.396112    0.06
AIPS 1: RGB          3   1.0000000E+00       1.00  1.0000000E+00    0.00
AIPS 1: ----------------------------------------------------------------
AIPS 1: Coordinate equinox 2000.00
AIPS 1: Maximum version number of extension files of type HI is   1
AIPS 1: Maximum version number of extension files of type PL is   4

1-plane radio data

AIPS 1: Got(1)   disk= 3  user= 500   type=MA   ARP143.G_HG11.3
AIPS 1: Image=J0746+39  (MA)         Filename=ARP143      .G_HG11.   3
AIPS 1: Telescope=GMRT               Receiver=GMRT
AIPS 1: Observer=                    User #=  500
AIPS 1: Observ. date=10-FEB-2013     Map date=10-FEB-2014
AIPS 1: Minimum=-4.08651278E-04      Maximum= 1.17148487E-02 JY/BEAM
AIPS 1: ----------------------------------------------------------------
AIPS 1: Type    Pixels   Coord value     at Pixel     Coord incr   Rotat
AIPS 1: RA---ARC   391    07 46 55.522     163.00      -0.396112    0.00
AIPS 1: DEC--ARC   460    39 01 51.018     295.00       0.396112    0.06
AIPS 1: FREQ         1   6.1233333E+08       1.00 -3.1250000E+07    0.00
AIPS 1: STOKES       1   1.0000000E+00       1.00  1.0000000E+00    0.00
AIPS 1: ----------------------------------------------------------------
AIPS 1: Coordinate equinox 2000.00
AIPS 1: Map type=NORMAL              Number of iterations=   61044
AIPS 1: Conv size=  10.00 X  10.00   Position angle=   0.00
AIPS 1: Observed RA   07 46 53.600    DEC  39 01 10.00
AIPS 1: Rest freq      0.000         Vel type: RADIO   wrt YOU
AIPS 1: Alt ref. value  0.00000E+00  wrt pixel    0.47
AIPS 1: Maximum version number of extension files of type HI is   1
AIPS 1: Maximum version number of extension files of type PL is   1
AIPS 1: Keyword = 'WTNOISE '  value =  6.058468E+07
AIPS 1: Keyword = 'SUMWTIN '  value = -2.328760E+01
AIPS 1: Keyword = 'CCFLUX  '  value =  6.145031E-01
AIPS 1: Keyword = 'CCTOTAL '  value =  1.634863E+00
AIPS 1: Keyword = 'SOURNAM1'  value = 'J0746+39'
AIPS 1: Keyword = 'SOURNAM2'  value = '01      '
AIPS 1: Keyword = 'MAXABSU '  value = -1.000000E+00


KNTR input:

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        2                    > 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     'ARP143'                First image name (cube?)
AIPS 1: INCLASS    'G_HG11'                First image class
AIPS 1: INSEQ         1                    First image seq. #
AIPS 1: INDISK        3                    First image disk drive #
AIPS 1:                                    Contour or grey or IPOL
AIPS 1: IN2NAME    'ARP143'                Second image name
AIPS 1: IN2CLASS   'RGB'                   Second image class
AIPS 1: IN2SEQ        1                    Second image seq. #
AIPS 1: IN2DISK       3                    Second disk drive #
AIPS 1:                                    Polarization intensity image:
AIPS 1: IN3NAME    'ARP143'                  (name) blank => INNAME
AIPS 1: IN3CLASS   'SDSS_U'                  (class) blank => 'PPOL'
AIPS 1: IN3SEQ        1                      (seq. #) 0 => high
AIPS 1: IN3DISK       3                      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        *all 0                  Bottom left corner of first
AIPS 1:                                    image.  0 => 1
AIPS 1: TRC        *all 0                  Top right corner of first
AIPS 1:                                    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            1                    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.
 FUNCTYPE   ' '                     Image intensity transfer func
AIPS 1:                                      'LN' Linear.  unknown=>'LN'
AIPS 1:                                      'LG' Logarithmic
AIPS 1:                                      'L2' More logarithmic
AIPS 1:                                      'SQ' Square root
AIPS 1:                                      'NE' Negative linear
AIPS 1:                                      'NG' Negative logarithmic
AIPS 1:                                      'N2' Negative more log.
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:                                    special values for RGBLEVS
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       1.000E-04               Absolute value for levs
AIPS 1:                                       (used only if PLEV = 0).
AIPS 1: LEVS         -5           3        Contour levels (up to 30).
AIPS 1:               5           7.5        10          20
AIPS 1:              30          50        *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: STVERS       -1                    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:                                      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        0                    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: RGBLEVS    *all 0                  Color each value of LEVS
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.

MSGSRV output (same for 1- and 3-plane radio data):

 FUNCTYPE   ' '                     Image intensity transfer func
AIPS 1:                                      'LN' Linear.  unknown=>'LN'
AIPS 1:                                      'LG' Logarithmic
AIPS 1:                                      'L2' More logarithmic
AIPS 1:                                      'SQ' Square root
AIPS 1:                                      'NE' Negative linear
AIPS 1:                                      'NG' Negative logarithmic
AIPS 1:                                      'N2' Negative more log.
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?

PCNTR input:

AIPS 1: PCNTR:  Task to generate plot file for contour plus pol. vectors
AIPS 1: Adverbs     Values                 Comments
AIPS 1: ----------------------------------------------------------------
AIPS 1: DOCONT        1                    Draw contours? select image
AIPS 1: DOVECT       -1                    Draw pol. vectors? > 0 => yes
AIPS 1: DOGREY        2                    Select grey-scale image?
AIPS 1: USERID      500                    Image owner ID number ingored
AIPS 1:                                    Total intensity image:
AIPS 1: INNAME     'ARP143'                  Image name (name)
AIPS 1: INCLASS    'G_HG11'                  Image name (class)
AIPS 1: INSEQ         1                      Image name (seq. #)
AIPS 1: INDISK        3                      Disk unit #
AIPS 1:                                    Polarization intensity image:
AIPS 1: IN2NAME    'ARP143'                  (name) blank => INNAME
AIPS 1: IN2CLASS   'RGB'                     (class) blank => 'PPOL'
AIPS 1: IN2SEQ        2                      (seq. #) 0 => high
AIPS 1: IN2DISK       3                      Disk drive #, 0 => any
AIPS 1:                                    Polarization angle image:
AIPS 1: IN3NAME    ' '                       (name) blank => INNAME
AIPS 1: IN3CLASS   ' '                       (class) blank => 'PANG'
AIPS 1: IN3SEQ        0                      (seq. #) 0 => high
AIPS 1: IN3DISK       0                      Disk drive #,  0 => any
AIPS 1:                                    Fourth image if needed
AIPS 1: IN4NAME    ' '                       (name) blank => INNAME
AIPS 1: IN4CLASS   ' '                       (class) blank => any
AIPS 1: IN4SEQ        0                      (seq. #) 0 => high
AIPS 1: IN4DISK       0                      Disk drive #,  0 => any
AIPS 1: BLC        *all 0                  Bottom left corner of images
AIPS 1: TRC        *all 0                  Top right corner of images
AIPS 1: CON3COL       0                    > 0 => overplot contours in
AIPS 1:                                    color of multiple planes
AIPS 1:                                    ZINC is CON3COL.
AIPS 1:                                    See help for more.
AIPS 1: XYRATIO       0                    X to Y axis plot ratio. 0=>
AIPS 1:                                    header inc or window ratio.
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:                                    special values for RGBLEVS
AIPS 1: PLEV          0                    Percent of peak for levs.
AIPS 1: CLEV       1.000E-04               Absolute value for levs
AIPS 1:                                      (used only if PLEV = 0).
AIPS 1:                                      CLEV=PLEV=0 => PLEV=10
AIPS 1: LEVS         -5           3        Contour levels (up to 30).
AIPS 1:               5           7.5        10          20
AIPS 1:              30          50        *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.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: DOALIGN       1                    Maps must align? > 0 => yes
AIPS 1:                                    See HELP DOALIGN!
AIPS 1: DOCIRCLE     -1                    > 0 => extend ticks to form
AIPS 1:                                    coordinate grid
AIPS 1: PIXRANGE      0           0        Min,Max of image intensity
AIPS 1:                                      0 => entire range.
AIPS 1: FUNCTYPE   ' '                     Image intensity transfer func
AIPS 1:                                      'LN' Linear.  unknown=>'LN'
AIPS 1:                                      'LG' Logarithmic
AIPS 1:                                      'L2' More logarithmic
AIPS 1:                                      'SQ' Square root
AIPS 1:                                      'NE' Negative linear
AIPS 1:                                      'NG' Negative logarithmic
AIPS 1:                                      'N2' Negative more log.
AIPS 1:                                      'NQ' Negative square root
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: OFMFILE    ' '
AIPS 1:                                    ' ' => do black & white
AIPS 1:                                    'TV' => use TV OFM
AIPS 1:                                    else read file for OFM
AIPS 1: DOCOLOR       1                    Plot RGB images as true color
AIPS 1: STVERS        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:                                      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:                                      6-9 : fill in a little
AIPS 1:                                     11-14: more filled
AIPS 1:                                     16-19: even more
AIPS 1:                                     -n < 0 => n, but no other
AIPS 1:                                        drawing in beam-plot area
AIPS 1: DOTV         -1                    > 0 Do plot on the TV, else
AIPS 1:                                    make a plot file
AIPS 1: GRCHAN        0                    Graphics channel 0 => 1.
AIPS 1: TVCHAN        1                    Grey-scale display channel
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: RGBLEVS    *all 0                  Color each value of LEVS
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.

MSGSRV error:

LOCALH> PCNTR1: Task PCNTR  (release of 31DEC14) begins
LOCALH> PCNTR1: Input maps aligned on reduced subimage only
LOCALH> PCNTR1: Do grey scale:
LOCALH> PCNTR1: ZOPEN: LUN = 20 ALREADY OPENED IN FTAB
LOCALH> PCNTR1: OPEN EXTRA PLANES GREY-SCALE IMAGE ERROR =    1
LOCALH> PCNTR1: Error during graphing will try to finish partial graph
LOCALH> PCNTR1: GFINIS: number records used       2
LOCALH> PCNTR1: Appears to have ended successfully
LOCALH> PCNTR1: localhost    31DEC14 TST: Cpu=       0.0  Real=       0


Concerning the 3rd question - I can send you a PS file from LWPLA and f.e. a screenshot of TVRGB/KNTR DOTV=1. Would that be ok?

Many thanks for your quick response!

Blazej Nikiel-Wroczynski

------------------------------------------------------
Staff CP:  https://help.nrao.edu/staff




More information about the Daip mailing list