Changeset 34055
- Timestamp:
- Jun 23, 2012, 6:15:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20120601/psphot/test/tap_psphot_varmodel.pro
r34053 r34055 22 22 # PSF_MODEL apply (GAUSS PS1_V1) 23 23 # variance mode: CONSTANT, IMAGE_VAR, MODEL_VAR 24 25 macro 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 55 end 24 56 25 57 macro go … … 203 235 style -pt 0 -sz 0.4 204 236 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 205 241 delete -q imag_V dmag_V smag_V Dmag_V dmag_Vraw 206 242 for imag -11 -6 0.2 … … 807 843 $RealConfig = $RealConfig -Db PSF.CONVOLVE F 808 844 $RealConfig = $RealConfig -Df STARS.DENSITY 10.0 809 $RealConfig = $RealConfig -Df STARS.SIGMA.LIM 2.5845 $RealConfig = $RealConfig -Df STARS.SIGMA.LIM 1.0 810 846 $RealConfig = $RealConfig -Db GALAXY.FAKE F 811 847 $RealConfig = $RealConfig -Db GALAXY.GRID F
Note:
See TracChangeset
for help on using the changeset viewer.
