[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

Waldhäuser Str. 64, D-72076 Tübingen, Germany
[Uni logo]


ASTDISP Source code in astdisp.pro

ASTDISP

Name
       ASTDISP
Purpose
       Print astronomical and pixel coordinates in a standard format
Explanation
       This procedure (ASTrometry DISPlay) prints the astronomical and
       pixel coordinates in a standard format.  X,Y must be supplied.  RA,DEC
       may also be supplied, and a data number (DN) may also be
       supplied.   With use of the Coords= keyword, a string containing the
       formatted data can be returned in addition or instead (with /silent)
       of printing.
Calling Sequence
       ASTDISP, x, y, [Ra, Dec, DN, COORD = , /SILENT ]
Input Parameters
       X  - The X pixel coordinate(s), scalar or vector
       Y  - The Y pixel coordinate(s), scalar or vector
Optional Input Parameters
       RA -  Right Ascention in *degrees*, scalar or vector
       DEC - DEClination in *degrees*, scalar or vector (if RA is supplied, DEC must also be supplied)
       DN -  Data Number or Flux values
       Each of the inputs X,Y, RA, DEC, DN should have the same number of
               elements
Optional Input Keywords
       SILENT    Prevents printing.  Only useful when used with Coords=
Output Parameters
       Printed positions in both degrees and sexigesimal format
       All passed variables remain unchanged
Optional Keyword Output
       COORDS    Returns the formatted coordinates in a string
Procedures Used
       ADSTRING - used to format the RA and Dec
Revision History
       10-AUG-90 Version 1 written by Eric W. Deutsch
       20-AUG-91 Converted to standard header.  Vectorized Code.  E. Deutsch
       20-NOV-92 Added Coords= and /silent.  E.Deutsch
       Converted to IDL V5.0   W. Landsman   September 1997

Last modified by pro2html on 2001 April 26 at 03:10 UTC

[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]

Jörn Wilms (wilms@astro.uni-tuebingen.de)
Updated automatically