Skip to content

v3.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 13:15
· 231 commits to main since this release

v3.2.0 (2024-12-14)

✨ Features

  • io.dataloader: enhance data combination logic (80f2772)

    When given multi-file data with multiple coordinates, the previous behavior was to include every coordinate as a dimension. This is logical for scans such as 4D position-dependent scans, but unnecessary for data like hv and angle dependent scans. Now, the loader will concatenate only along one axis if all motor coordinates are strictly monotonic.

  • constants: add Bohr radius (f8e4ca2)

  • imagetool.manager: enable concatenating selected data (44d61ba)

  • imagetool: add normalization option for 1D plot data (5417a32)

    Adds an option to normalize 1D data with its mean to the right-click menu of 1D plots.

  • add lazy-loader support (e5ec658)

    Properly implements SPEC 1 lazy-loading to top-level modules and the analysis module. Users can now directly access submodules after importing the top-level module only:

    
    import erlab
    
    erlab.analysis.transform.rotate(...)
    
    
  • imagetool.manager: add console (470808f)

    Adds a python console to the manager that can be triggered from the View menu.

  • imagetool: add keyboard shortcut to close ImageTool window (97a7533)

  • interactive.imagetool: add info box to manager (0918a5b)

    Adds a textbox to ImageTool manager that shows coordinates and attributes of the selected window.

🐞 Bug Fixes

  • kspace: fix broken hv-dependent data momentum conversion (4695583)

    Fixes completely wrong implementation of kz-dependent momentum conversion. I can't believe this went unnoticed!

  • imagetool: remove and reapply filter upon transformation (af54a1d)

  • imagetool: fix nonuniform data io and cropping (8b538e6)

  • imagetool: fix wrong cursor position when loading ImageTool state from file (e8191a8)

  • imagetool: resolve menu widgets losing keyboard focus (90f8868)

⚡️ Performance

  • imagetool.manager: accelerate opening new windows within the manager (d4380b7)
  • delay imports for performance optimization in interactive tools (abac874)

♻️ Code Refactor

  • plotting: update import statements to use erlab.plotting directly and deprecate erlab.plotting.erplot (6a19f6a)

    The import convention import erlab.plotting.erplot as eplt is now deprecated. Users should replace them with import erlab.plotting as eplt.

  • imagetool: streamline namespace handling and improve layout structure (5506f18)

  • imagetool: move center zero button to context menu (48deb6d)

  • improve cli interface (34a4db1)

  • cleanup some function signatures (b04df05)

  • analysis.fit: enable lazy loading for fit functions (e877e12)

  • imagetool.manager: add ipython-based console (f0b0adf)

  • analysis.gold: adjust resolution plot cosmetics (5d4a486)

  • interactive.colors: minimize number of default colormaps (a4c750c)

    Reduces the number of colormaps initially available in ImageTool. All colormaps can be loaded from the right-click menu of the colormap selection widget.

  • interactive.imagetool: simplify method names for clarity (48d0453)

[main 61c7cef] bump: version 3.1.2 → 3.2.0
2 files changed, 2 insertions(+), 2 deletions(-)