GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Model_Plot.Frame_Model_Plot module

Frame Model Plot Module

This module contains the FrameModelPlot class which provides a GUI interface for plotting and analyzing atmospheric retrieval model results. It handles both high and low resolution data visualization, contribution plots, and VMR (Volume Mixing Ratio) analysis.

GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Model_Plot.Frame_Model_Plot.parse_lh_chi2(value)[source]

Parse the extended string format: ‘chisq;lh;chi2_reduced;npix_or_dof;nfit’

GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Model_Plot.Frame_Model_Plot.format_lh_dict(lh_dict, name)[source]
GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Model_Plot.Frame_Model_Plot.format_both(lh_HR, lh_LR)[source]
class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.Frame_Retrieval_Analysis.Tab_Analysis.Frame_Model_Plot.Frame_Model_Plot.FrameModelPlot(parent, color, row, column, path_default, frame_input, width, height, window, **kwargs)[source]

Bases: MyPanel

A GUI panel for plotting and analyzing atmospheric retrieval model results.

This class provides functionality to: - Generate model plots for high and low resolution data - Create contribution plots for opacity analysis - Display VMR profiles and statistical information - Handle both equilibrium and non-equilibrium chemistry modes

__init__(parent, color, row, column, path_default, frame_input, width, height, window, **kwargs)[source]

Initialize the FrameModelPlot panel.

Sets up all GUI widgets including input fields, checkboxes, dropdowns, buttons, and the main plot area. Initializes instance variables for data processing and plot management.

plot()[source]

Generate model plots and contribution analysis.

This method orchestrates the entire plotting process: 1. Extracts parameters from GUI 2. Runs pre-processing analysis 3. Updates display fields 4. Saves parameters for external processing 5. Starts external plotting subprocess

check_proc()[source]

Check the status of the external plotting process.

This method is called periodically to monitor the subprocess. When the process completes, it loads the results and updates the GUI.

show()[source]

Display the last generated plot without regenerating it.

This method loads and displays previously generated plots and associated data without running the full analysis pipeline.