[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


SXREAD Source code in sxread.pro

SXREAD

Name
       SXREAD
Purpose
       Read a Space Telescope STSDAS image file
Calling Sequence
       result = sxread( Unit, group , [par] )
Input Parameters
       UNIT  =  Unit number of file, must be from 1 to 9.
               Unit must have been opened with SXOPEN.
       GROUP  =  group number to read.  if omitted, read first record.
               The first record is number 0.
Output Parameters
       Result of function  =  array constructed from designated record.
Optional Output
       PAR  =  Variable name into which parameter values from STSDAS
               group parameter block are read.  It is a byte array
               which may contain multiple data types.  The function
               SXGPAR can be used to retrieve values from it.
Common Blocks
       Uses IDL Common STCOMMN to access parameters.
Note
       Use the function SXGREAD to read the group parameter blocks without
       having to read the group array.
       If the STSDAS file does not contain groups, then the optional output
       parameter PAR is returned undefined, but no error message is given.
Side Effects
       IO is performed.
Revision History
       WRITTEN, Don Lindler, July, 1 1987
       Converted to IDL V5.0   W. Landsman   September 1997

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

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

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