querytab
sgp.ui.tabs.querytab.ANN
sgp.ui.tabs.querytab.FigureProperties
Bases: HashableBaseModelIO
sgp.ui.tabs.querytab.MPD
Bases: PredictionBase
Multivariate Distribution (MPD) model.
sgp.ui.tabs.querytab.MPD.corr_bootstrap
Calculate the correlation matrix.
sgp.ui.tabs.querytab.MPD.fit
Fit the Johnson distribution to the data.
| RETURNS | DESCRIPTION |
|---|---|
A tuple containing the distributions, the optimization results, the statistics, and the p-values.
|
|
sgp.ui.tabs.querytab.MPD.optimize
optimize(df: DataFrame, *, method: Optimizers, **kwargs)
Optimize the z-value for the Johnson distribution.
sgp.ui.tabs.querytab.Model
The prediction model
sgp.ui.tabs.querytab.PropertyWidget
Bases: QWidget, QObject
Widget for displaying property items.
sgp.ui.tabs.querytab.PropertyWidget.__init__
__init__(name: str, value: float, enabled: bool = None, parent=None, *args, SpinBox: Type[QDoubleSpinBox] = QtWidgets.QDoubleSpinBox, **kwargs)
Initialize the PropertyWidget.
sgp.ui.tabs.querytab.PropertyWidget.isEnabled
isEnabled() -> bool
Get whether the PropertyWidget is enabled.
sgp.ui.tabs.querytab.PropertyWidget.setOptions
Set the options of the PropertyWidget.
sgp.ui.tabs.querytab.PropertyWidget.setValue
setValue(value: float)
Set the value of the PropertyWidget.
sgp.ui.tabs.querytab.QueryTab
Bases: QWidget, QObject
Widget for displaying query properties.
sgp.ui.tabs.querytab.QueryTab.deleteInputProperty
Delete a property from the list.
sgp.ui.tabs.querytab.QueryTab.setANNOutputs
Set the output values.
sgp.ui.tabs.querytab.SGPIO
Bases: HashableBaseModelIO
sgp.ui.tabs.querytab.TabWindow
Bases: QMainWindow, QObject
Window for displaying tabbed matplotlib figures or data tables.
sgp.ui.tabs.querytab.TabWindow.closeEvent
Close all figures when closing window.
sgp.ui.tabs.querytab.TabWindow.closeTab
closeTab(index: int)
Close tab at given index and close window if it is the last tab.
sgp.ui.tabs.querytab.execute_in_thread
Execute a function in a separate thread, usually for functions that do not return a value. For functions that return a value, use the slot parameter to connect the resultReady signal to a function that will receive the result.
| PARAMETER | DESCRIPTION |
|---|---|
func |
Function to be executed in a separate thread, by default None
TYPE:
|
slot |
Function to be connected to the resultReady signal when the result is ready, by default None
TYPE:
|