Releases: Julian-Hochhaus/LG4X-V2
Release 2.2.1
Forgot to update metainfo for the flathub repo.
2.2.0
What's Changed
-
Import Menu: Added an import menu that allows users to import data that doesn't follow the simple format:
energy intensity data energy data intensity ... ... This enhancement was suggested by @andrefahl in #97.
-
Settings Option: Introduced a settings option that enables users to modify and save preferences related to the GUI appearance and data import.
-
Two-Window Mode: Added a two-window mode as requested by @Hexanders in #89.
-
GUI Customization: Made several GUI options, such as window resolution and table width, accessible to users. This feature will be expanded in future updates. The topic was initially mentioned by @erdzeichen in #89.
-
Dependency Update: Updated requirements to use
lmfitxps>=2.4.1
, which offers improved support for data using the binding energy scale. -
Bug Fixes: Various bugs were addressed by @kevinsmia1939 and @Julian-Hochhaus.
Full Changelog: 2.1.5...2.2.0
Release Version 2.1.5
Patch Release
Only several errors were fixed compared to the last release
What's Changed
- small bug in periodic table found by @kevinsmia1939 fixed in 6889e2b
- started using of bumpver for version control in 989a311
- adapted to the restructuring of lmfitxps package
- explicitly set the local settings to overwrite user system settings to prevent unexpected behavior with which values are accepted as valid input in ff93135 by @Julian-Hochhaus
- fixed error handling and implemented logging in ac5d07c
Full Changelog: v2.1.0...2.1.2
Full Changelog: 2.1.1...2.1.2
Patch 2.1.5:
- Changed log file-size to 4MB
- Preventing crash by adding error handling as issued by @SHilgers in #88
Full Changelog: 2.1.3...2.1.5
Release 2.1.0
What's New (Major changes)
- The fitting process was moved to its own thread, thereby enabling us to kill the fitting process from the GUI if the optimization takes too long. Thereby implementing the long-standing suggestion by @Hexanders in #5. Implemented in a552ec5
- All user-defined models were moved to an external package called
lmfitxps
, which is available via pip and on github. - @kevinsmia1939 created a logo and added several files (desktop file, metainfo) in preparation for publishing the software on flathub in #79
What's New (Minor changes)
- Tables are now members of the class
EditableHeaderTableWidget
, which inherits fromQtWidgets.QTableWidget
and enables the user to edit table headers. Thereby, components used in the fit can now be renamed. In addition, clicking on the table header now opens a dialog, where the user can choose to remove selected components from the fit model. If header names are changed, the program checks for duplicates and renames components if necessary.
Implemented by @Julian-Hochhaus in 94f72a3, 3bad8ce, and ddd4364 - Names of components are now exported to the
pars.dat
file so that the user is able to individually name fit components and later reuse the saved parameters belonging to specific identified and named fit components as suggested by @kevinsmia1939 and implemented by @Julian-Hochhaus in 90b466b. - Further improved the support for
.vms
files. Importing more information from VAMAS, such as excitation energy. See 5564c6b - The static Shirley background is now calculated using the same Model as the active one as suggested by @kevinsmia1939 . In addition, the static backgrounds are now exported as well and are displayed in the plot too. See Issue #66 and commits 369940b, 666b403, and 88d1c3f
Bugs solved
- Fix ValueError if
-
is used in input fields by @kevinsmia1939 in #50 - Made sure, that the
bg_mod
variable is always set toNone
and caught all cases whenbg_mod
is not used in the model, solving Issue #52 reported by @kevinsmia1939. Fixed by @Julian-Hochhaus in 7532e1d. - zeros and NaN in the input data and in ModelResult are now caught, preventing the program from crashing as reported by @kevinsmia1939
in #55 and fixed by @Julian-Hochhaus in a77a20a - Pressing Refresh in the periodic table caused crashes due to a small typo. Issue #58 resolved by commit 21035237
- removing constraints on fit parameters to enable the use of kinetic energy scale as well as binding energy scale, limits for the asymmetry parameter are now set based on which energy scale is used (see Issue #71, #59, and #73 by @kevinsmia1939 and commits 124e375, 884631f, and 164385a)
- several bugs with the calculation of FWHM's as well as areas using binding energy scale were solved by @kevinsmia1939 and @Julian-Hochhaus , see 24d60f3, 9d021e8, and ea8ffb8
New Contributors
- @kevinsmia1939 made his first contribution in #50. In addition, he put outstanding effort in improving the program by submitting various suggestions and issues as well as contributing to the code. In addition, he designed a logo and prepared the publication as flatpak. Thanks for your effort!
Full Changelog: 98c992e...70f37b1
Release 2.0.4
This version introduces the option to apply multiple different background at the same time to the fit. In addition, the slope background as proposed by A. Herrera-Gomez et al. was introduced.
New Features:
- The possibility to use multiple different BG's in the same fit was introduced. This is especially useful, if combination of backgrounds is necessary ( e.g. for multi-layer materials)
- The
Slope
-BG as proposed by A. Herrera-Gomez et al. was introduced. In combination with the functionality that multiple backgrounds can now be combined, backgrounds like the Slope-Shirley-BG as proposed by J. Vegh and A. Herrera-Gomez et al. are now accesible to the user. - reformatted the database on which the periodic table for identifying elements in survey spectra is based using the mendeleev-package.
- redesigned the periodic table used for identifying elements in broad range survey spectra.
Bugs fixed:
- reloading of old parameters when updating the tougaard cross section as mentioned in #45 was fixed
- fixed the functionality of the append method for importing additional parameter sets for components
- changed style of the the matplotlib to
seaborn-v0_8-colorblind
, because the old seaborn style was no longer accesible
Full Changelog: v2.0.3...v2.0.4
Release V2.0.3
- Simulation mode was introduced (If no data is present, the current given parameters are plotted against an artificial dataset with intensity set to random numbers)
- timestamp of last successful fit added to status bar
- user input validation of
xmin
,xmax
,hv
,wf
and all input tables (for background, components and limits) was introduced - added an indicator light, depending on the status of limits (red: limit reached, yellow: limit reached but limit at zero, probably no problem, could simply mean that amplitude reached 0 during fit, e.g. component not necessary for fit, green: limit in use and everything is fine, grey: limits not in use)
several bugs fixed:
- asymmetry of gds-model was not set to fixed even if checked
- using active shirley bg, the exported bg in the
.csv
file was only the polynomial bg - fixed problems with unsetting expressions for
gamma
andsigma
parameter which was caused by inconsistencies inlmfit
as discussed here. - removed bug, that the choosen background was changed when the cross-section was set
Full Changelog: v2.0.2...v2.0.3
Release version for citation
v2.0.2 Delete dfjks
Extended functionality and user-defined models
-Added user-defined models such as doniach-sunjic convoluted with a gaussian kernel and fermi distribution convoluted with a gaussian kernel
-Added fit-metadata such as fwhm and peak area to the GUI
-Added fit statistics to the GUI (number of evals, chisqr, redchi, etc.)