wizard module
- class tihi.wizard.MagicWizard(x_vals, y_vals, x_label='x-axis', y_label='y-axis', title='title')
Bases:
QWizardWizard for peak profiling using PyQt5 and custom pages.
- out_profiles
List to store output profiles.
- Type:
list
- out_params
List to store output parameters.
- Type:
list
- out_model
Placeholder for output model.
- page_num
Current page number.
- Type:
int
- interpolate
Interpolation page instance.
- Type:
ipp
- baseline
Baseline fitting page instance.
- Type:
blp
- peak_detect
Peak detection page instance.
- Type:
pdp
- distribution
Distribution fitting page instance.
- Type:
dfp
- back_button()
Placeholder method for handling the back button.
- Returns:
None
- finish_line()
Placeholder method for finishing the wizard.
- Returns:
None
- handlePageChange()
Handle changes in wizard pages.
Disables the “go back” button on the first page.
- initializePage(pageId)
Initialize wizard pages and manage the “go back” button’s visibility.
- Parameters:
pageId – ID of the wizard page being initialized.
- Returns:
None
- next_button()
Move to the next wizard page based on the current page number.
- Returns:
None