next up previous 79
Next: RETYPE-Changes the type of the main data array in a file
Up: Applications in detail
Previous: RESAMPLE-Rebin an image to different dimensions and/or orientation


RESCALE-Rescale using user-defined upper and lower limits

Description:
This task rescales spectra/images using user-defined upper and lower limits. The scaling is such that the interval [LOWFACT,HIGHFACT] becomes the interval [0,1]. The "limits" are not thresholds, i.e. data values beyond the limits are also scaled.

Parameters:
IMAGE
Name of image to be rescaled.
LOWFACT
lower limit of rescaling.
HIGHFACT
upper limit of rescaling.
OUTPUT
Name of resulting image.

Source comments:
 R E S C A L E

 This routine rescales spectra/images using user-defined upper and
 lower limits. The scaling is such that the interval
 [LOWFACT,HIGHFACT] becomes the interval [0,1]. The "limits" are
 not thresholds, i.e. data values beyond the limits are also
 scaled.

 Command parameters -

 IMAGE  (Character) The name of the structure containing the image.
        Uses main data array, or the x-axis data for the XCxxx routines.

 LOWFAC (Numeric) The lower limit of the rescaling.

 HIGHFAC (Numeric) The upper limit of the rescaling.

 OUTPUT (Character) The name of the result of the operation.  This
        can be the same as for IMAGE.  If not, a new structure
        is created, with everything but the data a direct
        copy of the input.

 02-MAY-1992  MAS (UoM): Original version.


next up previous 79
Next: RETYPE-Changes the type of the main data array in a file
Up: Applications in detail
Previous: RESAMPLE-Rebin an image to different dimensions and/or orientation

FIGARO A general data reduction system
Starlink User Note 86
Keith Shortridge, Horst Meyerdierks,
Malcolm Currie, Martin Clayton, Jon Lockley,
Anne Charles, Clive Davenhall,
Mark Taylor, Tim Ash, Tim Wilkins, Dave Axon,
John Palmer, Anthony Holloway and
Vito Graffagnino
2004 February 17
E-mail:ussc@star.rl.ac.uk

Copyright © 2010 Science and Technology Facilities Council