[AIT logo]

Institut für Astronomie und Astrophysik

Abteilung Astronomie

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


STSUB Source code in stsub.pro

STSUB

Name
       STSUB
Purpose
       Subroutine of STSUBIM to read a subset of a SDAS image file.
Explanation
       User can specify a subimage range or a step size    Called by STSUBIM
Calling Sequence
       Result =  stsub( unit, x1, x2, y1, y2, step)
Input Parameters
       UNIT      =  Unit number of file, must be from 1 to 9.
                    Unit must have been opened with SXOPEN.
       x1        =  lower x value
       x2        =  upper x value
       y1        =  lower y value
       y2        =  upper y value
       step      =  used to extract every nth pixel.  If step = 1, a full res.
                    subimage is extracted; step = 2, every other pixel is
                    extracted, etc.  Defaults to 1.  The minimum value is 1.
Output Parameters
       Result of function = array constructed from designated record.
Common Blocks
       Uses idl common stcommn to access parameters (see SXOPEN)
Revision History
       Written, M. Greason, STX, July 1990.
       Remove initialization of array for increased efficiency  January, 1991
       Removed call to STSUBC.EXE, do it all in IDL
                                      - K. Venkatakrishna, STX, April 1992
       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