AIPS HELP file for IM2TX in 31DEC26
As of Tue Feb 10 2:20:59 2026
IM2TX: Convert a region of an image to 1-D text file
INPUTS
INNAME Input image name (name)
INCLASS Input image name (class)
INSEQ 0.0 9999.0 Input image name (seq. #)
INDISK 0.0 9.0 Input image disk unit #
BLC Bottom left corner of input
TRC Top right corner of input
OPCODE Operation code.
OUTFILE
Output file name
HELP SECTION
IM2TX
Task: Sums an image over a region in N-1 dimensions and writes the
result to a text file as a one-dimensional array in the
remaining dimension. This is often used to extract spectra
at a pixel or over a region in celestial coordinates. A
complementary task TX2IM converts the text file back into a
one-dimensional image.
Adverbs:
INNAME.....Input image name (name). Standard defaults.
INCLASS....Input image name (class). Standard defaults.
INSEQ......Input image name (seq. #). 0 => highest.
INDISK.....Disk drive # of input image. 0 => any.
BLC........Bottom right corner in input image of desired subimage.
Default is entire image.
TRC........Top right corner in input image of desired subimage.
Default is entire image.
OPCODE.....'1SUM' spectrum in axis 1, sum over BLC-TRC in axes 2-N
'2SUM' spectrum in axis 2, sum over BLC-TRC in axes 1,3-N
'3SUM' spectrum in axis 3, sum over BLC-TRC in axes 1,2,
4-N
'1AVG', '2AVG', '3AVG' similar but average the sums and
output the rms (in a 3rd data column)
'1RMS', '2RMS', '3RMS' similar but output the rms only
OUTFILE....Output text file. The usual form is given by a logical,
then a colon, and then the file name. 'MYDISK:myfile
without a trailing quote to allow lowercase letters.
EXPLAIN SECTION