baselinePage module

class tihi.tihi_wizardPages.baselinePage.BaselinePage(x_vals, y_vals, x_label='x-axis', y_label='y-axis', title='title')

Bases: QWizardPage

Wizard page for baseline correction using various methods.

x_vals : x-axis values of the data y_vals : y-axis values of the data x_label : label for the x-axis y_label : label for the y-axis title : title for the plot

clear()

Clears the plot and resets the x and y values to the original data.

lambda_changes()

Updates the lambda parameter for PLS methods based on user input.

method_changes()

Updates the baseline correction method based on user selection.

plot_input_data()

Plots the input data along with the baseline if it exists.

ratio_changes()

Updates the ratio parameter for arPLS based on user input.

run()

Executes the baseline correction based on the selected method.

class tihi.tihi_wizardPages.baselinePage.QIComboBox(parent=None)

Bases: QComboBox

Custom ComboBox class inheriting from QComboBox.