A widget that contains a fit function combobox, an estimator combobox and a remove button.
More...
|
| name |
|
| fit |
|
| estimator |
|
| all_fits |
|
| nameLabel |
|
| fitComboBox |
|
| estComboBox |
|
| delButton |
|
| delIcon |
|
|
| sigRemoveFit = QtCore.Signal(str) |
|
A widget that contains a fit function combobox, an estimator combobox and a remove button.
◆ __init__()
def fitsettings.FitConfigWidget.__init__ |
( |
|
self, |
|
|
|
name, |
|
|
|
all_fits, |
|
|
|
fit = None , |
|
|
|
estimator = None |
|
) |
| |
Create a FitConfigWidget.
- Parameters
-
name | str: name of the fit |
all_fits | dict: dict of all fits, their estimators and parameters |
fit | str: optional name of fit function to be selected |
etimator | str: optional name of estimator to be selected |
◆ estimatorChanged()
def fitsettings.FitConfigWidget.estimatorChanged |
( |
|
self, |
|
|
|
index |
|
) |
| |
Estimator changed.
Nothing really needs to happen.
◆ fitChanged()
def fitsettings.FitConfigWidget.fitChanged |
( |
|
self, |
|
|
|
index |
|
) |
| |
The fit changed, update the estimator ComboBox.
- Parameters
-
index | int: index of the new selected fit |
The documentation for this class was generated from the following file: