acmred
Updated: Jul01, 2019

A custom script designed to process raw acm (HET acquistion camera) images.


% acmred --help    

Usage: acmred /home/sco/tmp/local_red/WCS/20190217T122456.6_acm_sci.fits N 
arg1 - name of FITS image with WCS installed (can be fullpath) 
arg2 - run in debug/verbose mode (Y/N)  

 
This is a custom script becasue it performs the ccd processing as well as the WCS- and ZP- calibration steps on an image-by-image basis.

I will review the sequential steps performed by acmred.



1) A large ds9 window is prepared for (i.e. a ds9_open.Size file is made). 

2) The FITS image basename is extracted. 

3) The ./local_red/SKYSB directory is searched for this image. If a version 
   is present, then the user is queried about whether to re-reduce the image. 

4) The pasa code is run to "Process a single acm". 
      - creates a local image copy 
      - fixes the image header (using acm_hdfix_list == a lot of slow parts) 
      - perform bais and dark correction with acm_process.sh
      - shows user the raw and processed images in ds9 (if desired)
   At the end of pasa, images are deposited in the ./local_red subdirs: 
      RAW/    == a copy of the original image 
     HDFIX/  == the FITS header is repaired 
     FIXUP/  == ccd-processing is performed 

5) The wcsf code is run to install WCS in the image header. 

6) The zpmido code is run to install phtometric 
   ZP information in the image header. 

6) The skysb_mido code is run to derive and 
   install sky surface brightness measurements in the image header. 




Back to SCO CODES page