validate_exposure_time#
- stellarphot.transit_fitting.gui.validate_exposure_time(indicator_widget, value_widget)[source]#
Validates the exposure time input.
- Parameters:
- indicator_widget
MyValidwidget The widget that indicates to the user whether or not the value is reasonable.
- value_widget: ipywidget
This widget should be generated by exotic_settings_widget.
- indicator_widget
- Returns:
- function
Function that will set the correct boolean value on the indicator_widget to indicate if the value of the exposure time is valid. This can be used as an observer for an ipywidget