navigate.model.devices.shutter.laser_shutter_base.ShutterBase
- class navigate.model.devices.shutter.laser_shutter_base.ShutterBase(microscope_name, device_connection, configuration)
Bases:
object
ShutterBase Class - Parent class for the laser shutters.
- __init__(microscope_name, device_connection, configuration)
Initialize the Shutter.
- Parameters:
microscope_name (str) – Name of microscope in configuration
device_connection (object) – Hardware device to connect to
configuration (multiprocesing.managers.DictProxy) – Global configuration of the microscope
Methods
__init__
(microscope_name, device_connection, ...)Initialize the Shutter.
Close the Shutter.
Open the Shutter.
Attributes
Get the Shutter state.
Shutter state
- close_shutter()
Close the Shutter.
- open_shutter()
Open the Shutter.
- shutter_state
Shutter state
- Type:
bool
- property state
Get the Shutter state.
- Returns:
Shutter state
- Return type:
bool