source: trunk/docs/hints.tex @ 298

Last change on this file since 298 was 298, checked in by Matthew Whiting, 17 years ago

Updated documentation, and changed the version number to 1.1 ready for the next release.

File size: 5.7 KB
Line 
1\secA{Notes and hints on the use of \duchamp}
2\label{sec-notes}
3
4In using \duchamp, the user has to make a number of decisions about
5the way the program runs. This section is designed to give the user
6some idea about what to choose.
7
8The main choice is whether to alter the cube to try and enhance the
9detectability of objects, by either smoothing or reconstructing via
10the \atrous method. The main benefits of both methods are the marked
11reduction in the noise level, leading to regularly-shaped detections,
12and good reliability for faint sources.
13
14The main drawback with the \atrous method is the long execution time:
15to reconstruct a $170\times160\times1024$ (\hipass) cube often
16requires three iterations and takes about 20-25 minutes to run
17completely. Note that this is for the more complete three-dimensional
18reconstruction: using \texttt{reconDim = 1} makes the reconstruction
19quicker (the full program then takes less than 5 minutes), but it is
20still the largest part of the time.
21
22The smoothing procedure is computationally simpler, and thus quicker,
23than the reconstruction. The spectral Hanning method adds only a very
24small overhead on the execution, and the spatial Gaussian method,
25while taking longer, will be done (for the above example) in less than
262 minutes. Note that these times will depend on the size of the
27filter/kernel used: a larger filter means more calculations.
28
29The searching part of the procedure is much quicker: searching an
30un-reconstructed cube leads to execution times of less than a
31minute. Alternatively, using the ability to read in previously-saved
32reconstructed arrays makes running the reconstruction more than once a
33more feasible prospect.
34
35On the positive side, the shape of the detections in a cube that has
36been reconstructed or smoothed will be much more regular and smooth --
37the ragged edges that objects in the raw cube possess are smoothed by
38the removal of most of the noise. This enables better determination of
39the shapes and characteristics of objects.
40
41While the time overhead is larger for the reconstruction case, it will
42potentially provide a better recovery of real sources than the
43smoothing case. This is because it probes the full range of scales
44present in the cube (or spectral domain), rather than the specific
45scale determined by the Hanning filter or Gaussian kernel used in the
46smoothing.
47
48When considering the reconstruction method, note that the 2D
49reconstruction (\texttt{reconDim = 2}) can be susceptible to edge
50effects. If the valid area in the cube (\ie the part that is not
51BLANK) has non-rectangular edges, the convolution can produce
52artefacts in the reconstruction that mimic the edges and can lead
53(depending on the selection threshold) to some spurious
54sources. Caution is advised with such data -- the user is advised to
55check carefully the reconstructed cube for the presence of such
56artefacts. Note, however, that the 1- and 3-dimensional
57reconstructions are \emph{not} susceptible in the same way, since the
58spectral direction does not generally exhibit these BLANK edges, and
59so we recommend the use of either of these.
60
61If one chooses the reconstruction method, a further decision is
62required on the signal-to-noise cutoff used in determining acceptable
63wavelet coefficients. A larger value will remove more noise from the
64cube, at the expense of losing fainter sources, while a smaller value
65will include more noise, which may produce spurious detections, but
66will be more sensitive to faint sources. Values of less than about
67$3\sigma$ tend to not reduce the noise a great deal and can lead to
68many spurious sources (this depends, of course on the cube itself).
69
70The smoothing options have less parameters to consider: basically just
71the size of the smoothing function or kernel. Spectrally smoothing
72with a Hanning filter of width 3 (the smallest possible) is very
73efficient at removing spurious one-channel objects that may result
74just from statistical fluctuations of the noise. One may want to use
75larger widths or kernels of larger size to look for features of a
76particular scale in the cube.
77
78When it comes to searching, the FDR method produces more reliable
79results than simple sigma-clipping, particularly in the absence of
80reconstruction.  However, it does not work in exactly the way one
81would expect for a given value of \texttt{alpha}. For instance,
82setting fairly liberal values of \texttt{alpha} (say, 0.1) will often
83lead to a much smaller fraction of false detections (\ie much less
84than 10\%). This is the effect of the merging algorithms, that combine
85the sources after the detection stage, and reject detections not
86meeting the minimum pixel or channel requirements.  It is thus better
87to aim for larger \texttt{alpha} values than those derived from a
88straight conversion of the desired false detection rate.
89
90If the FDR method is not used, caution is required when choosing the
91S/N cutoff. Typical cubes have very large numbers of pixels, so even
92an apparently large cutoff will still result in a not-insignificant
93number of detections simply due to random fluctuations of the noise
94background. For instance, a $4\sigma$ threshold on a cube of Gaussian
95noise of size $100\times100\times1024$ will result in $\sim340$
96detections. This is where the minimum channel and pixel requirements
97are important in rejecting spurious detections.
98
99Finally, as \duchamp is still undergoing development, there are some
100elements that are not fully developed. In particular, it is not as
101clever as I would like at avoiding interference. The ability to place
102requirements on the minimum number of channels and pixels partially
103circumvents this problem, but work is being done to make \duchamp
104smarter at rejecting signals that are clearly (to a human eye at
105least) interference. See the following section for further
106improvements that are planned.
Note: See TracBrowser for help on using the repository browser.