Previous: CADD/CSUB/CDIV/CMULT - image/scalar arithmetic
Up: Selected data processing facilities
Next: SPECTRUM/SPECPLOT - On-line data reduction
Previous Page: CADD/CSUB/CDIV/CMULT - image/scalar arithmetic
Next Page: SPECTRUM/SPECPLOT - On-line data reduction

SQEL/EXTRACT - spectrum/sub-image extraction

SQEL adds together a contiguous set of rows or columns of a 2D image to give a 1D image. EXTRACT extracts a 2D sub-image. Together with the image arithmetic utilities they can be used to calculate buildups, sky-subtract etc.


SQEL requires five, the input (Integer*2) image, the output image, the direction in which to add (X or Y) and the range of rows/columns to add.

EXTRACT requires six, the input (Integer*2) image, the low X limit, the high X limit, the low Y limit, the high Y limit and the output image. If omitted, all parameters are prompted for.


Adam:> SQEL R1 T1 X 100 104 * Adam:> EXTRACT R10 100 109 1 580 T2 *

Wed Apr 6 22:56:39 BST 1994