1 | #!/bin/csh |
---|
2 | |
---|
3 | echo " " |
---|
4 | echo "Running the first Duchamp test:" |
---|
5 | echo " [This is a simple sigma-clipping search]" |
---|
6 | rm -f /tmp/duchamptest |
---|
7 | ./Duchamp -p verification/input1 > /tmp/duchamptest |
---|
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 |
---|
11 | echo "Differences with Log:" |
---|
12 | diff -I"New run of the Duchamp sourcefinder" verification/log1.txt verification/stdLog1.txt |
---|
13 | |
---|
14 | echo " " |
---|
15 | echo "Running the second Duchamp test:" |
---|
16 | echo " [This uses the FDR method]" |
---|
17 | rm -f /tmp/duchamptest |
---|
18 | ./Duchamp -p verification/input2 > /tmp/duchamptest |
---|
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 |
---|
22 | echo "Differences with Log:" |
---|
23 | diff -I"New run of the Duchamp sourcefinder" verification/log2.txt verification/stdLog2.txt |
---|
24 | |
---|
25 | echo " " |
---|
26 | echo "Running the third Duchamp test:" |
---|
27 | echo " [This reconstructs the cube, then searches with simple sigma-clipping]" |
---|
28 | echo " [It should take a bit longer than the first two.]" |
---|
29 | rm -f /tmp/duchamptest |
---|
30 | ./Duchamp -p verification/input3 > /tmp/duchamptest |
---|
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 |
---|
35 | echo "Differences with Log:" |
---|
36 | diff -I"New run of the Duchamp sourcefinder" verification/log3.txt verification/stdLog3.txt |
---|
37 | |
---|
38 | echo "No differences? Then everything worked as expected\!" |
---|