gui.core package

Subpackages

Submodules

gui.core.About module

class gui.core.About.About(*args, **kwargs)[source]

Bases: QWidget, Ui_Form

Display the version for the User. Good for debugging purposes

gui.core.AboutQt module

class gui.core.AboutQt.AboutQT(*args, **kwargs)[source]

Bases: QWidget, Ui_AboutQT

Display the version for the User. Good for debugging purposes

gui.core.BaselineRemoval module

class gui.core.BaselineRemoval.BaselineRemoval[source]

Bases: Ui_Form, Modules

baselineMethods()[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

getMethodParams(index)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_regression_widget(alg, params=None)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setGuiParams(dict)[source]

Using a dictionary, restore the UI

Parameters:

dict

Returns:

setupUi(Form)[source]

gui.core.CalibrationTransfer module

class gui.core.CalibrationTransfer.CalibrationTransfer[source]

Bases: Ui_Form, Modules

caltranMethods()[source]
change_choices(combobox, datacombo)[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_caltran_widget(alg, params=None)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Overriding Modules’ setGuiParams as we are using a list of lists to

Parameters:

dict

Returns:

setupUi(Form)[source]

gui.core.CalibrationTransferCV module

class gui.core.CalibrationTransferCV.CalibrationTransferCV[source]

Bases: Ui_Form, Modules

caltranMethods()[source]
change_choices(combobox, datacombo)[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Using a dictionary, restore the UI

Parameters:

dict

Returns:

setupUi(Form)[source]
toggle_caltran_widget(alg, state)[source]
gui.core.CalibrationTransferCV.mismatch_rmse(spectrum, spectrum_to_match)[source]

gui.core.Clustering module

class gui.core.Clustering.Clustering[source]

Bases: Ui_Form, Modules

clusteringMethods()[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

getMethodParams(index)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_cluster_widget(alg)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Overriding Modules’ setGuiParams, because we are accessing a list of lists And each submodule contains it’s own setGuiParams

setupUi(Form)[source]
xvar_choices()[source]

gui.core.CombineDataSets module

class gui.core.CombineDataSets.CombineDataSets[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.CopyDataSet module

class gui.core.CopyDataSet.CopyDataSet[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.CrossValidation module

class gui.core.CrossValidation.CrossValidation[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_regression_widget(alg, params=None)[source]
regressionMethods()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Using a dictionary, restore the UI

Parameters:

dict

Returns:

set_yRange()[source]
setupUi(Form)[source]
toggle_regression_widget(alg, state)[source]
xvar_choices()[source]
yvar_choices()[source]

gui.core.DimensionalityReduction module

class gui.core.DimensionalityReduction.DimensionalityReduction[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

dimensionalityReductionMethods()[source]
getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

getMethodParams(index)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_dimred_widget(alg)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Overriding Modules’ setGuiParams, because we are accessing a list of lists And each submodule contains it’s own setGuiParams

setupUi(Form)[source]
update_LDA()[source]
yvar_choices()[source]

gui.core.EndmemberIdentify module

class gui.core.EndmemberIdentify.EndmemberIdentify[source]

Bases: Ui_Form, Modules

connectWidgets(setup=False)[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
xvar_choices()[source]

gui.core.LoadData module

class gui.core.LoadData.LoadData[source]

Bases: Ui_loadData, Modules

Loads the data into the UI. The data needs to be a *.csv in order for this application to work

connectWidgets()[source]

Connect the necessary widgets.

Returns:

getDataButton_clicked(lineEdit)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hide_field(checkbox, lineEdit, label)[source]
run(filename=None, keyname=None)[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.LocalRMSEPCalc module

class gui.core.LocalRMSEPCalc.LocalRMSEPCalc[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_choices(colname)[source]
get_choices_unk(colname)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hidefit()[source]
refresh()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

set_radio_buttons()[source]
setupUi(Form)[source]

gui.core.LocalRMSEPExplore module

class gui.core.LocalRMSEPExplore.LocalRMSEPExplore[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_choices(colname)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hidefit()[source]
refresh()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

set_radio_buttons()[source]
setupUi(Form)[source]

gui.core.LocalRegression module

class gui.core.LocalRegression.LocalRegression[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

count = -1
delete()[source]

In some particular cases, the UI needs to have some information dumped. This is a chance to do that.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

make_regression_widget(alg, params=None)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
xvar_choices()[source]
yvar_choices()[source]

gui.core.Lookup module

class gui.core.Lookup.Lookup[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

read_lookupdata()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

set_choices(combobox_data, combobox_choices)[source]
setupUi(Form)[source]

gui.core.MainWindow module

class gui.core.MainWindow.EmittingStream[source]

Bases: QObject

flush()[source]
textWritten

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

write(text)[source]
class gui.core.MainWindow.MainWindow[source]

Bases: Ui_MainWindow, QThread, Modules

The Main part of the application where everything magical happens

Refresh_Modules_clicked()[source]
addWidget(obj)[source]

Organize our widgets using a list Each widget is addressed separately due to being in a list

Parameters:

obj

Returns:

clear()[source]

Delete all modules in GUI Except those that are greyed out

Returns:

closeEvent(event)[source]

Write window size and position to config file, or system registry

connectWidgets()[source]

Connect all the widgets associated with the MainWindow UI

Returns:

debug_mode()[source]

Change the direction of stdout to print to the original console

Returns:

delete_module(_idx=1)[source]

Check to see if the last item is enabled If it is, delete the last item in the list And then call the del_layout function, which will remove the item from the UI

Returns:

getWidgetItems()[source]

This function iterates through widgetList gets the name of all the Modules and then all of the parameters in the UI and write it to a list to be returned

Iterate through widgetList get the names of core, add it to a temp l add f list to be the first item in ui_items

menu_item_shortcuts()[source]
new()[source]

Start a new gui

Returns:

normalOutputWritten(text)[source]

Append text to the QTextEdit.

normal_mode()[source]

Change the direction of stdout to print to the UI console instead

Returns:

onFinished()[source]

When a given task is finished stop the bar pulsing green and display 100% for bar.

Returns:

onStart()[source]

This is multithreading thus run() == start() make the bar pulse green TaskThread.start()

Returns:

on_Rerun_Button_clicked()[source]

Check to see if the last item in the list is enabled subtract 1 from leftOff enable the current leftOff item

Returns:

on_deleteModuleComboBox_changed()[source]

Using a comboBox, a user can delete a particular module out of the UI

Returns:

on_insertModuleComboBox_changed()[source]
on_okButton_clicked()[source]

Start the multithreading function

Returns:

on_outPutLocationButton_clicked()[source]
on_restore_clicked()[source]

Choose a file Set the file to be read Pickle load our data and push it through the function setWidgetItems

Returns:

on_save_clicked()[source]

Save the workflow to a *.wrf file

Returns:

on_stopButton_clicked()[source]

Hard terminate running thread

Technically you should never do this. But given that some tasks are monumentally huge, I feel that it is justified.

Returns:

run()[source]

Start the thread for running all the modules

Returns:

runModules()[source]

This function iterates through a list of object addresses which then run its dot notated run()

iterate through our widgets, start from the last left off item get the name of our current widget item start the timer print the name of the module running run our current module’s function() get our end time print how long it took our current module to execute based on start time and end time disable our current module increment our left off module

Returns:

setWidgetItems(dict)[source]

This function iterates through a dictionary supplied by the parameter dict The [0]th element of the dictionary is the header that contains the names of each module. We use the names as a way to identify what module we want to add to the UI Once the full UI has been restored, the parameters are filled in for each individual module.

Parameters:

dict

Returns:

setupModules()[source]

This function iterates through a list of object addresses which then run its dot notated setup()

iterate through our widgets, start from the last left off item run our current module’s setup()

Returns:

setupUi(MainWindow)[source]
taskFinished

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

class gui.core.MainWindow.TitleWindow(mainName)[source]

Bases: object

Top portion of the application needs a name. Displays the name of our restored, or saved file Displays whether we are debugging or not

display()[source]
setFileName(name)[source]
setMainName(name)[source]
gui.core.MainWindow.get_splash(app)[source]

Get the splash screen for the application

Parameters:

app

Returns:

gui.core.MainWindow.main()[source]

gui.core.MaskData module

class gui.core.MaskData.MaskData[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

getDataButton_clicked(lineEdit)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.MultiplyByVector module

class gui.core.MultiplyByVector.MultiplyByVector[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_getDataButton_clicked(lineEdit)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.Normalization module

class gui.core.Normalization.Normalization[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

populate combobox with dataset names update list of variables to normalize when data set selection is changed when the variable to normalize is changed, update the min max and default norm ranges when anything in the gui is changed, run update val to make sure values are increasing connect the add and delete ranges buttons :param self: :return:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_addRange_pushed()[source]
on_deleteRange_pushed()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setDataLimits()[source]
setupUi(Form, restore=False)[source]
setup_norm_ranges()[source]
updateVal()[source]
xvar_choices()[source]
class gui.core.Normalization.norm_range(minLabel, minSpin, maxLabel, maxSpin, hidden)[source]

Bases: object

Hidden()[source]
getValues()[source]
setLimits(min, max)[source]
setValue(int_)[source]

gui.core.OutlierIdentify module

class gui.core.OutlierIdentify.OutlierIdentify[source]

Bases: Ui_Form, Modules

connectWidgets(setup=False)[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

getMethodParams(index)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_outlier_widget(alg, params=None)[source]
outlierIdentifyMethods()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Using a dictionary, restore the UI

Parameters:

dict

Returns:

setupUi(Form)[source]
xvar_choices()[source]

gui.core.OutputFolder module

class gui.core.OutputFolder.OutputFolder[source]

Bases: Ui_Form, Modules

This is the outpath module. It can designate where data goes after processing

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_outPutLocationButton_clicked()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.PeakAreas module

class gui.core.PeakAreas.PeakAreas[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_getDataButton_clicked(lineEdit)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.Plot module

class gui.core.Plot.Plot[source]

Bases: Ui_Form, Modules

color_check()[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

disable_colors()[source]
fig_options()[source]
get_choices()[source]
get_data(model)[source]
get_data_levels()[source]
get_minmax(objmin, objmax, var)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

newfig_check()[source]
plotFilenamePushButton_clicked()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

set_xTitle()[source]
set_yTitle()[source]
setupUi(Form)[source]

gui.core.PlotSpectra module

class gui.core.PlotSpectra.PlotSpectra[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

fig_options()[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

newfig_check()[source]
on_pushButton_clicked()[source]
plot_spect_change_vars(obj)[source]
plot_spect_update_list(obj)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

set_spect_minmax(set_x=True, set_y=True)[source]
set_xTitle()[source]
setupUi(Form)[source]
xvar_choices()[source]

gui.core.Plot_ICA_PCA module

class gui.core.Plot_ICA_PCA.Plot_ICA_PCA[source]

Bases: Ui_Form, Modules

colorchoices_change_vars(obj)[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_plotFilenamePushButton_clicked()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
xychoices()[source]

gui.core.ReadChemCamData module

class gui.core.ReadChemCamData.ReadChemCamData[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

delete()[source]

In some particular cases, the UI needs to have some information dumped. This is a chance to do that.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_searchpathButton_clicked()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
update_outfile(text)[source]

gui.core.ReadSuperCamData module

class gui.core.ReadSuperCamData.ReadSuperCamData[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

delete()[source]

In some particular cases, the UI needs to have some information dumped. This is a chance to do that.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_searchpathButton_clicked()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
update_outfile(text)[source]

gui.core.RegressionPredict module

class gui.core.RegressionPredict.RegressionPredict[source]

Bases: Ui_Form, Modules

connectWidgets(setup=False)[source]

Connect the necessary widgets.

Returns:

delete()[source]

In some particular cases, the UI needs to have some information dumped. This is a chance to do that.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.RegressionTrain module

class gui.core.RegressionTrain.RegressionTrain[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_regression_widget(alg, params=None)[source]
refreshLists()[source]
regressionMethods()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Overriding Modules’ setGuiParams as we are using a list of lists to

Parameters:

dict

Returns:

set_yRange()[source]
setupUi(Form)[source]
xvar_choices()[source]
yvar_choices()[source]

gui.core.RemoveRows module

class gui.core.RemoveRows.RemoveRows[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

connect_logic()[source]
get_colname_choices()[source]
get_rowval_choices(colname)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hide_operations()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
setup_remove_operations()[source]
update_cols()[source]
update_vals()[source]
class gui.core.RemoveRows.remove_operation(colname, operator, value, logic=None, hidden=None)[source]

Bases: object

GetValues()[source]
Hidden()[source]

gui.core.RenameColumn module

class gui.core.RenameColumn.RenameColumn[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
update_lvl0()[source]
update_lvl1()[source]

gui.core.RenameData module

class gui.core.RenameData.RenameData[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.Resample module

class gui.core.Resample.Resample[source]

Bases: Ui_Form, Modules

Interpolates two datasets

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.RestoreTrainedModel module

class gui.core.RestoreTrainedModel.RestoreTrainedModel[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_restorePushButton_clicked(lineEdit)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.SaveTrainedModel module

class gui.core.SaveTrainedModel.SaveTrainedModel[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_savePushButton_clicked(lineEdit)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.ShiftWvl module

class gui.core.ShiftWvl.ShiftWvl[source]

Bases: Ui_Form, Modules

Loads the data into the UI. The data needs to be a *.csv in order for this application to work

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.SpecDeriv module

class gui.core.SpecDeriv.SpecDeriv[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.SpectralParameters module

class gui.core.SpectralParameters.SpectralParameters[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setParameters()[source]
setupUi(Form)[source]

gui.core.SplitDataset module

class gui.core.SplitDataset.SplitDataset[source]

Bases: Ui_Form, Modules

connectWidgets(setup=False)[source]

Connect the necessary widgets.

Returns:

get_choices()[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
update_datakeys(setup=False)[source]
update_split_choices()[source]

gui.core.Standardize module

class gui.core.Standardize.Standardize[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]

gui.core.StratifiedFolds module

class gui.core.StratifiedFolds.StratifiedFolds[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
strat_fold_change_testfolds()[source]
strat_fold_change_vars()[source]

gui.core.SubmodelBlend module

class gui.core.SubmodelBlend.SubmodelBlend[source]

Bases: Ui_Form, Modules

addSubmodel_pushed()[source]
connectWidgets()[source]

Connect the necessary widgets.

Returns:

data_changed()[source]
deleteSubmodel_pushed()[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setHidden(list)[source]
setupUi(Form)[source]
setupWidgets()[source]
update_opt()[source]
class gui.core.SubmodelBlend.subWidgets(predictionComboBox, minLabel, minSpinBox, maxLabel, maxSpinBox)[source]

Bases: object

getValues()[source]
setHidden(bool)[source]
setValue(int_)[source]
spinBox(int_)[source]

gui.core.Unmixing module

class gui.core.Unmixing.Unmixing[source]

Bases: Ui_Form, Modules

connectWidgets()[source]

Connect the necessary widgets.

Returns:

getGuiParams()[source]

Overriding Modules’ getGuiParams, because I’ll need to do a list of lists in order to obtain the regressionMethods’ parameters

getMethodParams(index)[source]
get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

hideAll()[source]
make_unmix_widget(alg, params=None)[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

selectiveSetGuiParams(dict)[source]

Override Modules’ selective Restore function

Setup Qtickle selectively restore the UI, the data to do that will be in the 0th element of the dictionary We will then iterate through the rest of the dictionary Will now restore the parameters for the algorithms in the list, Each of the algs have their own selectiveSetGuiParams

Parameters:

dict

Returns:

setGuiParams(dict)[source]

Overriding Modules’ setGuiParams, because we are accessing a list of lists And each submodule contains its own setGuiParams

setupUi(Form)[source]
unmixingMethods()[source]

gui.core.WriteToCSV module

class gui.core.WriteToCSV.WriteToCSV[source]

Bases: Ui_Form, Modules

connectWidgets(setup=False)[source]

Connect the necessary widgets.

Returns:

get_widget()[source]

This function specifies the variable that holds the styling. Use this function to get the variable

Returns:

on_pushButton_clicked()[source]
run()[source]

Each Module’s functionality will be ran in this function. You will define what will happen to the data and parameters in here :return:

setupUi(Form)[source]
update_list()[source]
xvar_choices()[source]

gui.core.setShortcuts module

class gui.core.setShortcuts.Ui_Form[source]

Bases: object

setupUi(Form)[source]

Module contents