- Timestamp:
- Dec 8, 2017, 1:32:58 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/ippToPsps/test/mkgpc1data.dr2.dvo (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippToPsps/test/mkgpc1data.dr2.dvo
r40261 r40264 91 91 exec dvomerge -matched-tables testdata/catdir.stk into testdata/catdir.mrg 92 92 exec dvomerge -matched-tables testdata/catdir.wrp into testdata/catdir.mrg 93 94 exec cp RegionHost.dat testdata/catdir.mrg 95 96 # test parallel-regions version: 97 # exec relphot -parallel-regions -region-hosts RegionHost.dat -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 -imfreeze -mosfreeze -only-stacks-and-warps -update-catformat PS1_V6 93 98 94 99 echo relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits -cloud-limit 0.1 … … 720 725 721 726 macro check.mags 727 if ($0 != 3) 728 echo "USAGE: check.mags (catdir) (ver)" 729 break 730 end 722 731 723 732 # NOTE: relphot refuses to set the warp averages if there is no boundary tree: otherwise it cannot choose the correct subset of measurements … … 725 734 # relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits 726 735 727 catdir testdata/catdir.mrg736 catdir $1 728 737 skyregion 8 12 18 22 729 738 avextract ra dec g:psf:chp g:kron:chp g:psf:stk g:kron:stk g:psf:wrp g:kron:wrp … … 739 748 set dg:psf:kron:wrp = g:psf:wrp - g:kron:wrp 740 749 741 lim -n 0 g:psf:chp -0.2 0.2; clear; box; plot g:psf:chp dg:psf:chp:stk -c blue -pt 7; plot g:psf:chp dg:psf:chp:wrp -c red -pt 2 742 743 lim -n 1 g:kron:chp -0.2 0.2; clear; box; plot g:kron:chp dg:kron:chp:stk -c blue -pt 7; plot g:kron:chp dg:kron:chp:wrp -c red -pt 2 744 745 lim -n 2 g:psf:chp -0.2 0.2; clear; box; plot g:psf:chp dg:psf:kron:chp -c blue -pt 7; plot g:psf:chp dg:psf:kron:stk -c red -pt 2; plot g:psf:chp dg:psf:kron:wrp -c green -pt 2 750 lim -n 0$2 g:psf:chp -0.2 0.2; clear; box; plot g:psf:chp dg:psf:chp:stk -c blue -pt 7; plot g:psf:chp dg:psf:chp:wrp -c red -pt 2 751 label -x "g:psf:chp" -y "g:psf:chp - g:psf:stk(blue),wrp(red)" 752 resize 600 400 753 754 lim -n 1$2 g:kron:chp -0.2 0.2; clear; box; plot g:kron:chp dg:kron:chp:stk -c blue -pt 7; plot g:kron:chp dg:kron:chp:wrp -c red -pt 2 755 label -x "g:kron:chp" -y "g:kron:chp - g:kron:stk(blue),wrp(red)" 756 resize 600 400 757 758 lim -n 2$2 g:psf:chp -0.2 0.2; clear; box; plot g:psf:chp dg:psf:kron:chp -c green -pt 7; plot g:psf:chp dg:psf:kron:stk -c blue -pt 2; plot g:psf:chp dg:psf:kron:wrp -c red -pt 2 759 label -x "g:psf:chp" -y "g:psf:chp - g:kron:chp(green),stk(blue),wrp(red)" 760 resize 600 400 746 761 747 762 # for i 0 10 … … 751 766 752 767 macro check.mags.meas 768 if ($0 != 3) 769 echo "USAGE: check.mags.meas (catdir) (ver)" 770 break 771 end 753 772 754 773 # NOTE: relphot refuses to set the warp averages if there is no boundary tree: otherwise it cannot choose the correct subset of measurements … … 756 775 # relphot -D CATDIR testdata/catdir.mrg -D CAMERA simtest -region 8 12 18 22 -update -vv -images g,r -reset -reset-zpts -D STAR_TOOFEW 0 -boundary-tree tess.3pi.fits 757 776 758 catdir testdata/catdir.mrg777 catdir $1 759 778 skyregion 8 12 18 22 760 779 761 780 mextract ra dec mag:rel:psf mag:rel:kron mag:ave:psf mag:ave:kron photcode 762 781 set dM:psf = mag:ave:psf - mag:rel:psf 763 lim -n 0 mag:ave:psf dM:psf; clear; box; plot mag:ave:psf dM:psf782 lim -n 0$2 mag:ave:psf dM:psf; clear; box; plot mag:ave:psf dM:psf 764 783 label -x "mag:ave:psf" -y "mag:ave:psf - mag:rel:psf" 784 resize 600 400 765 785 766 786 set dM:kron = mag:ave:kron - mag:rel:kron 767 lim -n 1 mag:ave:kron dM:kron; clear; box; plot mag:ave:kron dM:kron787 lim -n 1$2 mag:ave:kron dM:kron; clear; box; plot mag:ave:kron dM:kron 768 788 label -x "mag:ave:kron" -y "mag:ave:kron - mag:rel:kron" 789 resize 600 400 769 790 770 791 set dM:psf:kron = mag:rel:psf - mag:rel:kron 771 lim -n 2 mag:rel:kron dM:psf:kron; clear; box; plot mag:rel:kron dM:psf:kron792 lim -n 2$2 mag:rel:kron dM:psf:kron; clear; box; plot mag:rel:kron dM:psf:kron 772 793 label -x "mag:rel:kron" -y "mag:rel:psf - mag:rel:kron" 794 resize 600 400 773 795 end 774 796 … … 783 805 exit 0 784 806 end 807
Note:
See TracChangeset
for help on using the changeset viewer.
