Closed MBartkowiakSTFC closed 2 months ago
Looks good, just a few things.
I think that I addressed all the issues other than the matplotlib text overlapping or getting clipped. The problems with matplotlib text labels are mainly a result of bad ratio of the figure dimensions, figure DPI and the Qt widget size; I am not sure how to test for it in the code and correct it if such a problem occurs.
A few more things to do to clean it up a bit before merge - I will add this.
With ideal the setting values should be N/A like before.
Ideal peak is not centred and the red line which is used to show the FWHM should not be shown. Also the FWHM and centre options should be disabled like eta.
Text can be entered for the eta value
Description of work Adds a helper dialog for defining the instrument resolution function. It uses FWHM as the input parameter, and allows the user to pick a unit of energy of the FWHM. Also provides a preview of the peak function.
closes #343
Fixes
To test Please try running the DynamicIncoherentStructureFactor analysis, and change the resolution function type and peak parameters both in the main GUI and in the helper dialog.