gui.core package
Subpackages
- gui.core.baselineRemovalMethods package
- Submodules
- gui.core.baselineRemovalMethods.ALS module
- gui.core.baselineRemovalMethods.AirPLS module
- gui.core.baselineRemovalMethods.Dietrich module
- gui.core.baselineRemovalMethods.FABC module
- gui.core.baselineRemovalMethods.KK module
- gui.core.baselineRemovalMethods.Median module
- gui.core.baselineRemovalMethods.MinInterp module
- gui.core.baselineRemovalMethods.Polyfit module
- gui.core.baselineRemovalMethods.Rubberband module
- gui.core.baselineRemovalMethods.WaveletSpline module
- Module contents
- gui.core.caltranMethods package
- Submodules
- gui.core.caltranMethods.caltran_CCA module
- gui.core.caltranMethods.caltran_DS module
- gui.core.caltranMethods.caltran_FBDS module
- gui.core.caltranMethods.caltran_IPDDS module
- gui.core.caltranMethods.caltran_LASSODS module
- gui.core.caltranMethods.caltran_NewCCA module
- gui.core.caltranMethods.caltran_PDS module
- gui.core.caltranMethods.caltran_Ratio module
- gui.core.caltranMethods.caltran_RidgeDS module
- gui.core.caltranMethods.caltran_SparseDS module
- gui.core.caltranMethods.caltran_cv_CCA module
- gui.core.caltranMethods.caltran_cv_DS module
- gui.core.caltranMethods.caltran_cv_FBDS module
- gui.core.caltranMethods.caltran_cv_IPDDS module
- gui.core.caltranMethods.caltran_cv_LASSODS module
- gui.core.caltranMethods.caltran_cv_NewCCA module
- gui.core.caltranMethods.caltran_cv_PDS module
- gui.core.caltranMethods.caltran_cv_PDS_PLS module
- gui.core.caltranMethods.caltran_cv_RidgeDS module
- gui.core.caltranMethods.caltran_cv_SparseDS module
- gui.core.caltranMethods.caltran_prepare_data module
- Module contents
- gui.core.clusteringMethods package
- gui.core.crossValidateMethods package
- Submodules
- gui.core.crossValidateMethods.cv_ARD module
- gui.core.crossValidateMethods.cv_BayesianRidge module
- gui.core.crossValidateMethods.cv_ElasticNet module
- gui.core.crossValidateMethods.cv_GBR module
- gui.core.crossValidateMethods.cv_GP module
- gui.core.crossValidateMethods.cv_KRR module
- gui.core.crossValidateMethods.cv_LARS module
- gui.core.crossValidateMethods.cv_Lasso module
- gui.core.crossValidateMethods.cv_LassoLARS module
- gui.core.crossValidateMethods.cv_Local module
- gui.core.crossValidateMethods.cv_OLS module
- gui.core.crossValidateMethods.cv_OMP module
- gui.core.crossValidateMethods.cv_PLS module
- gui.core.crossValidateMethods.cv_RF module
- gui.core.crossValidateMethods.cv_Ridge module
- gui.core.crossValidateMethods.cv_SVR module
- Module contents
- gui.core.dimensionalityReductionMethods package
- Submodules
- gui.core.dimensionalityReductionMethods.dimred_FastICA module
- gui.core.dimensionalityReductionMethods.dimred_JADE module
- gui.core.dimensionalityReductionMethods.dimred_LDA module
- gui.core.dimensionalityReductionMethods.dimred_LFDA module
- gui.core.dimensionalityReductionMethods.dimred_LLE module
- gui.core.dimensionalityReductionMethods.dimred_MNF module
- gui.core.dimensionalityReductionMethods.dimred_NNMF module
- gui.core.dimensionalityReductionMethods.dimred_PCA module
- gui.core.dimensionalityReductionMethods.dimred_tSNE module
- Module contents
- gui.core.outlierMethods package
- gui.core.regressionMethods package
- Submodules
- gui.core.regressionMethods.ARD module
- gui.core.regressionMethods.BayesianRidge module
- gui.core.regressionMethods.ElasticNet module
- gui.core.regressionMethods.GBR module
- gui.core.regressionMethods.GP module
- gui.core.regressionMethods.KRR module
- gui.core.regressionMethods.LARS module
- gui.core.regressionMethods.Lasso module
- gui.core.regressionMethods.LassoLARS module
- gui.core.regressionMethods.OLS module
- gui.core.regressionMethods.OMP module
- gui.core.regressionMethods.PLS module
- gui.core.regressionMethods.RF module
- gui.core.regressionMethods.Ridge module
- gui.core.regressionMethods.SVR module
- Module contents
- gui.core.unmixingMethods package
Submodules
gui.core.About module
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]
-
- 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:
gui.core.CalibrationTransfer module
- class gui.core.CalibrationTransfer.CalibrationTransfer[source]
-
- 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:
- 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:
gui.core.CalibrationTransferCV module
- class gui.core.CalibrationTransferCV.CalibrationTransferCV[source]
-
- 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:
- 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:
gui.core.Clustering module
- class gui.core.Clustering.Clustering[source]
-
- 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:
- 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:
gui.core.CombineDataSets module
- class gui.core.CombineDataSets.CombineDataSets[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.CopyDataSet module
- class gui.core.CopyDataSet.CopyDataSet[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.CrossValidation module
- class gui.core.CrossValidation.CrossValidation[source]
-
- 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:
- 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:
gui.core.DimensionalityReduction module
- class gui.core.DimensionalityReduction.DimensionalityReduction[source]
-
- 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:
- 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:
gui.core.EndmemberIdentify module
- class gui.core.EndmemberIdentify.EndmemberIdentify[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
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
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.LocalRMSEPCalc module
- class gui.core.LocalRMSEPCalc.LocalRMSEPCalc[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.LocalRMSEPExplore module
- class gui.core.LocalRMSEPExplore.LocalRMSEPExplore[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.LocalRegression module
- class gui.core.LocalRegression.LocalRegression[source]
-
- 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:
gui.core.Lookup module
- class gui.core.Lookup.Lookup[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.MainWindow module
- class gui.core.MainWindow.EmittingStream[source]
Bases:
QObject
- 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.
- class gui.core.MainWindow.MainWindow[source]
Bases:
Ui_MainWindow
,QThread
,Modules
The Main part of the application where everything magical happens
- addWidget(obj)[source]
Organize our widgets using a list Each widget is addressed separately due to being in a list
- Parameters:
obj –
- 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
- 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_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_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:
- 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:
- 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
gui.core.MaskData module
- class gui.core.MaskData.MaskData[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.MultiplyByVector module
- class gui.core.MultiplyByVector.MultiplyByVector[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.Normalization module
- class gui.core.Normalization.Normalization[source]
-
- 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:
gui.core.OutlierIdentify module
- class gui.core.OutlierIdentify.OutlierIdentify[source]
-
- 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:
- 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:
gui.core.OutputFolder module
- class gui.core.OutputFolder.OutputFolder[source]
-
This is the outpath module. It can designate where data goes after processing
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.PeakAreas module
- class gui.core.PeakAreas.PeakAreas[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.Plot module
- class gui.core.Plot.Plot[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.PlotSpectra module
- class gui.core.PlotSpectra.PlotSpectra[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.Plot_ICA_PCA module
- class gui.core.Plot_ICA_PCA.Plot_ICA_PCA[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.ReadChemCamData module
- class gui.core.ReadChemCamData.ReadChemCamData[source]
-
- 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:
gui.core.ReadSuperCamData module
- class gui.core.ReadSuperCamData.ReadSuperCamData[source]
-
- 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:
gui.core.RegressionPredict module
- class gui.core.RegressionPredict.RegressionPredict[source]
-
- 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:
gui.core.RegressionTrain module
- class gui.core.RegressionTrain.RegressionTrain[source]
-
- 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:
- 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:
gui.core.RemoveRows module
- class gui.core.RemoveRows.RemoveRows[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.RenameColumn module
- class gui.core.RenameColumn.RenameColumn[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.RenameData module
- class gui.core.RenameData.RenameData[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.Resample module
- class gui.core.Resample.Resample[source]
-
Interpolates two datasets
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.RestoreTrainedModel module
- class gui.core.RestoreTrainedModel.RestoreTrainedModel[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.SaveTrainedModel module
- class gui.core.SaveTrainedModel.SaveTrainedModel[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.ShiftWvl module
- class gui.core.ShiftWvl.ShiftWvl[source]
-
Loads the data into the UI. The data needs to be a *.csv in order for this application to work
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.SpecDeriv module
- class gui.core.SpecDeriv.SpecDeriv[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.SpectralParameters module
- class gui.core.SpectralParameters.SpectralParameters[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.SplitDataset module
- class gui.core.SplitDataset.SplitDataset[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.Standardize module
- class gui.core.Standardize.Standardize[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.StratifiedFolds module
- class gui.core.StratifiedFolds.StratifiedFolds[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.SubmodelBlend module
- class gui.core.SubmodelBlend.SubmodelBlend[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns:
gui.core.Unmixing module
- class gui.core.Unmixing.Unmixing[source]
-
- 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:
- 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:
gui.core.WriteToCSV module
- class gui.core.WriteToCSV.WriteToCSV[source]
-
- get_widget()[source]
This function specifies the variable that holds the styling. Use this function to get the variable
- Returns: