S L I C E
SLICE creates a 'spectrum' by taking a slice through a two
dimensional image. This particular program is essentially
lifted from the AIPS package and uses the scheme described there
as 'Everett Interpolation'. For more details see the comments
for the various subroutines such as FIG_CSLICE. Note that the
'slice' through the image is conceptually of zero width - i.e. it
is a slice through the interpolated surface represented by the
discrete image data.
Command parameters -
IMAGE (Character) The image from which the slice is to be
taken.
YSTART (Numeric) The AXIS(2) value for the start of the slice.
YEND (Numeric) The AXIS(2) value for the end of the slice.
XSTART (Numeric) The AXIS(1) value for the start of the slice.
XEND (Numeric) The AXIS(1) value for the end of the slice.
Note that YSTART etc can represent any point in the
image, and the convention is that axis data values
for pixels refer to the CENTERS of those pixels -
This means, for example, that if IMAGE is a 256 by 256
image, the commands
SLICE IMAGE XSTART=1.0 XEND=256.0 YSTART=128.0 YEND=128.0
EXTRACT IMAGE,128,128 will have exactly the same
results.
ELEMENTS (Numeric) Number of pixels in the resulting spectrum.
SPECTRUM (Character) The resulting spectrum.
KS / CIT 23rd March 1984
FIGARO A general data reduction system