A widget that manages the parameters for a fit.
More...
|
| parameters |
|
| useLabel |
|
| valueLabel |
|
| minimumLabel |
|
| maximumLabel |
|
| exprLabel |
|
| varyLabel |
|
| widgets |
|
| paramUseSettings |
|
A widget that manages the parameters for a fit.
◆ __init__()
def fitsettings.FitParametersWidget.__init__ |
( |
|
self, |
|
|
|
parameters |
|
) |
| |
Definition, configuration and initialisation of the optimizer settings GUI.
Adds a row with the value, min, max and vary for each variable in parameters.
- Parameters
-
parameters | Parameters: lmfit parameters collection to be displayed here |
◆ applyFitParameters()
def fitsettings.FitParametersWidget.applyFitParameters |
( |
|
self | ) |
|
Updates the fit parameters with the new values from the widget.
- Returns
- tuple(Parameters, dict): new lmfit Parameters and a dict indicating their use
◆ resetFitParameters()
def fitsettings.FitParametersWidget.resetFitParameters |
( |
|
self | ) |
|
Resets the parameters in the widget to the stored values.
- Returns
- tuple(Parameters, dict): old Parameters and dict indicating their use
◆ updateFitParameters()
def fitsettings.FitParametersWidget.updateFitParameters |
( |
|
self, |
|
|
|
parameters |
|
) |
| |
Update all the parameter values.
- Parameters
-
parameters | Parameters: lmfit Parameters to update the widget with |
The documentation for this class was generated from the following file: