make_checker#

stellarphot.transit_fitting.gui.make_checker(indicator_widget, value_widget)[source]#

Build an observer that checks TIC number and, if it is a valid TIC number, looks up information about the TIC object from MAST copy of TIC as priors for EXOTIC. It also sets the visible checkbox to the appropriate state.

Parameters:
indicator_widgetMyValid widget

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.

Returns:
function

Function with the correct signature for use as an observer on an ipywidget.