v3.19.0
v3.19.0 (2026-01-09)
✨ Features
-
analysis.fit: add voigt peak shape to
MultiPeakModel(547d4ab) -
io: support loading data with chunks for some loaders (c5cc15b)
Some supported loaders (
erpes,maestro,ssrl52) now accept achunksargument inerlab.io.load. Users can control the chunk size when loading large datasets to optimize memory usage and performance. The default chunking isNone. -
imagetool: add reload action directly to ImageTool window (6529b33)
The reload action was only available in the manager right-click context menu. Now, it is also accessible directly from the ImageTool window's File menu and also with a standard refresh keyboard shortcut.
-
interactive: add option to ignore specific warning messages in ImageToolManager (79ef0d7)
When a warning dialog is shown in the ImageToolManager, users can now choose an
Ignorebutton. This will suppress future warnings with the same message for the duration of the session. -
erlab.analysis.fit: add 2 new models for data fitting (9baea86)
Adds
TLLModelwhich represents a Tomonaga-Luttinger liquid power-law suppression of the density of states, andSymmetrizedGapModelwhich represents the superconducting gap spectral function symmetrized about the Fermi level. -
analysis.interpolate: add
leading_edgefunction that computes the leading edge of EDCs. (846aafc) -
add interactive GUI for curve fitting (633f722)
Adds a new
erlab.interactive.ftooltool that can be used to interactively fit arbitrary 1D lmfit models to 1D and 2D data. -
analysis.fit: add oversampling parameter to convolution fit function for improved accuracy (dea64ff)
With narrow peaks smaller than the data step size, convolution-based fitting can produce inaccurate results due to undersampling. This commit introduces an 'oversampling' parameter to the convolution fit function, allowing users to specify a higher sampling rate during convolution operations.
Oversampling is also available as a parameter to
MultiPeakModel. -
analysis.fit.models: add rough guess of peak centers and widths to
MultiPeakModel(0c45f93)MultiPeakModel's
guessmethod now estimates peak centers and widths based on the input data, improving initial parameter estimates for fitting. Note that this is a basic heuristic and will only work when peaks are well-separated and distinct. -
add functions for plotting arbitrary BZ slices (2bdd1fc)
Adds functions to compute the intersections of Brillouin zone boundaries with arbitrary planes in k-space.
Also updates
ktoolto use the new functions, improving visualization of BZ slices.
🐞 Bug Fixes
-
io.plugins.ssrl52: check ssrl loader correctly loads all example files including camera (24656b0)
-
imagetool: fixes an issue where disabling setting cursor colors from coordinate values did not work as intended (9718a8a)
-
manager: improve running check reliability (4192eba)
The previous implementation of
is_runningrelied on checking if the TCP port was open, which could lead to false positives if the port was occupied by another process. The updated implementation uses ZeroMQ's monitoring capabilities to verify that the server is actively responding to handshake events, providing a more accurate assessment of its running state. -
manager: add timeout for communication with ImageTool Manager to prevent hangs in user code. (fae261f)
The default htimeout is set to 15 seconds, and can be configured by the
ITOOL_MANAGER_ZMQ_TIMEOUT_MSenvironment variable. -
interactive: fix inconsistent Ctrl+W behavior in tools, especially on macOS (4c7ccef)
-
restool: fix trying to fit sometimes resulting in a RuntimeError (610649c)
-
analysis.fit.models: properly display reprs for
FermiEdgeModelandFermiDiracModel(d71f40a) -
analysis.mesh: fix undoing automatic straight slit Fermi level correction for data containing NaNs (9c0dcb2)
-
interactive: make interactive tool windows close completely when pressing Ctrl+W if it is not in the ImageTool manager (3350324)
-
imagetool: fix error when dragging cursor line with alt key pressed (a7ef23f)
-
manager: fix duplicate error messages for standalone build of ImageTool Manager (4428604)
⚡️ Performance
- analysis.fit: speed up convolution by using
fftconvolve(ab974a7)
♻️ Code Refactor
-
analysis.fit: improve gaussian convolution stability and accuracy (3cc0718)
-
analysis.fit: set default coefficients for
PolynomialModelandStepEdgeModel(2b3aa9a) -
analaysis.fit.minuit: allow passing lmfit parameters directly to
from_lmfit(9eef563) -
analysis.fit.functions.general: add defaults to
gaussian_whandlorentzian_wh(3ceb79c)
[main e16a8e7] bump: version 3.18.0 → 3.19.0
3 files changed, 33 insertions(+), 3 deletions(-)