navigate.controller.sub_controllers.camera_settings.AdvancedCameraSettingController
- class navigate.controller.sub_controllers.camera_settings.AdvancedCameraSettingController(popup: AdvancedCameraSettingPopup, parent_controller: Controller, *args, **kwargs)
Bases:
objectController for the Advanced Camera Settings popup.
- __init__(popup: AdvancedCameraSettingPopup, parent_controller: Controller, *args, **kwargs) → None
Initialize the AdvancedCameraSettingController class.
- Parameters:
popup (AdvancedCameraSettingPopup) – The popup window for advanced camera settings
parent_controller (Controller) – The parent controller that manages this popup
*args – Variable length argument list
**kwargs – Arbitrary keyword arguments
Methods
__init__(popup, parent_controller, *args, ...)Initialize the AdvancedCameraSettingController class.
Close the popup window.
flip_axis(axis)Flip the camera axis in the configuration.
Save the current camera settings to the configuration file.
showup()This function will let the popup window show in front.
update_microscope(*args[, in_initialization])Update the microscope configuration when the microscope is changed.
Attributes
Popup window for the camera settings.
Controller for the local configuration.
The current microscope name.
Camera configuration dictionary for the current microscope.
- close_popup() → None
Close the popup window.
- flip_axis(axis: str) → None
Flip the camera axis in the configuration.
- Parameters:
axis (str) – The axis to flip, e.g., ‘x’ or ‘y’.
- save_camera_settings() → None
Save the current camera settings to the configuration file.
- showup()
This function will let the popup window show in front.
- update_microscope(*args, in_initialization: Optional[bool] = False) → None
Update the microscope configuration when the microscope is changed.
- Parameters:
in_initialization (bool, optional) – If True, this method is called during initialization and does not save the previous camera settings.
- camera_dict
Camera configuration dictionary for the current microscope.
- Type:
dict
- current_microscope
The current microscope name.
- Type:
str
- local_config_controller
Controller for the local configuration.
- Type: