| Version 3 (modified by , 11 years ago) ( diff ) |
|---|
SAS37 Calibration
There are 2 databases to be calibrated, SAS37 and SAS37.diff, they will have different calibration techniques. The sections following this one had questions and answers (mostly questions).
I checked into trunk/tools/dvodb_calib/SAS37calib the rules for calibration for SAS37diff and SAS37.
SAS37diff
These should be run from within this directory (has the fits files to use and such) Step 1 ./run.addstar.resort (catdir) Step 2 relphot needs to be run, ./run.relphot.diff (catdir) Gene's comments *for the diff database, you need to run relphot to set the primary flag and to set the mean mags and Ncode values. you do not want to do any image calibrations, however (relphot zero pointing makes no sense in a diff database). if you use -nloop 0 then the mean object properties will be set, along with the primary flag: relphot -images g,r,i,z,y -D CAMERA gpc1 -nloop 0 -basic-image-search -statmode WT_MEAN -region 320 340 -10 10 -boundary-tree tess.3pi.fits -D CATDIR $catdir -update (the values MAG_LIM, SIGMA_LIM, STAR_TOOFEW, etc, are relevant to finding the image zero points and are thus ignored for -nloop 0)
SAS37
First make sure to be in trunk/tools/dvodb_calib/SAS37calib , as we have fits files for calibration checked in here. Step 0 dvomerge (sasubercalmini) into (sas) This is to get the correct tie ins for ubercal, this is specific to SAS. Step 1 ./run.addstar.resort Step 2 ./run.setphot Step 3 ./run.relphot Step 4 ./run.relastro Step 5 ./run.dvolens
SAS37 Diff Questions
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?
run relphot diff to get 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(questions)
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? We made a sasubercalmini which we merge in manually
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
