Changeset 36317
- Timestamp:
- Nov 28, 2013, 3:58:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130904/psphot/test/tap_psphot_galaxygrid.pro
r36316 r36317 611 611 $psphotConfig = $psphotConfig -Db PSPHOT:POISSON.ERRORS.PHOT.LMM F 612 612 $psphotConfig = $psphotConfig -Db PSPHOT:EXTENDED_SOURCE_FITS_POISSON F 613 $psphotConfig = $psphotConfig -Di PSPHOT:EXT_FIT_ITER 20613 $psphotConfig = $psphotConfig -Di PSPHOT:EXT_FIT_ITER 15 614 614 $psphotConfig = $psphotConfig -Df PSPHOT:PSF_FIT_RADIUS_SCALE 3.75 615 615 $psphotConfig = $psphotConfig -Df PSPHOT:EXT_FIT_NSIGMA_CONV $NSIGMA_CONV … … 673 673 674 674 break -auto off 675 output -err /dev/null 675 676 read -fits Chip.xfit X_EXT Y_EXT EXT_INST_MAG EXT_WIDTH_MAJ EXT_WIDTH_MIN EXT_THETA MODEL_TYPE EXT_PAR_07 677 output -err stderr 676 678 $reread = not($STATUS) 677 679 break -auto on … … 707 709 reindex rin_m = RminIn using index2 708 710 709 if ("$3" == "SERSIC")711 # if ("$3" == "SERSIC") 710 712 reindex Iot_m = EXT_PAR_07 using index1 711 713 reindex Iin_m = IndexIn using index2 712 714 $fields = X Y M T R r MT I 713 else714 $fields = X Y M T R r MT715 end715 # else 716 # $fields = X Y M T R r MT 717 # end 716 718 717 719 foreach field $fields … … 1332 1334 1333 1335 macro check.fit 1334 if ($0 != 3)1335 echo "USAGE: check.fit (dat) (cmf) "1336 break 1337 end 1338 1339 cmf.load.concat $1 $2 EXP1336 if ($0 != 4) 1337 echo "USAGE: check.fit (dat) (cmf) (type)" 1338 break 1339 end 1340 1341 cmf.load.concat $1 $2 $3 1340 1342 set dM_m = Mot_m - Min_m 1341 1343 vstat -q dM_m … … 1386 1388 end 1387 1389 1390 macro check.convolve.loop 1391 if ($0 != 2) 1392 echo "check.convolve.loop (intype)" 1393 break 1394 end 1395 1396 local radius 1397 1398 $radius = 3.0 1399 1400 cmf.load.reset 1401 1402 # foreach Cin 3 5 7 9 11 1403 foreach Cin 11 1404 sprintf nameIn tests.20131120/test.nsig.%02d $Cin 1405 foreach Cot 3 5 7 9 11 1406 sprintf nameOt tests.20131120/test.serdev.%02d.%02d $Cin $Cot 1407 echo -no-return $Cin $Cot " " 1408 check.fit $nameIn.dat $nameOt.cmf $1 1409 end 1410 end 1411 grid.plots.devexp a 1412 end 1413 1388 1414 macro run.convolve.loop 1389 1415 local radius … … 1391 1417 $radius = 3.0 1392 1418 1393 foreach Cin 3 5 7 9 11 1419 # foreach Cin 3 5 7 9 11 1420 foreach Cin 11 1394 1421 $CONVOLVE_NSIGMA = $Cin 1395 1422 sprintf nameIn tests.20131120/test.nsig.%02d $Cin 1396 mkexp.devexp.single $nameIn EXP $radius 1.01423 # mkexp.devexp.single $nameIn EXP $radius 1.0 1397 1424 foreach Cot 3 5 7 9 11 1398 1425 $NSIGMA_CONV = $Cot 1399 sprintf nameOt tests.20131120/test.nsig. %02d.%02d $Cin $Cot1426 sprintf nameOt tests.20131120/test.nsig.x.%02d.%02d $Cin $Cot 1400 1427 fitexp $nameIn $nameOt EXP_CONV 1401 1428 end 1402 1429 end 1403 1430 1404 foreach Cin 3 5 7 9 11 1431 # foreach Cin 3 5 7 9 11 1432 foreach Cin 11 1405 1433 sprintf nameIn tests.20131120/test.nsig.%02d $Cin 1406 1434 foreach Cot 3 5 7 9 11 1407 sprintf nameOt tests.20131120/test.nsig. %02d.%02d $Cin $Cot1435 sprintf nameOt tests.20131120/test.nsig.x.%02d.%02d $Cin $Cot 1408 1436 check.fit $nameIn.dat $nameOt.cmf 1409 1437 end … … 1412 1440 end 1413 1441 1442 macro run.convolve.loop.dev 1443 local radius 1444 1445 $radius = 3.0 1446 1447 foreach Cin 11 1448 $CONVOLVE_NSIGMA = $Cin 1449 sprintf nameIn tests.20131120/test.dev.%02d $Cin 1450 mkexp.devexp.single $nameIn DEV $radius 1.0 1451 foreach Cot 3 5 7 9 11 1452 $NSIGMA_CONV = $Cot 1453 sprintf nameOt tests.20131120/test.dev.%02d.%02d $Cin $Cot 1454 fitexp $nameIn $nameOt DEV_CONV 1455 end 1456 end 1457 1458 # foreach Cin 3 5 7 9 11 1459 foreach Cin 11 1460 sprintf nameIn tests.20131120/test.dev.%02d $Cin 1461 foreach Cot 3 5 7 9 11 1462 sprintf nameOt tests.20131120/test.dev.%02d.%02d $Cin $Cot 1463 check.fit $nameIn.dat $nameOt.cmf DEV 1464 end 1465 end 1466 grid.plots.devexp a 1467 end 1468 1469 macro run.convolve.loop.serexp 1470 local radius 1471 1472 $radius = 3.0 1473 1474 foreach Cin 11 1475 $CONVOLVE_NSIGMA = $Cin 1476 sprintf nameIn tests.20131120/test.nsig.%02d $Cin 1477 foreach Cot 3 5 7 9 11 1478 $NSIGMA_CONV = $Cot 1479 sprintf nameOt tests.20131120/test.serexp.%02d.%02d $Cin $Cot 1480 fitexp $nameIn $nameOt SER_CONV 1481 end 1482 end 1483 1484 # foreach Cin 3 5 7 9 11 1485 foreach Cin 11 1486 sprintf nameIn tests.20131120/test.nsig.%02d $Cin 1487 foreach Cot 3 5 7 9 11 1488 sprintf nameOt tests.20131120/test.serexp.%02d.%02d $Cin $Cot 1489 check.fit $nameIn.dat $nameOt.cmf EXP 1490 end 1491 end 1492 grid.plots.devexp a 1493 end 1494 1495 1496 macro run.convolve.loop.serdev 1497 local radius 1498 1499 $radius = 3.0 1500 1501 cmf.load.reset 1502 1503 foreach Cin 11 1504 $CONVOLVE_NSIGMA = $Cin 1505 sprintf nameIn tests.20131120/test.dev.%02d $Cin 1506 foreach Cot 3 5 7 9 11 1507 $NSIGMA_CONV = $Cot 1508 sprintf nameOt tests.20131120/test.serdev.%02d.%02d $Cin $Cot 1509 fitexp $nameIn $nameOt SER_CONV 1510 end 1511 end 1512 1513 # foreach Cin 3 5 7 9 11 1514 foreach Cin 11 1515 sprintf nameIn tests.20131120/test.dev.%02d $Cin 1516 foreach Cot 3 5 7 9 11 1517 sprintf nameOt tests.20131120/test.serdev.%02d.%02d $Cin $Cot 1518 check.fit $nameIn.dat $nameOt.cmf DEV 1519 end 1520 end 1521 grid.plots.devexp a 1522 end 1523
Note:
See TracChangeset
for help on using the changeset viewer.
