GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.InputPanel module¶
Input Panel Module
This module defines the InputPanel class which serves as the main container for all input-related panels in the GUI application. It manages multiple tab panels for different input functionalities.
- class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.InputPanel.InputPanel(parent, row, column, color, path_default, width_GUI, height_frame, window, **kwargs)[source]¶
Bases:
MyPanelA panel class that manages multiple input-related tab panels in the GUI application.
This class inherits from MyPanel and serves as a container for various input panels organized in tabs. Each tab represents a different input functionality of the application.
- Variables:
width_GUI (int) – Width of the GUI panel
parent – Parent widget of the panel
path_default (str) – Default path for file operations
tab_manager (MyTabPanel) – Manager for the tab panels
frame_path (FramePath) – Panel for path-related inputs
frame_parameter (FrameParameter) – Panel for parameter inputs
frame_retrieval_analysis (FrameRetrievalAnalysis) – Panel for retrieval analysis
frame_tell_rem (FrameTellRem) – Panel for TellRem functionality
frame_manual_model (FrameManualModel) – Panel for manual model inputs
frame_cc_night (FrameCCNight) – Panel for CC night functionality
frame_simulation_HR (FrameGenerationHRData) – Panel for HR data simulation
frame_db_interactions (FrameDBInteractions) – Panel for database interactions
- __init__(parent, row, column, color, path_default, width_GUI, height_frame, window, **kwargs)[source]¶
Initialize the InputPanel with its components and layout.
- Parameters:
parent – Parent widget
row (int) – Row position in the grid
column (int) – Column position in the grid
color (str) – Background color of the panel
path_default (str, Path) – Default path for file operations
width_GUI (int) – Width of the GUI panel
height_frame (int) – Height of the frame
window – Main window instance
**kwargs – Additional keyword arguments passed to the parent class
- reload_all_targets()[source]¶
Rebuild the Target dropdown in every panel from a fresh target-folder scan.
Single source of truth for the target-dropdown cascade: used both after adding a target (Frame_Target._update_after_target_add) and by the Reload Targets button in FrameReload.
- reload_all_opacities()[source]¶
Rebuild every molecule/opacity dropdown from a fresh petitRADTRANS scan.
Covers the retrieval Parameters panel and the Forward Model panel. Each panel rebuilds its own molecule rows coherently (same placement and callbacks as the initial load); selection resets to the first entry.