Size: 1337
Comment:
|
Size: 1950
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
||Category b||Version 3.0A2|| | ||Category B||Version 3.0.1|| |
Line 11: | Line 11: |
* adds a raw 8- or 16- bit image to the [[IMAGEFILES]] directory | * adds a raw 16- bit unsigned integer image to the [[IMAGEFILES]] directory |
Line 13: | Line 13: |
The 12-character picture name consists of a one-character camera identifier, a 9-character ephemeris time, and a two-character filter identifier. | [[OREx Naming convention]] |
Line 15: | Line 15: |
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. | === Level 0 === |
Line 17: | Line 17: |
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. | The data stored in each image file contained in the [[IMAGEFILES]] directory is a scaled unsigned integer (as 14 bits folded into 16 bits), with the exclusion of values less than 0. Acceptable values are from 0 to 16,383. === Level 1 === 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 65536 to maximize the accuracy of the stored data. == ECR Changes from 3.0A2 == * Support OREx level 0 images * Trim the second channel from the image to make it 1024x1024 * Remove dark/bias -- This comes from the shielded overscan region * Correct the flat field * Desmear the image |
Line 22: | Line 33: |
* DATA/[[DN2TEMP.TXT]] * DATA/[[FLATFILES.TXT]] |
|
Line 25: | Line 38: |
* raw 16- or 18-bit image(s) are stored to [[IMAGEFILES]] directory | * 16 image(s) are stored to [[IMAGEFILES]] directory. Stretched from 0 to 65536 = WARNING == * The program [[display]] will put the 0,0 position of the image in the top left, but OREx wants 0,0 to be in the bottom left. |
Line 34: | Line 50: |
P599482141F2.FITS | Input filename 2019-01-20T22-47-05.541_PCAM_L0b_V004.fits OKAY 2019 JAN 20 22:47:05.050 EXPOSURE(ms) = 100.000 MSB SIGNED 0.00 0.00 0.00 0.00 0.00 5.0000000000000000 P601296494J3 |
PROCESS_FITS
Category B |
Version 3.0.1 |
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 16- bit unsigned integer image to the IMAGEFILES directory
Level 0
The data stored in each image file contained in the IMAGEFILES directory is a scaled unsigned integer (as 14 bits folded into 16 bits), with the exclusion of values less than 0. Acceptable values are from 0 to 16,383.
Level 1
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 65536 to maximize the accuracy of the stored data.
ECR Changes from 3.0A2
- Support OREx level 0 images
- Trim the second channel from the image to make it 1024x1024
- Remove dark/bias -- This comes from the shielded overscan region
- Correct the flat field
- Desmear the image
Required Files
- FITS image file - You provide the name as part of the standard input.
DATA/DN2TEMP.TXT
DATA/FLATFILES.TXT
Outputs
a row for the image is appended to make_sumfiles.in
16 image(s) are stored to IMAGEFILES directory. Stretched from 0 to 65536
= WARNING ==
The program display will put the 0,0 position of the image in the top left, but OREx wants 0,0 to be in the bottom left.
Using process_fits
Here is a sample of the standard input:
Input filename 2019-01-20T22-47-05.541_PCAM_L0b_V004.fits OKAY 2019 JAN 20 22:47:05.050 EXPOSURE(ms) = 100.000 MSB SIGNED 0.00 0.00 0.00 0.00 0.00 5.0000000000000000 P601296494J3
(Compiled by KD)