acm_hdfix_list_markII
Updated: Mar08,2020

Revise acm image headers using an input table file. The table file is usually prepared with acm_table_markII. The basename of the table file is usually either ACMDAT or newacm, depending on whether the processing is for a full subdirectory or a partial set of new images.


% acm_hdfix_list_markII --help    

Usage: acm_hdfix_list_markII newacm N  
arg1 - basename of table file (usually ACMDAT or newacm)
arg2 - run in debug/verbose mode 

A simple example: 
% ls
newacm.images  newacm.parlab  newacm.table  S/

% acm_hdfix_list_markII newacm N
Image file = newacm.images 
Number of images in input list =  4
**** other stuff to screen ****

% ls
list.BIAS  LIST.OUT    newacm.images  newacm.parlab  S/
LIST.IN    local_red/  newacm.params  newacm.table
*** The four images with repaired headers are in:   ./local_red/HDFIX

 
In Sep2019 this routine was rewritten to use a table file as input rather than a list.

As of Mar2020 the revised acm heards ahave about 128 cards, and the new cards installed are shown in the example below:


Cards added by acm_hdfix_list_markII:

PUPILLUM=             0.939727 / Pupil illumination relative to ITF 0
TRANSPGA=            -999999.9 / guassian computed transparency
IMNUM   =                 356 /image table number
IMGTYPE =                open /imgtype
UTHOURS =            8.866389 /UT time (floating point hours)
ACMBASE =  20190724T085208.0_ /FITS image basename
FBPCOR  =                   Y / fixed bias pattern correction applied (Y/N)
BIASMEAN=           1400.0135 / mean bias subtracted
BIASSIG =              1.0782 / stan.dev. of bias among images


Note that the value of ACMBASE is a trncated version of the original acm image basename. This was done to preserve the standat 21 character FITS card value. The only part missing is the fixed string "acm_sci", so no real information loss is sustained.




Back to SCO CODES page