get_values_from_widget#
- stellarphot.transit_fitting.gui.get_values_from_widget(exotic_widget, key=None)[source]#
Extract EXOTIC settings from widget.
- Parameters:
- exotic_widgetipywidget
This widget should be generated by exotic_settings_widget.
- keystr, either “known” or “candidate”, optional
Indicates which case to use for EXOTIC. If
None, use theplanet_typeattribute of theexotic_widget.
- Returns:
- dict
Value of modified template_json[key], where template_json is a global variable.