lx_wmap_run_iterative_calibration, "/home/user/uncalibrated-tod/", "/home/user/calibrated-tod/", "/home/user/calibration-solutions/", "/home/user/uncalibrated-tod-sql/", "/home/user/map-making/", "/home/user/auxiliary/", "wmap_processing_r9_mask_3yr_v2.fits", 80, 1, 1, "Q1", 5
Provided that there is one year of data in "/home/user/uncalibrated-tod/" use the whole year. The command above extracts the necessary information from the archives for calibration of "Q1" assembly into "/home/user/uncalibrated-tod-sql/". It also makes a copy of uncalibrated archives to "/home/user/calibrated-tod/" which will serve as calibrated archives for map-making. Calibration solutions for each iterative run go to "/home/user/calibration-solutions/" and maps to "/home/user/map-making/". Each map is iterated 80 times and the whole procedure is repeated in total 5 times.
NOTE #1: In case you already have extracted data. It is possible to copy the files manually into "/home/user/uncalibrated-tod-sql/" prior to calibration. This forces the routine to skip the extraction step.
NOTE #2: To save storage space, the routine does not store a copy of calibrated FITS files and raw SQL database files after each iteration. It rather overwrites any previous versions of the files. The number of calibration / raw data reduction runs already performed on any given assembly is stored in a calibration log file in the auxiliary directory. The log stores an IDL structure and can be loaded and edited in IDL. When re-running the procedure on an already processed assembly, make sure to first clear the associated log entry.