MAPSTAT MAPSTAT is a program to find the mean, rms, maximum, minimum, and centroid of a map produced by the VLBI program package. It can read standard FITS-format images. It is roughly equivalent to the AIPS task, IMEAN. Example $ MAPSTAT MAPFILE="[SCRATCH]MAP.SU1" XRANGE=3,50 YRANGE=10,20 / XRANGE=43,45 YRANGE=22,24 / EXIT / Parameters Parameter names may be abbreviated. End the list of parameters with a slash (/). To exit from the program, type "EXIT /" or control-Z. MAPFILE = 'filename' : specifies the name of the input file. Several files can be analysed in one run of MASTAT. The default file name is the 'logical name' MAP: this means that the file name can be specified in a DCL ASSIGN statement, eg ASSIGN [SCRATCH]MAP345.DAT MAP. If no assignment is made, the filename will default to MAP.DAT. XRANGE = i1,i2 : YRANGE = j1,j2 : These two parameters control the region of the map over which the statistics are calculated. The values are pixel numbers, in range 1 to dimension of map. The default, obtained by XRANGE=0,0 or YRANGE=0,0 uses the whole of the map. Normally the X pixel number increases from left to right; the Y pixel number increases from top to bottom for VLB maps, but may increase from bottom to top for other maps (e.g., those made by AIPS). Note that the Y range printed by the program may have had the order of values inverted relative to the YRANGE input. LISTFILE = filename : use this parameter to redirect the output of the program to a file. The default is "SYS$OUTPUT", i.e., usually the terminal. EXIT : Exit from the program. MAPSTAT Page 2 History Version 1.0: 1987 Mar 18 (R. C. Walker). Adapted from MAPPLOT. Version 1.1: 1987 Mar 23 (T. J. Pearson). Add LISTFILE and centroid. Version 1.2: 1988 Apr 4 - changes for Convex (TJP).