navigate.view.popups.adaptiveoptics_popup.AdaptiveOpticsPopup
- class navigate.view.popups.adaptiveoptics_popup.AdaptiveOpticsPopup(root, *args, **kwargs)
Bases:
objectAdaptive Optics Popup
- __init__(root, *args, **kwargs)
Initialize AdaptiveOpticsPopup
Creating popup window with this name and size/placement, PopUp is a Toplevel window
- Parameters:
root (tk.Tk) – Root window
Methods
__init__(root, *args, **kwargs)Initialize AdaptiveOpticsPopup
Get labels
Get armed modes
Get widgets
onFrameConfigure(event)Reset the scroll region to encompass the inner frame.
set_widgets(coefs)Set widgets
Attributes
- get_labels()
Get labels
- Returns:
Dictionary of labels
- Return type:
dict
- get_modes_armed()
Get armed modes
- Returns:
Dictionary of armed modes
- Return type:
dict
- get_widgets()
Get widgets
- Returns:
Dictionary of widgets
- Return type:
dict
- onFrameConfigure(event)
Reset the scroll region to encompass the inner frame.
- Parameters:
event (tk.Event) – Event
- set_widgets(coefs)
Set widgets
- Parameters:
coefs (list) – List of coefficients
- ao_notebook
Notebook
- Type:
ttk.Notebook
- clear_button
Clear Button
- Type:
ttk.Button
- coefs_bar
Coefficients Bar
- Type:
matplotlib.axes.Axes
- deselect_all_modes
Deselect All Button
- Type:
ttk.Button
- fig
Figure
- Type:
matplotlib.figure.Figure
- fig_tw
Figure
- Type:
matplotlib.figure.Figure
- flat_button
Flat Button
- Type:
ttk.Button
- from_wcs_button
Load Button
- Type:
ttk.Button
- inputs
Dictionary of all the variables
- Type:
dict
- mirror_img
Mirror Image
- Type:
matplotlib.axes.Axes
- mode_labels
Dictionary of all the mode labels
- Type:
dict
- mode_names
List of mode names
- Type:
list
- modes_armed
Dictionary of all the armed modes
- Type:
dict
- n_modes
Number of modes
- Type:
int
- peaks_plot
Peaks Plot
- Type:
matplotlib.axes.Axes
- plot_frame
Plot Frame
- Type:
ttk.Frame
- save_wcs_button
Save Button
- Type:
ttk.Button
- select_all_modes
Select All Button
- Type:
ttk.Button
- set_button
Set Button
- Type:
ttk.Button
- tab_cnn
CNN-AO Tab
- Type:
ttk.Frame
- tab_tw
Tony Wilson Tab
- Type:
ttk.Frame
- tony_wilson_button
Tony Wilson Button
- Type:
ttk.Button
- trace_plot
Trace Plot
- Type:
matplotlib.axes.Axes
- zero_button
Zero Button
- Type:
ttk.Button