An arbitrary list of columns, and range of rows may be selected to to be SUMmed or AVeraGed. The resulting single row table can be placed into a new file or appended to an already existing file as a table extension. The FITS file to read. If no extension is given, the program tries to read the the first extension. The FITS file to which to write the new table.
Any extension given is ignored.
If the file does not exist, it will be created with a primary array followed by a table extension. If the ouput file exists, the output table will be appended to the output file unless the clobber parameter is set to 'yes'. The names of all the columns to be listed in the output. If no names are given, then by default all the columns in the table will be processed. The column names must be separated by commas or spaces in the list.