Some niceties of using syntax in are:
As an example, these shortcuts allow the following AIPS command sequence:
> INNAME = ’3C138’ C R |
|
> INCLASS = ’IMAGE’ C R |
|
> INSEQ = 0 C R |
|
> BLC = 200 , 200 C R |
|
> TRC = 300 , 300 C R |
|
> OUTNAME = ’3C138’ C R |
|
> OUTSEQ = 5 C R |
|
to be shortened to:
> Inn ’3c138’ ; INC ’image’ ; blc 200 ; Trc 300 C R | (Note use of upper and lower case.) |
> go prti C R | (Task name can be in either case, too.) |
The physical name of the data file is generated internally, depends on the type of computer, and will not often concern you as a user. You will refer to an image by specifying its disk number, the type of image (’MA’ for images, ’UV’ for uv data), and the following three parts of the image designation:
Each of these parts corresponds to separate input adverbs called INNAME, INCLASS, and INSEQ (and their variations). You can choose the image name arbitrarily and sensible choices will reduce other book-keeping. Many programs will choose a reasonable image name if you do not specify one.
A common set of conventions for the name adverbs is used throughout . INNAME ’ ’ C R means “accept any image name with the specified class and sequence.” INSEQ 0 C R means “accept any image with the specified name and class” or, if only one image is to be used, “accept the image with the specified name and class having the highest sequence number.” OUTNAME ’ ’ C R means “use the actual INNAME.” OUTCLASS ’ ’ C R means “use the task name,” except for tasks that write more than one output image, in which case task-based defaults will be used. OUTSEQ 0 C R means “use a sequence number that is one higher than that of any files currently on disk with the same name and class as the requested output file.” The name and class strings also support “wild-card” characters for input and output. This feature is especially powerful in tasks, such as FITTP, that can be told to operate on all images that match the specified name parameters. Type HELP INNAME C R and HELP OUTNAME C R for details. The verb NAMEGET will convert the INNAME set of adverbs to the values that would be used by a task. This is especially useful in complicated procedures.
Only the array data, in the form of 4-byte floating-point numbers, are stored in the image or uv data file. The header information is stored separately for each image or uv data set. Directory information is stored in a special file, called the Catalog File. Each disk has one such file for each user and it contains directory information for all images and uv data sets belonging to that user.
Extension files may be associated with any image data file. Each image can have (in principle) up to fifty types of extension files and up to 46655 “versions” of each type. These subordinate files contain additional information associated with the image and are designated by a two-letter type code. ‘HI’ is a history file, ‘CC’ is a Clean components file, ‘PL’ is a plot file, ‘AN’ is an antennas file, ‘SL’ is a slice file. In , an extension file associated with an image is uniquely specified by the usual file-naming adverbs plus the extension file type (adverb INEXT) and the version number (adverb INVERS). The default convention for INVERS is reasonable — on input, zero means the highest (i.e., most recent) version and, on output, the highest plus one.
Array elements in an image are designated by their pixel coordinates (counts). If M(i,j,k,l,m,n,o) is a seven-dimensional array, the (1,1,1,1,1,1,1) pixel will be associated with the lower left hand corner of the image. The ith (first) coordinate increments fastest and is associated with a column in each plane of the image. The jth (second) coordinate is associated with a row in each plane. The other coordinates allow the image to be generalized to cover up to seven dimensions, i.e., “cubes” and the like. The two adverbs BLC for bottom left corner and TRC for top right corner let you specify the desired sub-array in up to seven dimensions. When a sub-image is taken from an image, the pixel designation of any image element will usually change.