GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameDBInteractions.Frame_Target module

Frame for managing target-related operations in the GUI. This module handles the creation and management of exoplanet targets, including their physical parameters and observational data.

class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameDBInteractions.Frame_Target.FrameTarget(parent, color, row, column, path_default, frame_input, window, **kwargs)[source]

Bases: MyPanel

A panel for managing exoplanet targets and their associated data.

This class provides functionality to: - Add new exoplanet targets with their physical parameters - Manage observational nights and instruments - Handle database interactions for target data

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

Initialize the FrameTarget panel with all necessary components.

add_target()[source]

Add a new target to the database with all its parameters.

add_night()[source]

Add a new night or instrument to the target.

modify_list_target(target_list)[source]

Update the target list dropdown with new targets.

modify_list_instrument(list_instrument)[source]

Update the instruments dropdowns by re-fetching from the database.

update_wl_range_from_instrument()[source]

Update wavelength range fields based on selected LR instrument.

browse_tbl_file()[source]

Open a file dialog to browse and select a TBL file.

convert_tbl_to_pkl()[source]

Convert TBL file to PKL format for LR analysis.