IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34055


Ignore:
Timestamp:
Jun 23, 2012, 6:15:45 AM (14 years ago)
Author:
eugene
Message:

updates to the test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20120601/psphot/test/tap_psphot_varmodel.pro

    r34053 r34055  
    2222# PSF_MODEL apply (GAUSS PS1_V1)
    2323# variance mode: CONSTANT, IMAGE_VAR, MODEL_VAR
     24
     25macro go.one
     26  mkdir test
     27
     28  local sky fwhm psf_in psf_out
     29
     30  # mkref creates refimage.* and catdir.ref
     31  file catdir.ref found
     32  if (not($found))
     33    mkref
     34  end
     35
     36  $KAPA = kapa -noX
     37  if (not($?RefConfig)) init
     38
     39  foreach sky 20.0
     40    foreach fwhm 1.0
     41      foreach psf_in PS1_V1
     42
     43        sprintf name "test/test.%02d.%02d.%s" $sky {10*$fwhm} $psf_in
     44        mkexp $name $sky $fwhm $psf_in
     45       
     46        foreach psf_out GAUSS PS1_V1
     47          foreach mode CONSTANT IMAGE_VAR MODEL_VAR
     48            runphot $name $name.$psf_out.$mode "-D LINEAR_FIT_VARIANCE_MODE $mode -D PSF_MODEL PS_MODEL_$psf_out"
     49            ckchip.mags $name.in.cmf $name.$psf_out.$mode.cmf $name.$psf_out.$mode 0.0
     50          end
     51        end
     52      end
     53    end
     54  end
     55end
    2456
    2557macro go
     
    203235  style -pt 0 -sz 0.4
    204236  show.pair 0
     237  reindex ap = AP_MAG_out using index1
     238  set dap = ap - v2
     239  plot -c red -pt 2 -sz 0.5 rv dap
     240
    205241  delete -q imag_V dmag_V smag_V Dmag_V dmag_Vraw
    206242  for imag -11 -6 0.2
     
    807843  $RealConfig = $RealConfig -Db PSF.CONVOLVE F
    808844  $RealConfig = $RealConfig -Df STARS.DENSITY 10.0
    809   $RealConfig = $RealConfig -Df STARS.SIGMA.LIM 2.5
     845  $RealConfig = $RealConfig -Df STARS.SIGMA.LIM 1.0
    810846  $RealConfig = $RealConfig -Db GALAXY.FAKE F
    811847  $RealConfig = $RealConfig -Db GALAXY.GRID F
Note: See TracChangeset for help on using the changeset viewer.