source: trunk/README @ 154

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

Added the verification cube to the verification directory (rather than
re-creating it each time)
Added text to README and Guide about the verification process.

File size: 5.3 KB
Line 
1-----------------------------------------------------------------------
2               The Duchamp Source Finder
3-----------------------------------------------------------------------
4Duchamp 1.0 -- an object finder for spectral-line data cubes
5Copyright (C) 2006, Matthew Whiting, ATNF
6
7Duchamp is free software; you can redistribute it and/or modify it
8under the terms of the GNU General Public License as published by the
9Free Software Foundation; either version 2 of the License, or (at your
10option) any later version.
11
12Duchamp is distributed in the hope that it will be useful, but WITHOUT
13ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15for more details.
16
17You should have received a copy of the GNU General Public License
18along with Duchamp; if not, write to the Free Software Foundation,
19Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
20
21Correspondence concerning Duchamp may be directed to:
22   Internet email: matthew.whiting@atnf.csiro.au
23   Postal address: Dr. Matthew Whiting
24                   Australia Telescope National Facility, CSIRO
25                   PO Box 76
26                   Epping NSW 1710
27                   AUSTRALIA
28-----------------------------------------------------------------------
29
30Introduction
31------------
32
33Duchamp is a stand-alone program designed to find objects in
34astronomical data cubes, particularly spectral-line observations. Its
35features include a wavelet-based reconstruction technique for reducing
36the noise in the cube (and thereby enhancing detectability of
37sources), easy-to-use text-based interface, flexibility to control all
38relevant parameters such as detection thresholds, and a useful range
39of text- and graphics-based output.
40
41Duchamp works on any FITS image using the CFITSIO package, and uses
42Mark Calabretta's WCSLIB library to provide accurate position and
43velocity information for all detected sources.
44
45
46Obtaining and Building Duchamp
47------------------------------
48
49The Duchamp web page is at
50http://www.atnf.csiro.au/people/Matthew.Whiting/Duchamp
51where you can download a gzipped tar archive of the source code.
52
53Duchamp uses three main external libraries: pgplot, cfitsio and
54wcslib. If you do not have the libraries, they can be downloaded from
55the following locations:
56PGPlot -- http://www.astro.caltech.edu/~tjp/pgplot/
57cfitsio -- http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html
58wcslib -- http://www.atnf.csiro.au/people/Mark.Calabretta/WCS/index.html
59
60Duchamp can be built on Unix systems by typing (note that the terminal
61prompt here is represented by > -- don't type this character!):
62 >  ./configure
63 >  make
64 >  make clean (optional -- to remove the object files from the src
65                directory)
66
67This way, configure should find all the necessary libraries, but if
68the above-mentioned libraries have been installed in non-standard
69locations, you can specify additional directories to look in. There
70are separate options for library files (eg. libcpgplot.a) and header
71files (eg. cpgplot.h).
72
73For example, if wcslib had been installed in /home/mduchamp/wcslib,
74there are two libraries that are likely to be in separate
75subdirectories: C/ and pgsbox/. Each subdirectory needs to be searched
76for library and header files, so one could build Duchamp by typing:
77 >  ./configure LIBDIRS="/home/mduchamp/wcslib/C
78/home/mduchamp/wcslib/pgsbox" INCDIRS="/home/mduchamp/wcslib/C
79/home/mduchamp/wcslib/pgsbox"
80And then just run make in the usual fashion:
81 >  make
82
83There is a script included in the distribution that allows you to make
84sure Duchamp is running correctly. It will compile and run a bit of
85C++ code in the directory verification/ that creates a dummy FITS
86image. It then runs Duchamp on this image with three different sets of
87inputs, and compares to known results, looking for differences and
88reporting any. There should be none reported if everything is working
89correctly. To run, enter the command
90 >  VerifyDuchamp.sh
91You can also use the dummy image for your own testing if you like (it
92is a cube with five Gaussian-profile sources on Gaussian noise).
93
94
95Using Duchamp
96---------------
97
98There are two possible ways to run Duchamp. The first is:
99
100 >  Duchamp -f image.fits
101
102where image.fits is the data cube to be searched. This method simply
103uses the default values of all parameters.
104
105The second method allows some determination of the parameter values by
106the user. Type:
107
108 >  Duchamp -p parameterFile
109
110where parameterFile is a file with the input parameters, including the
111name of the cube you want to search. There are two example input files
112included with the distribution. The smaller one, InputExample, shows
113the typical parameters one might want to set. The large one,
114InputComplete, lists all possible parameters that can be entered, and
115a brief description of them. To get going quickly, just replace the
116"your-file-here" in InputExample with your image name, and type
117
118 >  Duchamp -p InputExample
119
120A User's Guide in the docs/ directory provides complete
121documentation. It comes in both postscript and portable document
122format (pdf -- note that this contains hyperlinks). This guide will
123provide full descriptions of all parameters, and of all steps in the
124execution of Duchamp.
125
126Any questions, please contact me!
127
128Author:
129  Matthew Whiting, Australia Telescope National Facility, June 2006
130  Matthew.Whiting@csiro.au
131
Note: See TracBrowser for help on using the repository browser.