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 spatially smoothes the cube, then searches with simple sigma-clipping]" |
---|
28 | rm -f /tmp/duchamptest |
---|
29 | ./Duchamp -p verification/input4 > /tmp/duchamptest |
---|
30 | rm -f /tmp/duchamptest |
---|
31 | echo "Done. Comparison to standard result:" |
---|
32 | echo "Differences with Results:" |
---|
33 | diff -I"Results of the Duchamp source finder:" verification/results4.txt verification/stdResults4.txt |
---|
34 | echo "Differences with Log:" |
---|
35 | diff -I"New run of the Duchamp sourcefinder" verification/log4.txt verification/stdLog4.txt |
---|
36 | |
---|
37 | echo " " |
---|
38 | echo "Running the fourth Duchamp test:" |
---|
39 | echo " [This reconstructs the cube, then searches with simple sigma-clipping]" |
---|
40 | echo " [It should take a bit longer than the others.]" |
---|
41 | rm -f /tmp/duchamptest |
---|
42 | ./Duchamp -p verification/input3 > /tmp/duchamptest |
---|
43 | rm -f /tmp/duchamptest |
---|
44 | echo "Done. Comparison to standard result:" |
---|
45 | echo "Differences with Results:" |
---|
46 | diff -I"Results of the Duchamp source finder:" verification/results3.txt verification/stdResults3.txt |
---|
47 | echo "Differences with Log:" |
---|
48 | diff -I"New run of the Duchamp sourcefinder" verification/log3.txt verification/stdLog3.txt |
---|
49 | |
---|
50 | echo " " |
---|
51 | echo "No differences? Then everything worked as expected\!" |
---|