source: branches/pixel-map-branch/VerifyDuchamp.sh

Last change on this file was 170, checked in by Matthew Whiting, 18 years ago

Three changes:

  • Change Duchamp to ./Duchamp in the verification script, to be robust against the current directory not in the user's path
  • add #include <math.h> to param.hh
  • remove repeated -lm -lg2c checks in configure script
  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#!/bin/csh
2
3echo " "
4echo "Running the first Duchamp test:"
5echo "  [This is a simple sigma-clipping search]"
6rm -f /tmp/duchamptest
7./Duchamp -p verification/input1 > /tmp/duchamptest
8echo "Done. Comparison to standard result:"
9echo "Differences with Results:"
10diff -I"Results of the Duchamp source finder:" verification/results1.txt verification/stdResults1.txt
11echo "Differences with Log:"
12diff -I"New run of the Duchamp sourcefinder" verification/log1.txt verification/stdLog1.txt
13
14echo " "
15echo "Running the second Duchamp test:"
16echo "  [This uses the FDR method]"
17rm -f /tmp/duchamptest
18./Duchamp -p verification/input2 > /tmp/duchamptest
19echo "Done. Comparison to standard result:"
20echo "Differences with Results:"
21diff -I"Results of the Duchamp source finder:" verification/results2.txt verification/stdResults2.txt
22echo "Differences with Log:"
23diff -I"New run of the Duchamp sourcefinder" verification/log2.txt verification/stdLog2.txt
24
25echo " "
26echo "Running the third Duchamp test:"
27echo "  [This reconstructs the cube, then searches with simple sigma-clipping]"
28echo "  [It should take a bit longer than the first two.]"
29rm -f /tmp/duchamptest
30./Duchamp -p verification/input3 > /tmp/duchamptest
31rm -f /tmp/duchamptest
32echo "Done. Comparison to standard result:"
33echo "Differences with Results:"
34diff -I"Results of the Duchamp source finder:" verification/results3.txt verification/stdResults3.txt
35echo "Differences with Log:"
36diff -I"New run of the Duchamp sourcefinder" verification/log3.txt verification/stdLog3.txt
37
38echo "No differences? Then everything worked as expected\!"
Note: See TracBrowser for help on using the repository browser.