[daip] imdist bug in multi-image ?

Lorant Sjouwerman lsjouwer at nrao.edu
Fri May 6 10:15:04 EDT 2005


I'm using different images (a different inclass and in2class)
but imdist takes the same image as input - which is not what is
advertised in the explain file

As a side note, maybe next to the radial spherical distance in degrees, it 
can also report the distance (in arcseconds??) for RA and Dec seperately
(I'm sure those numbers are calculated) to be used in rashift and decshift

>inp imdist
AIPS 4: IMDIST:  Verb to determine spherical distance between pixelsC
AIPS 4: Adverbs     Values                 Comments
AIPS 4: ----------------------------------------------------------------
AIPS 4: USERID        0                    User ID.  0 => current user,
AIPS 4:                                      32000 => any user.
AIPS 4: INNAME     'R3-84-20CM  '          Image name(name).
AIPS 4: INCLASS    'ICL002'                Image name(class).
AIPS 4: INSEQ         1                    Image name(seq. #). 0=>high
AIPS 4: INDISK        1                    Disk drive #.       0=>any
AIPS 4: PIXXY       128         129        (X,Y,...) pixel in image
AIPS 4:            *rest 0
AIPS 4: IN2NAME    'R3-84-20CM  '          Second image name(name).
AIPS 4: IN2CLASS   'ICL001'                Second image name(class).
AIPS 4: IN2SEQ        2                    Second image seq #.
AIPS 4: IN2DISK       0                    Second Disk drive #.
AIPS 4: PIX2XY      128         129        (X,Y,...) pixel in image
AIPS 4:            *rest 0
>imdist
AIPS 4: Using the same image for both
AIPS 4: The distance between RA 00 42 18.71000 , DEC 41 29 26.7000
AIPS 4:                  and RA 00 42 18.71000 , DEC 41 29 26.7000 is
AIPS 4:      0.00000 arc seconds at position angle   0.00 degrees
>expl imdist
 euro      AIPS (31DEC05)   1905     06-MAY-2005  08:03:07    Page    1
Explanation of IMDIST in AIPS version 31DEC05
IMDIST
Type: Verb
Use: IMDIST uses two pixel coordinates from one or two images to
     determine the spherical angular distance between them.
Adverbs (input):
  USERID......User ID of owner of image.  0 => current user,
                32000 => any user.
      First image pixel
  INNAME......Image name(name).        Standard defaults.
  INCLASS.....Image name(class).       Standard defaults.
  INSEQ.......Image name(seq. #).      0 => highest.
  INDISK......Disk drive # of image.   0 => any.
  PIXXY.......(X,Y,...) pixel location in image.  NOT zero
              on the X and Y axes anyway.
      Second image pixel
  IN2NAME.....Image name(name).        ' ' -> use 1st image
  IN2CLASS....Image name(class).       ' ' -> use 1st image
  IN2SEQ......Image name(seq. #).      0 -> use 1st image
  IN2DISK.....Disk drive # of image.   0 -> use 1st image
  PIX2XY......(X,Y,...) pixel location in image.  NOT zero
              on the X and Y axes anyway.
Adverbs (output):
  DIST........Distance between pixels in degrees.
----------------------------------------------------------------



Regards,

Loránt Sjouwerman - Scientific Services - lsjouwerman at nrao.edu
--------------------------------------------------------------
c/o NRAO Array Operations Center       Phone:  +1-505-835-7332
    P.O. Box 0 (1003 Lopezville Rd)    Switch: +1-505-835-7000
    Socorro NM 87801                   Fax:    +1-505-835-7027




More information about the Daip mailing list