acm_table
Last updated: Jul04,2019

NOTE: A more efficent alternative is survey_headers.sh. It makes a samller table, but provide s amuch faster way to get the files like list.BIAS and list.OPEN.

Survey the acm images for a given night (specified with local BaseDir and Date files) and assemble a table file. These data, including the acm images, can be inspected with codes like xyplotter_auto , table_point_selector , point_selector. Such a table can be used to summarize image types using acm_table_qc.

It is is important to note that this code creates a local ./local_red/BASIC subdirectory. In the past this subdirectory was used to perform batch header processing. This subdirectory is no longer needed when we run the pasa routine to process acm images. I sometimes delete the BASIC subdirectory before running a set of images with acmred_list, however, it is not big deal if this subdirectory is left to remain.

  
% acm_table --help
Usage: acm_table 10.0 N 
arg1 - Percentage of image height used for statistics 
arg2 - run in verbose/debug mode (Y/N) 

The important products are the ACM table files. The acm_table_qc can be used to surevy the ACM table and establish the files: list.BIAS, list.DARK, and list.OPEN (the bias, dark, and sky images).

Below I show a typical run.

 % ls 
BaseDir  Date  S/
% cat BaseDir 
/media/sco/DataDisk1/sco/AD/HET_work/acm_raw_subsets
% cat Date 
20180222

% acm_table 10.0 N 

% ls 
ACM.images  ACM.parlab	ACM.table  BaseDir  Date  list.IMAGES  LIST.IN	LIST.OUT  local_red/  S/  xyplotter_auto.pars

% ls ./local_red/ 
BASIC/

As noted , I can delete ./local_red/BASIC is desired.

There are a number of routines crititcal to acm_table that I revised in Feb2019 to allow effecient operation even on mcs. Some of the more important ones are:

  
 pas_imlistgen 
 image_process_list 
 acm_list_markII 
  survey_images.sh 
  acm_table_files 

To use the table file made with acm_table:
  Generic_Points 
  xyplotter_auto 
  point_selector 





Back to SCO code page