GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameGenerationHRData.StellarDialog module¶
- class GUIBRUSHR.GUI.Input_Output_Panels.Input_Panels.TabPanels.FrameGenerationHRData.StellarDialog.StellarDialog(parent, stellar_teff)[source]¶
Bases:
ToplevelCustom dialog for downloading stellar spectrum parameters.
This dialog asks whether to download a stellar spectrum and collects stellar parameters (temperature, log gravity, metallicity) if the user confirms. The parameters are validated, rounded to appropriate precision, and returned in a formatted tuple.
- stellar_teff¶
The initial stellar temperature value
- result¶
Tuple containing the validated parameters or (None, None, None)
- _entries¶
Dictionary mapping parameter labels to MyEntry widgets
- _message_label¶
MyLabel widget displaying the main message
- _no_button¶
MyButton widget for “No” action
- _ok_button¶
MyButton widget for “OK” action
- DIALOG_COLOR = '#FFFFFF'¶
- BUTTON_COLOR = '#E0E0E0'¶
- PARAMETER_CONFIG = [('Stellar Temperature [K]', None, 100), ('Log Gravity [cm s⁻²]', '4.5', 0.5), ('Metallicity [Fe/H]', '0.0', 0.2)]¶