acm_table_qc , acm_table_qc_markII
Last updated: Sep17,2019

Create summary files (list.BIAS, list.OPEN, etc...) that summarize the image types present in an image table like that compiled with codes like acm_image_table and acm_table. In Sep2019 I decided to expand the capabiliies of this code using new table function routine I had compiled. I describe belwo how I use these new routines to build acm_table_qc_markII.

  
% acm_table_qc --help
Usage: acm_table_qc ACM Y N                
arg1 - basename of the tbale file          
arg2 - build image lists by IMGTYPE? (Y/N) 
arg3 - run in verbose/debug mode           

% acm_table_qc  ACMDAT N N  
  10   0   455   54   (Nbias,Ndark,Nopen,Nnone)  

 

In Sep2019 I began to modify the survey_headers.sh routine to compile new acm quantities (e.g. AMGTEMP). I wanted to survey many nights of acm image data to determine when the abient tempertaure (AMBTEMP) or other properties were recodred in the acm image headers.

  
I can compile a table file with (with BaseDir and Date present): 
% acm_table_markII N

Then I can sompute useful numbers of image types: 

Images with AMBTEMP values:   
% table_fprange_mask ACMDAT AMBTEMP -50 50 mask1 N
% mask_numbers mask1 N
 519  0  519   (Nyes Nno Ntotal) 

Images with AMBTEMP values:   
% table_text_mask ACMDAT fil g\` mask2                  # mark the g image s
% table_text_mask ACMDAT imgtype open mask3             # mark the open images 
% masklogic.sh mask2 mask3 and maskout N                # AND-combine the two masks 
% mask_numbers maskout N                                # Get the number of Y values 
 316  203  519   (Nyes Nno Ntotal) 
**** hence, there were 316 images with imgtype="open" and filter name = g` 

 
Combining these routines I now have a much more efficient routine:
  
% acm_table_qc_markII ACMDAT N 
  519 455 10 0 54 519 0 316 0 139 

% cat acm_table_qc_markII.parlab 
Ntot     Total number of images 
Nopen    Number of images with imgtype=open 
Nbias    Number of images with imgtype=bias 
Ndark    Number of images with imgtype=dark 
Nnone    Number of images with imgtype=none 
Ntemp    Number of images with temperature 
NoB      Number of open images with B filter 
Nog      Number of open images with g filter 
Nor      Number of open images with r filter 
Noi      Number of open images with i filter 
 




Back to SCO code page