Size: 528
Comment:
|
Size: 1310
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
== Descriptions == | ||Category ?||Version 3.0|| |
Line 5: | Line 5: |
This routine reads a FITS image file, extracts relevant information from the header, adds a record to the [[make_sumfiles.in]] file, and adds a raw 8- or 16- bit image to the [[IMAGEFILES]] directory. | == Description == |
Line 7: | Line 7: |
== Input Files == * FITS image file, name provided in stdin |
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 |
Line 10: | Line 13: |
== Input stdin == | The 12-character picture name consists of a one-character camera identifier, a 9-character ephemeris time, and a two-character filter identifier. |
Line 12: | Line 15: |
* FITS image file name | 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: |
Line 14: | Line 34: |
P599482141F2.FITS | |
Line 17: | Line 37: |
== Output == * a row for the image entered into the routine is made in [[make_sumfiles.in]] * a raw 16- or 18- bit image(s) to [[IMAGEFILES]] directory |
---------- ''(Compiled by KD)'' CategoryPrograms |
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)