| 3 | | There are 2 databases to be calibrated, SAS37 and SAS37.diff, they will have different calibration techniques |
| 4 | | |
| 5 | | == SAS37 Diff == |
| | 3 | 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). |
| | 4 | |
| | 5 | I checked into trunk/tools/dvodb_calib/SAS37calib the rules for calibration for SAS37diff and SAS37. |
| | 6 | |
| | 7 | === SAS37diff === |
| | 8 | |
| | 9 | {{{ |
| | 10 | These should be run from within this directory (has the fits files to use and such) |
| | 11 | |
| | 12 | Step 1 |
| | 13 | |
| | 14 | ./run.addstar.resort (catdir) |
| | 15 | |
| | 16 | Step 2 |
| | 17 | |
| | 18 | relphot needs to be run, |
| | 19 | |
| | 20 | ./run.relphot.diff (catdir) |
| | 21 | |
| | 22 | Gene's comments |
| | 23 | |
| | 24 | *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: |
| | 25 | |
| | 26 | 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 |
| | 27 | (the values MAG_LIM, SIGMA_LIM, STAR_TOOFEW, etc, are relevant to finding the image zero points and are thus ignored for -nloop 0) |
| | 28 | |
| | 29 | }}} |
| | 30 | |
| | 31 | === SAS37 === |
| | 32 | |
| | 33 | {{{ |
| | 34 | First make sure to be in trunk/tools/dvodb_calib/SAS37calib , as we have fits files for calibration checked in here. |
| | 35 | |
| | 36 | Step 0 |
| | 37 | |
| | 38 | dvomerge (sasubercalmini) into (sas) |
| | 39 | |
| | 40 | This is to get the correct tie ins for ubercal, this is specific to SAS. |
| | 41 | |
| | 42 | Step 1 |
| | 43 | |
| | 44 | ./run.addstar.resort |
| | 45 | |
| | 46 | Step 2 |
| | 47 | |
| | 48 | ./run.setphot |
| | 49 | |
| | 50 | Step 3 |
| | 51 | |
| | 52 | ./run.relphot |
| | 53 | |
| | 54 | Step 4 |
| | 55 | |
| | 56 | ./run.relastro |
| | 57 | |
| | 58 | }}} |
| | 59 | |
| | 60 | |
| | 61 | |
| | 62 | |
| | 63 | |
| | 64 | |
| | 65 | |
| | 66 | |
| | 67 | |
| | 68 | == SAS37 Diff Questions == |