peak_detectionPage module
- class tihi.tihi_wizardPages.peak_detectionPage.PeakDetectionPage(interpolation_class, x_label='x-axis', y_label='y-axis', title='title')
Bases:
QWizardPageWizard page for peak detection on interpolated data.
interpolation_class : Interpolation class containing x_val and y_val attributes from the Interpolation Page. x_label : Label for the x-axis. y_label : Label for the y-axis. title : Title for the plot.
- clear()
Clears the plot area.
- min_amp_changes()
Updates the minimum amplitude for peak detection based on user input.
- plot_input_data(peak=False)
Plot the input data called by the self.read_file function
- run()
Executes peak detection using specified parameters and updates the plot.
- threshold_changes()
Updates the second-derivative difference threshold for peak detection based on user input.
- window_size_changes()
Updates the window size for peak detection based on user input.