= SAS37 Calibration = There are 2 databases to be calibrated, SAS37 and SAS37.diff, they will have different calibration techniques == SAS37 Diff == Generically, calibration of 3pi / MD has consisted of (see trunk/tools/dvodb_calib) : * addstar -resort * setphot (ubercal) * relastro part 1 (-update-chips) * relastro part 2 (-update-objects) * relphot I am not sure how to implement anything except addstar -resort, which I will do as follow: === addstar resort === {{{ addstar -resort -D CAMERA GPC1 -D CATDIR (sas37.diff) }}} === other steps? === How do I make objects? == SAS37 (Cam/Stack/FullForce) == I have confusion here, so I have listed here the method gene used for SAS34/35, the method I've used previously for 3pi and MD, and the proposed method === Gene's SAS34 calibrations === Gene has provided SAS34 calibration scripts - (run.sascals in the SAS34/35 directory) The steps for sascal are as follows: {{{ setphot -update -ubercal -no-metadata -D CATDIR (dir) (ubercalfile) }}} {{{ relphot -v -images g,r,i,z,y -imfreeze -mosaic -D MAG_LIM 32.0 -D SIGMA_LIM 0.1 -D STAR_TOOFEW 1 -D STAR_CHISQ 20.0 -D IMAGE_OFFSET 2.0 -D CAMERA gpc1 -nloop 15 -basic-image-search -statmode WT_MEAN -max-density 3000 -cloud-limit 0.5 -region 320 340 -10 10 -boundary-tree tess.3pi.fits -D CATDIR $catdir -update }}} {{{ relastro -images -update-chips -v -images -update-chips -D CATDIR $catdir -basic-image-search -update -D RELASTRO_SRC_MEAS_TOOFEW 1 -D RELASTRO_SIGMA_LIM 0.05 -dcr-blue-color g i -dcr-red-color z y -statmode INNER_MEAN }}} === Old way of SAS / MD / 3pi calibrations === The steps from calibrating 3pi V1, MD PV2 are as follows : {{{ addstar -resort -D CAMERA GPC1 -D CATDIR (sas37) }}} {{{ setphot -update -ubercal -no-metadata -D CATDIR (dir) (ubercalfile) }}} {{{ relastro -region (region) -D CATDIR (catdir) -update-chips -D RELASTRO_SRC_MEAS_TOOFEW 1 -D RELASTRO_SIGMA_LIM 0.1 -nloop 6 -basic-image-search -reset -update -parallel -max-density 2000 -threads 4 -v }}} {{{ relastro -region (region) -D CATDIR (catdir) -update-objects -pmpar -D PM_DT_MIN 1.0 -D PAR_FACTOR_MIN 0.25 -statmode WTMEAN +photcode g,r,i,z,y,J,H,K -update -parallel -reset -v }}} {{{ relphot -region (region) -D CATDIR (catdir) -images -imfreeze -mosaic -D MAG_LIM 32.0 -D SIGMA_LIM 0.1 -D STAR_TOOFEW 1 -D STAR_CHISQ 20.0 -D IMAGE_OFFSET 2.0 -D CAMERA gpc1 -nloop 25 -basic-image-search -update -reset -threads 4 -parallel -statmode WT_MEAN -max-density 2000 -boundary-tree ~ippdvo/tesstables/tess.3pi.fits g,r,i,z,y }}} === The proposed method of calibration of Sas 37 === This is just a cut and paste of SAS34 with addstar resort added. I do have questions: Why did we used to have 2 commands (one with -update-chips and one with -update-objects)? Do we still need to to both? '''addstar resort''' {{{ addstar -resort -D CAMERA GPC1 -D CATDIR (sas37) }}} '''setphot''' I have questions though: Gene’s way mentions: {{{ # Merge in the ucal smfs database: # There are 76 smfs in the directory /data/ipp064.0/eugene/fforce.20140714/ucal.smfs which are known to ubercal # these need to be addstar'ed into their own mini and then merged into the master dvo }}} How do we want to do this with SAS37? {{{ setphot -update -ubercal -no-metadata -D CATDIR (dir) (ubercalfile) }}} '''relphot''' {{{ relphot -v -images g,r,i,z,y -imfreeze -mosaic -D MAG_LIM 32.0 -D SIGMA_LIM 0.1 -D STAR_TOOFEW 1 -D STAR_CHISQ 20.0 -D IMAGE_OFFSET 2.0 -D CAMERA gpc1 -nloop 15 -basic-image-search -statmode WT_MEAN -max-density 3000 -cloud-limit 0.5 -region 320 340 -10 10 -boundary-tree tess.3pi.fits -D CATDIR $catdir -update }}} '''relastro''' (this is the same as gene’s but much different than how I’ve done it previously) {{{ relastro -images -update-chips -v -images -update-chips -D CATDIR $catdir -basic-image-search -update -D RELASTRO_SRC_MEAS_TOOFEW 1 -D RELASTRO_SIGMA_LIM 0.05 -dcr-blue-color g i -dcr-red-color z y -statmode INNER_MEAN }}}