source: tags/release-1.1.4/CHANGES

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

Documenting recent changes, and upping the version numbers to 1.1.4.

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