[148] | 1 | #!/bin/csh |
---|
| 2 | |
---|
[154] | 3 | echo " " |
---|
[148] | 4 | echo "Running the first Duchamp test:" |
---|
| 5 | echo " [This is a simple sigma-clipping search]" |
---|
| 6 | rm -f /tmp/duchamptest |
---|
[170] | 7 | ./Duchamp -p verification/input1 > /tmp/duchamptest |
---|
[148] | 8 | echo "Done. Comparison to standard result:" |
---|
| 9 | echo "Differences with Results:" |
---|
| 10 | diff -I"Results of the Duchamp source finder:" verification/results1.txt verification/stdResults1.txt |
---|
[151] | 11 | echo "Differences with Log:" |
---|
[152] | 12 | diff -I"New run of the Duchamp sourcefinder" verification/log1.txt verification/stdLog1.txt |
---|
[148] | 13 | |
---|
[154] | 14 | echo " " |
---|
[148] | 15 | echo "Running the second Duchamp test:" |
---|
| 16 | echo " [This uses the FDR method]" |
---|
| 17 | rm -f /tmp/duchamptest |
---|
[170] | 18 | ./Duchamp -p verification/input2 > /tmp/duchamptest |
---|
[148] | 19 | echo "Done. Comparison to standard result:" |
---|
| 20 | echo "Differences with Results:" |
---|
| 21 | diff -I"Results of the Duchamp source finder:" verification/results2.txt verification/stdResults2.txt |
---|
[151] | 22 | echo "Differences with Log:" |
---|
[152] | 23 | diff -I"New run of the Duchamp sourcefinder" verification/log2.txt verification/stdLog2.txt |
---|
[148] | 24 | |
---|
[154] | 25 | echo " " |
---|
[148] | 26 | echo "Running the third Duchamp test:" |
---|
| 27 | echo " [This reconstructs the cube, then searches with simple sigma-clipping]" |
---|
[154] | 28 | echo " [It should take a bit longer than the first two.]" |
---|
[148] | 29 | rm -f /tmp/duchamptest |
---|
[170] | 30 | ./Duchamp -p verification/input3 > /tmp/duchamptest |
---|
[148] | 31 | rm -f /tmp/duchamptest |
---|
| 32 | echo "Done. Comparison to standard result:" |
---|
| 33 | echo "Differences with Results:" |
---|
| 34 | diff -I"Results of the Duchamp source finder:" verification/results3.txt verification/stdResults3.txt |
---|
[151] | 35 | echo "Differences with Log:" |
---|
[152] | 36 | diff -I"New run of the Duchamp sourcefinder" verification/log3.txt verification/stdLog3.txt |
---|
[148] | 37 | |
---|
| 38 | echo "No differences? Then everything worked as expected\!" |
---|