= process_fits = ||Category ?||Version 3.0|| == Description == This program * reads a FITS image file * extracts relevant information from the header * adds a record to the [[make_sumfiles.in]] file * adds a raw 8- or 16- bit image to the [[IMAGEFILES]] directory The 12-character picture name consists of a one-character camera identifier, a 9-character ephemeris time, and a two-character filter identifier. The data stored in each image file contained in the [[IMAGEFILES]] directory is a scaled unsigned integer (2 bytes or 16 bits), with the exclusion of values less than 0. Acceptable values are from 0 to 32767. If the source is a real (or 32-bit float) value '''process_fits''' takes the original images' data float and calculates the maximum value. Then it scales the data to spread from 0 to 32767 to maximize the accuracy of the stored data. === Required Files === * FITS image file - You provide the name as part of the standard input. === Outputs === * a row for the image is appended to [[make_sumfiles.in]] * raw 16- or 18-bit image(s) are stored to [[IMAGEFILES]] directory ---------- == Using process_fits == Here is a sample of the standard input: {{{ P599482141F2.FITS }}} ---------- ''(Compiled by KD)'' CategoryPrograms