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