- Timestamp:
- Nov 24, 2013, 3:28:13 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/test/tap_psphot_galaxygrid.pro
r36307 r36310 607 607 $psphotConfig = $psphotConfig -Db PSPHOT:POISSON.ERRORS.PHOT.LMM F 608 608 $psphotConfig = $psphotConfig -Db PSPHOT:EXTENDED_SOURCE_FITS_POISSON F 609 $psphotConfig = $psphotConfig -Di PSPHOT:EXT_FIT_ITER 40 609 610 610 611 # ppImage / psphot on the output … … 614 615 exec ppImage $ppImageConfig $psphotConfig -file $basename.fits $outname >>& $outname.log 615 616 break -auto on 617 end 618 619 macro cmf.load.reset 620 $fields = X Y M T R r MT 621 foreach field $fields 622 foreach set in ot 623 delete -q $field\$set\_s 624 end 625 end 626 627 delete -q min_S Min_S 616 628 end 617 629 … … 1262 1274 local radius Nrun 1263 1275 1276 if (1) 1277 $Nrun = 0 1278 foreach radius 1.0 1.5 2.0 2.5 3.0 4.0 6.0 8.0 1279 # mkexp.devexp.single tests.20131120/testrad.ps1v1.exp.$Nrun EXP $radius 1.0 1280 fitexp tests.20131120/testrad.ps1v1.exp.$Nrun tests.20131120/testrad.ps1v1.exp.$Nrun.t4s EXP_CONV 1281 $Nrun ++ 1282 end 1283 end 1284 1264 1285 $Nrun = 0 1265 1286 foreach radius 1.0 1.5 2.0 2.5 3.0 4.0 6.0 8.0 1266 mkexp.devexp.single tests.20131120/testrad.ps1v1.exp.$Nrun EXP $radius 1.0 1267 fitexp tests.20131120/testrad.ps1v1.exp.$Nrun tests.20131120/testrad.ps1v1.exp.$Nrun.t4 EXP_CONV 1268 $Nrun ++ 1269 end 1270 1271 $Nrun = 0 1272 foreach radius 1.0 1.5 2.0 2.5 3.0 4.0 6.0 8.0 1273 cmf.load.concat tests.20131120/testrad.ps1v1.exp.$Nrun.dat tests.20131120/testrad.ps1v1.exp.$Nrun.t4.cmf EXP 1287 cmf.load.concat tests.20131120/testrad.ps1v1.exp.$Nrun.dat tests.20131120/testrad.ps1v1.exp.$Nrun.t4s.cmf EXP 1274 1288 set dM_m = Mot_m - Min_m 1275 1289 vstat -q dM_m … … 1284 1298 grid.plots.devexp a 1285 1299 end 1300 1301 macro check.radius.loop 1302 if ($0 != 2) 1303 echo "USAGE: check.radius.loop (ext)" 1304 break 1305 end 1306 1307 # cmf.load.reset 1308 1309 local radius Nrun 1310 1311 $Nrun = 0 1312 foreach radius 1.0 1.5 2.0 2.5 3.0 4.0 6.0 8.0 1313 cmf.load.concat tests.20131120/testrad.ps1v1.exp.$Nrun.dat tests.20131120/testrad.ps1v1.exp.$Nrun.$1.cmf EXP 1314 set dM_m = Mot_m - Min_m 1315 vstat -q dM_m 1316 $mag_off = $MEDIAN 1317 set dR_m = Rot_m - Rin_m 1318 vstat -q dR_m 1319 $rad_off = $MEDIAN 1320 echo $radius $mag_off $rad_off 1321 $Nrun ++ 1322 end 1323 1324 grid.plots.devexp a 1325 end 1326 1327 macro check.fit 1328 if ($0 != 3) 1329 echo "USAGE: check.fit (dat) (cmf)" 1330 break 1331 end 1332 1333 cmf.load.concat $1 $2 EXP 1334 set dM_m = Mot_m - Min_m 1335 vstat -q dM_m 1336 $mag_off = $MEDIAN 1337 set dR_m = Rot_m - Rin_m 1338 vstat -q dR_m 1339 $rad_off = $MEDIAN 1340 echo $mag_off $rad_off 1341 end
Note:
See TracChangeset
for help on using the changeset viewer.
