IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of SAS37CalibrationHeatherNotes


Ignore:
Timestamp:
Jan 29, 2015, 11:46:33 AM (12 years ago)
Author:
heather
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SAS37CalibrationHeatherNotes

    v1 v1  
     1= SAS37 Calibration =
     2
     3There are 2 databases to be calibrated, SAS37 and SAS37.diff, they will have different calibration techniques
     4
     5== SAS37 Diff ==
     6
     7Generically, calibration of 3pi / MD has consisted of  (see trunk/tools/dvodb_calib) :
     8
     9 * addstar -resort
     10 * setphot  (ubercal)
     11 * relastro part 1 (-update-chips)
     12 * relastro part 2  (-update-objects)
     13 * relphot
     14
     15I am not sure how to implement anything except addstar -resort, which I will do as follow:
     16
     17=== addstar resort ===
     18
     19{{{
     20addstar -resort -D CAMERA GPC1 -D CATDIR (sas37.diff)
     21}}}
     22
     23=== other steps? ===
     24
     25How do I make objects?
     26
     27== SAS37 (Cam/Stack/FullForce) ==
     28
     29I 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
     30
     31=== Gene's SAS34 calibrations  ===
     32
     33Gene has provided SAS34 calibration scripts - (run.sascals in the SAS34/35 directory)
     34
     35The steps for sascal are as follows:
     36
     37{{{
     38setphot -update -ubercal -no-metadata -D CATDIR (dir) (ubercalfile)
     39}}}
     40
     41{{{
     42relphot -v -images g,r,i,z,y
     43-imfreeze -mosaic
     44-D MAG_LIM 32.0
     45-D SIGMA_LIM 0.1
     46-D STAR_TOOFEW 1
     47-D STAR_CHISQ 20.0
     48-D IMAGE_OFFSET 2.0
     49-D CAMERA gpc1
     50-nloop 15
     51-basic-image-search
     52-statmode WT_MEAN
     53-max-density 3000
     54-cloud-limit 0.5
     55-region 320 340 -10 10
     56-boundary-tree tess.3pi.fits
     57-D CATDIR $catdir
     58-update
     59}}} 
     60
     61{{{
     62relastro -images -update-chips
     63-v
     64-images -update-chips
     65-D CATDIR $catdir
     66-basic-image-search
     67-update
     68-D RELASTRO_SRC_MEAS_TOOFEW 1
     69-D RELASTRO_SIGMA_LIM 0.05
     70-dcr-blue-color g i
     71-dcr-red-color  z y
     72-statmode INNER_MEAN
     73}}}
     74 
     75=== Old way of SAS / MD / 3pi calibrations ===
     76
     77The steps from calibrating 3pi V1, MD PV2 are as follows :
     78
     79{{{
     80addstar -resort -D CAMERA GPC1 -D CATDIR (sas37)
     81}}}
     82
     83{{{
     84setphot -update -ubercal -no-metadata -D CATDIR (dir) (ubercalfile)
     85}}}
     86
     87{{{
     88relastro -region (region) -D CATDIR (catdir)
     89-update-chips
     90-D RELASTRO_SRC_MEAS_TOOFEW 1
     91-D RELASTRO_SIGMA_LIM 0.1
     92-nloop 6
     93-basic-image-search
     94-reset
     95-update
     96-parallel
     97-max-density 2000
     98-threads 4
     99-v
     100}}}
     101
     102{{{
     103relastro -region (region) -D CATDIR (catdir)
     104-update-objects -pmpar
     105-D PM_DT_MIN 1.0
     106-D PAR_FACTOR_MIN 0.25
     107-statmode WTMEAN
     108+photcode g,r,i,z,y,J,H,K
     109-update
     110-parallel
     111-reset
     112-v
     113}}}
     114
     115{{{
     116relphot -region (region) -D CATDIR (catdir)
     117-images -imfreeze -mosaic
     118-D MAG_LIM 32.0
     119-D SIGMA_LIM 0.1
     120-D STAR_TOOFEW 1
     121-D STAR_CHISQ 20.0
     122-D IMAGE_OFFSET 2.0
     123-D CAMERA gpc1
     124-nloop 25
     125-basic-image-search
     126-update
     127-reset
     128-threads 4
     129-parallel
     130-statmode WT_MEAN
     131-max-density 2000
     132-boundary-tree ~ippdvo/tesstables/tess.3pi.fits
     133 g,r,i,z,y
     134}}}
     135
     136=== The proposed method of calibration of Sas 37 ===
     137
     138This is just a cut and paste of SAS34 with addstar resort added.
     139
     140I 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?
     141
     142'''addstar resort'''
     143
     144{{{
     145addstar -resort -D CAMERA GPC1 -D CATDIR (sas37)
     146}}}
     147
     148'''setphot'''
     149
     150 I have questions though:  Gene’s way mentions:
     151
     152{{{
     153# Merge in the ucal smfs database:
     154# There are 76 smfs in the directory /data/ipp064.0/eugene/fforce.20140714/ucal.smfs which are known to ubercal
     155# these need to be addstar'ed into their own mini and then merged into the master dvo
     156}}}
     157
     158How do we want to do this with SAS37?
     159
     160{{{
     161setphot -update -ubercal -no-metadata -D CATDIR (dir) (ubercalfile)
     162}}}
     163 
     164'''relphot'''
     165
     166{{{
     167relphot -v -images g,r,i,z,y
     168-imfreeze -mosaic
     169-D MAG_LIM 32.0
     170-D SIGMA_LIM 0.1
     171-D STAR_TOOFEW 1
     172-D STAR_CHISQ 20.0
     173-D IMAGE_OFFSET 2.0
     174-D CAMERA gpc1
     175-nloop 15
     176-basic-image-search
     177-statmode WT_MEAN
     178-max-density 3000
     179-cloud-limit 0.5
     180-region 320 340 -10 10
     181-boundary-tree tess.3pi.fits
     182-D CATDIR $catdir
     183-update
     184}}} 
     185
     186'''relastro'''
     187
     188(this is the same as gene’s but much different than how I’ve done it previously)
     189
     190{{{
     191relastro -images -update-chips
     192-v
     193-images -update-chips
     194-D CATDIR $catdir
     195-basic-image-search
     196-update
     197-D RELASTRO_SRC_MEAS_TOOFEW 1
     198-D RELASTRO_SIGMA_LIM 0.05
     199-dcr-blue-color g i
     200-dcr-red-color  z y
     201-statmode INNER_MEAN
     202}}}
     203