Compute the mean bias image, as well as collect a variety of bias information, for a night of acm image data specified by UT date. The basic input is a list of data that can be easily generated with the routine dateleist.sh. This code (multi_acm_bias) can be run on multiple machines, but a local BaseDir file is needed to specify the top level subdirctory of the acm image sets (i.e. on mcs the BaseDir file would conatin the string: /hetdeata/data).
% multi_acm_bias --help usage: multi_acm_bias list.1 [-v] arg1 = list dates to be runThe basic job of this routine is, for each date specifiied in the input list, run the acm_table_markII routine to survey the acm images present. Next, if bias images are found to be present for the night, the acm_bias_for_date is run (just as it is in the AcmRunDate routine) to build the mean bias frame and fixed bias pattern (FBP) file for that night. A table file is built (basename = "multi_acm_bias") that summarizes a lot of the bias properties for each night. After building thsi code it was determined that we might like to see properties of the individual bias frames, not the stacked mean frames, in order to search for bias variations that occur during a night. the routine named acm_bias_singles can be used for this.
For a large number of date I typically run this routine on vdas (as sco), but for development and demonstrations (like below) it is convenient to run this on sco2019 (the Ubuntu 18.04 machine in my home office). Here is a summary of an example like that.
% pwd /home/sco/BIAS_Study_Jul2020/Test_scohome_1 % cat BaseDir /media/sco/DataDisk1/sco/AD/HET_work/acm_nights % datelist 2017 -ny 4 > list.2 # makes a ist for 4 years starting with 2017 % multi_acm_bias list.2 % ls % ls BaseDir bias_20180106/ bias_20180402/ bias_20190217/ bias_20190718/ bias_20191018/ multi_acm_bias.table bias_20170906/ bias_20180107/ bias_20180403/ bias_20190218/ bias_20190724/ bias_20191020/ bias_20171108/ bias_20180109/ bias_20180404/ bias_20190219/ bias_20190806/ bias_20191022/ bias_20171129/ bias_20180114/ bias_20190204/ bias_20190318/ bias_20190908/ bias_20191026/ bias_20171231/ bias_20180115/ bias_20190205/ bias_20190612/ bias_20190909/ bias_20191027/ bias_20180101/ bias_20180116/ bias_20190206/ bias_20190624/ bias_20191006/ bias_20191113/ bias_20180102/ bias_20180206/ bias_20190207/ bias_20190711/ bias_20191007/ list.2 bias_20180105/ bias_20180208/ bias_20190216/ bias_20190714/ bias_20191015/ multi_acm_bias.parlabThe table file with basename "multi_acm_bias" can be used to make a variety of useful plots. The individual mean bias files are contained in the "bias_yyyymmdd" subdiretories. The files in these subdirectories are used for running acm_bias_singles.