source: tags/release-1.1.2/CHANGES @ 1441

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