Skip to content

v0.19.0

Choose a tag to compare

@PierreRaybaut PierreRaybaut released this 31 Mar 11:32
· 1297 commits to main since this release

See DataLab roadmap page for future and past milestones.

DataLab Version 0.19.0

💥 New features and enhancements:

  • Image operation features ("Operations" menu):
    • Renamed "Rotation" submenu to "Flip or rotation"
    • New "Flip diagonally" feature
  • Signal processing features ("Processing" menu):
    • New "Convert to Cartesian coordinates" feature
    • New "Convert to polar coordinates" feature
  • Signal analysis features ("Analysis" menu):
    • Renamed "X values at min/max" to "Abscissa of the minimum and maximum"
    • New "Abscissa at y=..." feature
  • New "Open from directory" feature:
    • This feature allows to open multiple files from a directory at once, recursively (only the files with the supported extensions by the current panel are opened)
    • Add "Open from directory" action to the "File" menu for both Signal and Image panels
    • Add support for folders when dropping files in the Signal and Image panels
  • Add 1/x operation to the "Operations" menu for both Signal and Image panels:
    • This feature relies on the numpy.reciprocal function, and handles the case where the denominator is zero by catching warnings and replacing the np.inf values with np.nan values
    • Add compute_inverse method for image and signal processors
    • This closes Issue #143 - New feature: 1/x for signals and images
  • Public API (local or remote):
    • Add add_group method with title and select arguments to create a new group in a data panel (e.g. Signal or Image panel) and eventually select it after creation:
      • Method was added to the following classes: AbstractCDLControl, BaseDataPanel and RemoteClient
      • This closes the following issues:
        • Issue #131 - BaseDataPanel.add_group: add select argument
        • Issue #47 - Remote proxy / Public API: add add_group method
    • AbstractCDLControl.get_object_uuids: add an optional group argument (group ID, title or number) to eventually filter the objects by group (this closes Issue #130)
  • When opening an HDF5 file, the confirmation dialog box asking if current workspace should be cleared has a new possible answer "Ignore":
    • Choosing "Ignore" will prevent the confirmation dialog box from being displayed again, and will choose the current setting (i.e. clear or not the workspace) for all subsequent file openings
    • Added a new "Clear workspace before loading HDF5 file" option in the "Settings" dialog box, to allow the user to change the current setting (i.e. clear or not the workspace) for all subsequent file openings
    • Added a new "Ask before clearing workspace" option in the "Settings" dialog box, to allow the user to disable or re-enable the confirmation dialog box asking if current workspace should be cleared when opening an HDF5 file
    • This closes Issue #146 - Ask before clearing workspace when opening HDF5 file: add "Ignore" option to prevent dialog from being displayed again
  • Object and group title renaming:
    • Removed "Rename group" feature from the "Edit" menu and context menu
    • Added "Rename object" feature to the "Edit" menu and context menu, with F2 shortcut, to rename the title of the selected object or group
    • This closes Issue #148 - Rename signal/image/group title by pressing F2
  • Region of Interest editor:
    • Regrouped the graphical actions (new rectangular ROI, new circular ROI, new polygonal ROI) in a single menu "Graphical ROI"
    • Added new "Coordinate-based ROI" menu to create a ROI using manual input of the coordinates:
      • For signals, the ROI is defined by the start and end coordinates
      • For images:
        • The rectangular ROI is defined by the top-left and bottom-right coordinates
        • The circular ROI is defined by the center and radius coordinates
        • The polygonal ROI is not supported yet
      • This closes Issue #145 - ROI editor: add manual input of the coordinates

🛠️ Bug fixes:

  • Fixed Issue #141 - Image analysis: mask nan values when computing statistics, for example
  • Fixed Issue #144 - Average profile extraction: ValueError when selection rectangle is larger than the image