navigate.view.main_window_content.channels_tab.StackAcquisitionFrame
- class navigate.view.main_window_content.channels_tab.StackAcquisitionFrame(settings_tab: ChannelsTab, *args: list, **kwargs: dict)
Bases:
LabelframeThis class is the frame that holds the stack acquisition settings.
- __init__(settings_tab: ChannelsTab, *args: list, **kwargs: dict) → None
Initialization of the Stack Acquisition Frame
- Parameters:
settings_tab (ChannelsTab) – The frame that holds the settings tab.
*args (list) – Variable length argument list.
**kwargs (dict) – Arbitrary keyword arguments.
Methods
__init__(settings_tab, *args, **kwargs)Initialization of the Stack Acquisition Frame
create_additional_stack_widgets(axes, devices)Create the additional stack widgets.
Returns a dictionary of the buttons in the frame.
Returns a dictionary of the variables in the widget
Returns a dictionary of the widgets.
update_setting_widgets(axis)Update the setting widgets based on the movement mode.
Attributes
- create_additional_stack_widgets(axes: list, devices: dict) → None
Create the additional stack widgets.
This function creates the additional stack widgets for the stack acquisition settings.
- Parameters:
axes (list) – The list of axes to create the widgets for.
devices (dict) – The dictionary of devices to create the widgets for. {axis: device_name}
- get_buttons() → dict
Returns a dictionary of the buttons in the frame.
This function returns the dictionary that holds the buttons. The key is the button name, value is the button.
- Returns:
Dictionary of the buttons in the widget
- Return type:
dict
- get_variables() → dict
Returns a dictionary of the variables in the widget
This function returns a dictionary of all the variables that are tied to each widget name.
The key is the widget name, value is the variable associated.
- Returns:
Dictionary of the variables in the widget
- Return type:
dict
- get_widgets() → dict
Returns a dictionary of the widgets.
This function returns the dictionary that holds the input widgets. The key is the widget name, value is the LabelInput class that has all the data.
- Returns:
Dictionary of the widgets in the widget
- Return type:
dict
- update_setting_widgets(axis: str) → None
Update the setting widgets based on the movement mode.
This function updates the setting widgets based on the movement mode selected.
- Parameters:
axis (str) – The axis to update the widgets for.
- additional_stack_setting_variables
Dictionary of variables in the frame
- Type:
dict
- buttons
Dictionary of the buttons in the frame
- Type:
dict
- empty_label
The label to add empty space to the slice frame
- Type:
ttk.Label
- inputs
Dictionary of the widgets in the frame
- Type:
dict