Release Notes v1.2.0

Aus Dpdak
Wechseln zu: Navigation, Suche

Please get version 1.2.0 of DPDAK from the Download page.

Main Improvements

  • The fast radial/azimuthal image integration plugins that use pyFAI now can offer the same options as provided by the corresponding plugins that use Fit2D.
  • The 'Peak Fit' plugin now offers weighting and a few new fit functions. In addition, users can define their own fit functions.
  • The new 'Auto Peak Fit' plugin provides fitting of a peak on linear background without the need to specify start parameters.
  • A comprehensive offline manual to supplement the (extended) online documentation.
  • A new pause button allows to investigate in detail all data processed so far and to resume processing afterwards.
  • DPDAK can be run in batch mode and without interference between parallel sessions.
  • The new concept of user directories allows extending DPDAK by your own plugins and fit functions, without touching any source file of DPDAK.
  • The configured plugin parameters can be stored in and read back from text files.
  • New plugins for
    • radial/azimuthal image integration (incl. polarization and geometry corrections) that directly subtracts background (plugin called ImageIntegrationSubBG),
    • reading DESY Fio files,
    • reading 2D slices (e.g. image data) from a 3D Hdf5 stack.
  • On multi-CPU computers, the user can now freely specify how many CPUs to use in parallel to speed up processing. The default (no parallel processing) can be changed via the dialogue Configuration -> DPDAK Options.

Further Details

  • If processing a sequence has finished, the GUI automatically stops - no need to press the stop button by hand.
  • The Logger part of the main window shows the name of the most recently processed input data.
  • Similarly, various display tools show the name of the input data as the default title.
  • Warning messages in the logger window are shown in orange, errors in red.
  • Python exceptions from plugin processing are reported to the user via the logger window.
  • Integer plugin parameters in the main window cannot be changed by the mouse wheel anymore (on Linux).
  • Optional plugin parameters are shown with a green background in the parameter part of the main window.
  • Image configuration (previously: image options):
    • is stored together with the configuration,
    • is not stored in and used from $HOME/.dpdak/config.ini (for parallel processing).
  • Display tools and export plugins are ordered alphabetically in their menu.
  • Plugin naming issues:
    • the parameter part of the main window now shows both name and display name of a plugin where the two differ,
    • similarly in the right part of the 'Configure Plugins' dialogue window, plugins are listed using both names (if they differ).
  • Allow open backwards sequence for file inputs: 100-;-10 is the same as 100-0;10.
  • DB Text Export, Single Text Export:
    • as a (default) option, the names of columns of exported 1D array data are marked by their sequence numbers (in contrast to just the input counter numbers).
  • Multi Plot, Peak Fit Display, Image Dislpay and 2D Colour Plot displays:
    • the choice of data updates if the configuration changes.
  • Multi Plot:
    • fix drawing of y(x) for scalar x and y,
    • by default, a new curve uses another colour than those already plotted.
  • Peak Fit Display:
    • uses different line styles for data and fit components (i.e. dashed lines for components),
    • takes into account gaps in ranges when plotting fits and 'active' data,
    • offers to show the difference between fit and data,
    • allows to define the number of points used to draw the fit line,
    • the legend optionally shows the resulting fit parameters.
  • Image Display:
    • scrolling through the images can now be done in two modes (switching between the modes is done by giving index -1):
      • either guessing the next image from the number found in the name of the currently shown image (yellow background of the index),
      • or just viewing the images one after the other as stored in the database (e.g. every tenth only - white background of the index),
    • a choice menu allows to restrict the synchronisation between plugin parameters and the ROIs drawn to a chosen plugin,
    • in the Config tab one can update the image configuration to flip or rotate the image, apply a mask or subtract background.
  • Extract from Array plugin can also provide min, max, mean, sum of an array, not only the value at a given index.
  • SAXS/WAXS Calibration:
    • simplify choice of calibrants, add LaB6, CeO2 and Al2O3,
    • add a config tab to adjust the colour scale of the calibrant image and to update the image configuration to flip or rotate the image, apply a mask or subtract background.

Bug Fixes

  • Peak Fit Display:
    • also works if the Peak Fit processing plugin is given a display name and offers to choose the peak fit plug-in if there are more than one,
    • automatically updates if y-axis limits are changed,
    • after opening new peak fit display, it shows the fit function values with the fitted parameters of the last processed data instead of with the start parameters.
  • Fix reversed sequence reading: e.g. 10-1 skipped 2 and 1 and 100-10:10 skipped 10.
  • Fix colour log scale in Image Display and 2D Colour Plot for data that is completely between 0 and 1 (e.g. simulated data).
  • Fix crash of DB and Single Plugin Text Export when writing TEXT (i.e. multiline string) output as e.g. used in the peak fit plugin.
  • Image data is always imported as floating point numbers to avoid surprises with 'unsigned integers' (uint32) and background subtraction.
  • DPDAK's Windows version comes with a new version of pyFAI (0.10.3) for azimuthal integration: The old version 0.9.2 contained a wrong exponent for the solid angle correction (2 instead of 3).