source: tags/release-1.1.3/CHANGES

Last change on this file was 411, checked in by MatthewWhiting, 16 years ago

Fixing param.cc for v1.1.3. Also putting it in the CHANGES file.

File size: 18.6 KB
Line 
1Duchamp version 1.1.3 (2008/01/08)
2----------------------------------
3
4A minor update that just improves the build process. The location of
5the wcslib include files was not specified correctly, so that some
6machines were unable to find them. The configure script has been fixed
7so that the compilation should work in all cases.
8
9Some minor changes have also been made to the code in the PixelMap
10directory, and to param.cc, to fix warnings or errors that may appear
11in compilation.
12
13However, there are no changes to the actual workings of the code in
14this minor version, so if you have a working version of Duchamp 1.1.2
15there is probably no reason to update.
16
17Duchamp version 1.1.2 (2007/12/07)
18----------------------------------
19
20Compilation:
21
22* The compilation had problems working correctly when the cfitsio and
23  wcs libraries were not in standard locations. The configure script
24  has been tweaked to make sure the libraries are found.
25
26* Problems with compiling in the absence of pgplot have been fixed,
27  and it should now compile fine.
28
29* Improved the configure script for use with Mac OS X and gfortran.
30
31
32Bugfixing:
33
34* A major problem with the text-based output was fixed. The widths of
35  the columns were not being calculated correctly, and were running
36  together. This should no longer be the case.
37
38* There was a bug in the way Duchamp interpreted spectral axes,
39  particularly AIPS types such as FELO-HEL, leading to incorrect
40  scaling of the velocity axis. This has been fixed, so that
41  non-standard types are now dealt with appropriately and the velocity
42  scaling should be accurate.
43
44* Another bug meant the beam correction was always applied to the
45  integrated spectra, regardless of whether the flux units involved
46  the beam (e.g. Jy/beam). This has been fixed. Note that the values
47  of the integrated flux presented in the results table were always
48  calculated correctly.
49
50* Other minor changes to improve the speed and efficiency, especially
51  of the merging code.
52
53New user parameters:
54
55* There is now the possibility to save a FITS file that contains a
56  mask array, indicating where the detected objects are. This is
57  governed by the flagOutputMask parameter.
58
59* The header information that is printed at the start of the results
60  file -- that is, the list of parameters, the statistics of the cube,
61  and the number of detections -- can now be written to a separate
62  file. Set the flagSeparateHeader parameter to true or 1 and it will
63  go to the file indicated by the headerFile parameter (the default is
64  duchamp-Results.hdr).
65
66* A "scaleMax" parameter has been added, so that the wavelet
67  reconstruction can include only a specified range of scales (for
68  instance, if one wants to search just for narrow features such as
69  absorption lines).
70
71* A "flagRobustStats" parameter has been added. This allows the user
72  to elect to use robust statistics (median and median absolute
73  deviation from the median) to estimate the noise parameters. If set
74  to false, the mean and standard deviation will be used. The default
75  value is true.
76
77New Feature:
78
79* When Duchamp is run on a 2D image (i.e. with no spectral output), it
80  now produces a postscript file that shows information each
81  individual source plus the image cutout of the source. This is
82  similar to the spectral output file, but without the spectra. The
83  filename is given by the spectraFile parameter.
84
85* Ability to save a FITS file containing a mask array, with pixel
86  values of 1 for pixels in a detected object, and 0 elsewhere.
87
88
89Duchamp version 1.1.1 (2007/07/20)
90------------------------------------
91
92Minor update to the release, with just a few changes:
93
94* The verification script was generating diffs due to differences in
95  the precision of some calculations when done on different machines.
96  One of these was the integrated flux, and this has been corrected so
97  that the same value should appear on all machines.
98  The verification script has also changed so that just the number of
99  sources and their positions are tested, as well as the
100  logfiles. This should avoid the reporting of spurious differences.
101
102* The grey-scale used in the image cutouts (in the spectral plots) has
103  been inverted. This makes it consistent with the scale used in the
104  maps, and hopefully easier to see when printing.
105
106* The configure/make system has been altered to make it easier to
107  install, and to specify different external libraries. In particular,
108  it is now not necessary to have PGPLOT installed on your system to
109  run Duchamp. In the absence of PGPLOT, Duchamp will run as normal,
110  just without any graphical output. Some source code needed to be
111  restructured to make this work. Please read the README file, or the
112  Installation appendix in the User's Guide, for complete details.
113
114* The time of completion is now written to the log file, so that the
115  user can have some idea of how long the program took.
116
117
118Duchamp version 1.1 (2007/05/17)
119------------------------------------
120
121Changes made since the last numbered release:
122
123EFFICIENCY OF EXECUTION:
124
125* Major change to the way detections are stored. They are now recorded
126  via run-length encoding in the x-y plane, and stored as collections
127  of channel-maps. This improves the memory usage and the speed of
128  execution (particularly for routines such as the merging
129  routines). The memory usage has also been improved by changing the
130  way the list of detected objects is stored.
131
132SMOOTHING:
133
134* Addition of ability to spatially smooth the cube before
135  searching. This is done with a Gaussian kernel, the size and shape
136  of which can be specified by the user, using the parameters kernMaj
137  & kernMin (which are the FWHM for the major & minor axes -- if
138  kernMin is not given it is assumed to match kernMaj) and kernPA (the
139  position angle of the major axis).  There is a new parameter
140  smoothType that distinguishes this method from the spectral (Hanning)
141  smoothing already in use.
142
143DETECTIONS:
144
145* Changed the way detection is done -- now only search in 2D images,
146  keeping all detections (ie. no minimum-pixel requirement). This
147  should be the same as doing both the 1D and 2D searches with the
148  minimum pixel requirement in, but simpler. The rejection is done at
149  the end after all the merging and growing has been done. This leads
150  to a larger number of intermediate detections (ie.  the number
151  before merging), which may increase the run-time slightly, although
152  this is offset by the changes to the efficiency (see above).
153
154* Increased the range over which objects can be grown to match the
155  threshSpatial & threshVelocity parameters, as well as rejecting new
156  pixels based on the BLANK and MW tests.
157
158INPUTS:
159
160* There has been a subtle change in the way BLANK pixels are dealt
161  with. To enable trimming of BLANK pixels, users should use the new
162  parameter flagTrim. The parameters flagBlankPix and blankPixVal are
163  no longer accessible via the parameter file -- warning messages are
164  given if they are provided in the parameter file.
165
166* Added ability to specify a statsec, so that the statistics are only
167  calculated from a given subsection of the cube, rather than the full
168  cube.
169
170* The subsections can also specify the ability to remove a border of n
171  pixels from the edges of an axis (ie. n from the start and from the
172  end) -- as requested in Trac ticket #5.
173
174* Changed the default value of the reconDim parameter from 3 to 1, and
175  the default value of the flagATrous parameter to false.
176
177OUTPUTS:
178
179* The output now includes three different estimates of the "centre" of
180  the detection: peak location, centroid (flux-weighted), or average.
181
182* Some slight improvements to the user feedback during execution.
183
184* Spectral output now includes the baseline, if one was fitted. The
185  format of the plot headers is slightly changed, to stop information
186  falling off the edge of the page.
187
188* Added command-line option -x to directly disable the PGPLOT X-window
189  map plotting. This overrides the setting of flagXOutput in the
190  parameter file.
191
192* Fallback spectral units (in case the FITS header fails to record
193  them) changed to SPC, but code has been fixed so that any problem
194  should be caught before this becomes an issue.
195
196BUGFIXES:
197
198* Fixed bug (Trac ticket #4) that meant the velocity units were not
199  correctly dealt with. Duchamp should be more robust for different
200  velocity axis setups now.
201
202* Fixed bug (ticket #9) with the VOTable output, where the tags were
203  not closing.
204
205* Fixed a bug that meant the integrated fluxes were not calculated
206  properly -- no allowance was made for the number of spatial
207  pixels. This should also work properly for 2D images now as well.
208
209* Fixed minor bug in calculating the flux threshold from the p-value
210  threshold when the FDR method is used. This did not affect the
211  actual thresholding, merely the quoted flux threshold in the results
212  file. Also, the MW channels are kept out of the p-value threshold
213  determination if they are being flagged.
214
215
216
217Duchamp version 1.0.7 (2006/11/22)
218----------------------------------
219
220One new feature, and some improvements and bug-fixes.
221
222* The user can now elect to Hanning-smooth the spectral direction of
223  the cube before the searching is done. This can be done instead of the
224  wavelet reconstruction (although if both are selected, the
225  reconstruction takes precendence). This functionality is switched on
226  and off by the flagSmooth parameter, and the width of the Hanning
227  kernel is governed by the hanningWidth parameter.
228
229* The smoothed array can also be written to a FITS file and read in at
230  the start in the same manner as the reconstructed array.
231
232* Several improvements have been made to the memory
233  management. Several memory leaks were fixed, and the memory usage of
234  Duchamp is considerably less, which will be a help for running it on
235  large cubes. The speed of some routines has also been improved, by
236  removing unnecessarily repetitive loops.
237
238* The sorting routines have been changed, and should now be slightly quicker
239  (and a bit more robust).
240
241* Enabled the scale bar (plotted on the 0th moment map in the spectral
242  output file) to be able to deal with much finer spatial scales (as
243  may be expected from VLBI data).
244
245* Other minor changes to code and presentation.
246
247
248Duchamp version 1.0.6 (2006/11/01)
249----------------------------------
250
251Some incremental improvements and changes to the code:
252
253* The statistics used for the detection are now calculated once for
254  the entire cube, rather than being calculated separately for each
255  channel map and spectrum. This results in a uniform threshold value
256  across the entire cube. The way the statistics calculations are
257  implemented in the code was changed, using a new statistics class.
258
259* This means we can report a peak signal-to-noise value for each
260  detection. This is given in the text-based output, as well as in the
261  summary information above the spectral output for each source.
262
263* The user can now elect not to have the moment map displayed in a
264  PGPlot window, through the use of the new flagXOutput
265  parameter. This should help in cases of running Duchamp on a dumb
266  terminal (with no X-display capabilities), or as part of a batch
267  script where the continual popping-up of the PGPlot window might
268  become annoying.
269
270* There are different Flags reported for the case of an object lying on
271  the spatial edge and spectral edge of the cube (E and S respectively).
272
273* A few minor bug fixes:
274  - When providing a subsection, any axes with the range given by *
275    had the pixel values offset incorrectly. This has been fixed.
276  - Negative searches now correctly invert the reconstructed array
277    when it is read in from a file.
278
279* Other minor changes to the code, to improve memory handling and
280  remove redundant arrays and variables.
281
282
283Duchamp version 1.0.5 (2006/09/06)
284----------------------------------
285
286Since version 1.0, there have been a range of mostly minor
287changes. These are generally bug-fixes, thanks to feedback from a
288number of users, as well as a few extra features.
289
290Here is a summary of the changes since version 1.0:
291
292USER INTERFACE:
293
294* The user is now able to enter the value of flag parameters in the
295  parameter file as strings, as well as integers (so one can enter
296  true or 1 to give the same result).
297
298GRAPHICAL OUTPUT:
299
300* Added a new function that draws the edge of the blank region on the
301  maps and image cutouts. There is a new flag parameter --
302  drawBlankEdges -- that controls the use of this function (the
303  default is true).
304  Also, the edge of the field is plotted on the image cutouts as a
305  yellow line. This distinguishes it from the purple blank pixel
306  dividing line.
307
308* The size of the tick mark in the image cutout (indicating the
309  spatial scale of the image) is now adaptable, so that it shows the
310  scale that best fits the image (ranging from 1 arcsec to 15
311  degrees). (This is a change from the previous standard length of 15
312  arcmin.)
313
314* The zoomed spectrum had its flux scale determined by all points in
315  the zoom box,including those flagged by the Milky Way (MW)
316  range. This has been fixed so that any MW channels will not affect
317  the flux scaling, potentially improving the appearance of objects
318  detected close in velocity to strong MW emission or absorption.
319
320* Improved Karma Annotation file output, so that files without good
321  WCS are dealt with appropriately.
322
323TEXT-BASED OUTPUT:
324
325* The position resolution in the IAU-format names has been increased,
326  so that distinct objects close to one another are more readily
327  distinguished.  Overlapping sources at different velocities may
328  still have the same name, but this is a more general problem.
329
330* The presentation of the results in tabular format has been improved,
331  so that the precision of faint sources is sufficient to show their
332  flux, for instance, is not 0. This also applies to the information
333  presented above the spectral plots.
334
335* Improved error and warning reporting, so that the formatting and
336  presentation of information is clearer.
337
338FITS I/O RELATED:
339
340* The previous version was did not deal well with 4 (or greater)
341  dimensions in the FITS file -- the memory allocation was badly done,
342  and the axes needed to be in a particular order. This has been
343  fixed, so that the FITS I/O routines can now handle any sized FITS
344  file, with axes in any order (as long as there are two spatial and one
345  spectral axes).
346
347* When the FITS file does not have a rest frequency defined, there is
348  no way to transform the frequency axis into velocity. In this case,
349  the spectral axis is left as frequency, and put into units of MHz.
350
351* If the beam size is not indicated by the FITS header (through the
352  BMAJ and BMIN keywords), the user can manually specify the size
353  through the parameter file (using parameter beamSize).
354
355* The FITS I/O routines make use of the command fits_file_exists. This
356  was introduced into the CFITSIO package from version 2.5, so Duchamp
357  will only work with this version or higher. Version 3+ is preferred.
358
359OTHER BUG-FIXING:
360
361* Several bugs related to the blank-pixels were dealt with.
362  The correct values were not propagating through correctly, meaning
363  that the default values were being used. Also, there was the
364  potential for blank pixels to be detected when the FDR method was
365  used. Finally, the image cutout displays occasionally did not
366  obscure the blank pixels. All these problems should be fixed now.
367
368* The FDR setup routine was occasionally failing with a segmentation
369  fault, due to it accessing unallocated memory. This has been fixed.
370
371* Fixed bugs that affected the way 2D images (rather than 3D cubes)
372  were dealt with. The minChannels test failed when minChannels=0.
373
374* If there is no beam information in the FITS header, the user can now
375  enter a beam size as a parameter.
376
377* Other minor fixes to the code, to improve its structure and
378  robustness.
379
380
381Duchamp version 1.0 (2006/06/30)
382--------------------------------
383
384The first full release version.
385
386Several major changes compared to previous version:
387
388* Incorporated a FitsHeader class, to keep track of header information
389  (including WCS) from the FITS file. All units-related calculations
390  are done with this class, such as conversion to velocity, and
391  pixel-to-WCS conversion.  The main advantage of this is improved
392  speed of execution, more adaptable to different units, and improved
393  code (easier for me!).
394
395* Able to select the dimensionality of the reconstruction, rather than
396  just doing it in 3-D.
397
398* Robust text output, so that the columns are sized correctly given
399  the data being written, and the relevant units (derived from the
400  FITS header) are included in the output table.
401
402* Improved the way the reconstructed image is saved and read back in,
403  with a better naming scheme and a better set of new FITS header
404  keywords. The MW headers are now not written.
405
406Other, more minor changes include:
407
408* MW channels now not set to 0, but just ignored for searching
409  purposes (and for the scaling of the spectral output -- they are
410  plotted though and highlighted with a hashed box).
411
412* The scale bar in the moment map in the spectral output file has its
413  length indicated.
414
415* Improved VOTable output, with more information about the way Duchamp
416  was run.
417
418* Made sure all statistics calculations in the reconstruction are
419  based on robust (ie. median) methods.
420
421Also moved to an autoconf based configure/make compilation, for ease of use.
422
423
424Duchamp version 0.9.2 (2006/06/27)
425--------------------------------
426
427* Added the use of warning flags for detections: for either edge
428  location or negative enclosed flux.
429
430* A new command line option added so that the user can specify a FITS
431  file to be searched with the default parameters, rather than giving
432  a full parameter file.
433
434* The scale bar on the moment cutout now works in general case, using
435  an iterative process to get to the correct length.
436
437* RA axes are now done correctly on the full-scale maps.
438
439* Various coding fixes, improving the readability of the code,
440  particularly regarding the declaration of temporary variables.
441
442* Changed the way the time of execution is called : now using time.h
443  functions, rather than a system call.
444
445* Changed output in Detection/outputDetection.cc for the pixel
446  information of detected objects (the info printed above the spectral
447  plots) -- now print out number of voxels in object, and have
448  improved the formatting a little.
449
450* Improved the functionality of saving the FITS file containing the
451  reconstructed array. Added ability to save and read back in the MW
452  parameters when saving a reconstructed cube (if a reconstructed cube
453  has different MW range to that being considered, it would cause
454  problems). ReadRecon now just returns a FAILURE and will reconstruct
455  the cube anew.
456
457* Changed default value of flagGrowth to 0.
458
459
460
461Duchamp version 0.9 (2006/05/05)
462--------------------------------
463
464First public release version.
Note: See TracBrowser for help on using the repository browser.