interpolatePage module

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

Bases: QWizardPage

Wizard page for interpolating and denoising data.

x_vals : Input x-axis values. y_vals : Input y-axis values. x_label : Label for the x-axis. y_label : Label for the y-axis. title : Title for the plot.

change_denoise_window_size()

Updates the denoise window size based on user input.

change_numpoints()

Updates the number of points to use for interpolation based on user input.

clear()

Clears the plot and re-plots the original data.

denoise()

Denoises the interpolated data and updates the plot.

interpolate_data()

Interpolates the original data and updates the plot.

plot_input_data(denoise=False)

Plots the input data.

denoise: If True, plot with denoising (green line).