Skip to content

GUI ideas

Matt Newville edited this page Nov 18, 2020 · 3 revisions

These are some examples and ideas for GUIs using lmfit.

Here are some screenshots from a customized GUI for X-ray absorption data, at XAS Viewer


Main Peak fitting window:

This page show a list of files/spectra on the left. The top right shows fitting ranges and fit buttons, and drop-downs to select model components. The bottom half shows a tabbed list of different model components (here 4 components: Line + Lorentzian + 2 Voigt functions). For each of these, the associated parameters can be given initial values, including "Pick from Plot".


Fit Results Page:

This shows the Fit report: best-fit parameters, correlations, etc for each fit done for a dataset. This page shows only one, but could show a list of fits done on the dataset.


Fit Figure:

A typical plot of fit + components.

Clone this wiki locally