GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameManualModel.ParamClassForManualPlot module¶
- class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameManualModel.ParamClassForManualPlot.ParamClassForManualPlot(parent, row, col, name, value, present, status, molec_line=None, mass_molec=None, color=None, molecs=None, isotopes=None, opacity_line_lists=None, isotope_masses=None, rayleigh=False, type_params='Linear', single_dropdown=False)[source]¶
Bases:
objectA simplified class to handle manual plot parameters in the GUI.
This class manages parameter widgets with only the essential fields: - Name (label or dropdown for molecules) - Present (checkbox) - Value (entry field) - Type (Linear/Log10 label)
- __init__(parent, row, col, name, value, present, status, molec_line=None, mass_molec=None, color=None, molecs=None, isotopes=None, opacity_line_lists=None, isotope_masses=None, rayleigh=False, type_params='Linear', single_dropdown=False)[source]¶
Initialize the parameter panel for manual plotting.
- Parameters:
parent – Parent panel for the parameter
row – Row position in the grid
col – Column position in the grid
name – Name of the parameter
value – Initial value of the parameter
present – Initial presence state
status – Initial status of the parameter
molec_line – If not None, creates molecular selection dropdowns
mass_molec – Molecular mass (stored but not displayed)
color – Color scheme for the panel
molecs – List of molecules (for dropdown)
isotopes – Dictionary of isotopes (for dropdown)
opacity_line_lists – Dictionary of opacity_line_lists (for dropdown)
isotope_masses – Dictionary of isotope masses
rayleigh – Rayleigh flag (stored but not displayed)
type_params – Type of parameters (“Linear” or “Log10”)
single_dropdown – If True with molec_line, creates only one dropdown instead of three
- get_rayleigh_value()[source]¶
Get the rayleigh value: from dropdown if molecule, otherwise fixed value.