navigate.model.devices.mirrors.imop.ImagineOpticsMirror
- class navigate.model.devices.mirrors.imop.ImagineOpticsMirror(microscope_name, device_connection, configuration)
Bases:
MirrorBase
ImageineOpticsMirror mirror class.
- __init__(microscope_name, device_connection, configuration)
Initialize the ImagineOpticsMirror class.
- Parameters:
microscope_name (str) – Name of the microscope.
device_connection (dict) – Dictionary containing the device connection information.
configuration (dict) – Dictionary containing the configuration information.
Methods
__init__
(microscope_name, device_connection, ...)Initialize the ImagineOpticsMirror class.
display_modes
(coefs)Display the mirror modes.
flat
()Move the mirror to the flat position.
Get the modal coefficients.
save_wcs_file
([path, name])Save the WCS file.
set_from_wcs_file
([path, name])Set the mirror from a WCS file.
set_positions_flat
(pos)Set the mirror to the flat position.
Zero the mirror flatness.
Attributes
- display_modes(coefs)
Display the mirror modes.
- Parameters:
coefs (list) – List of coefficients to display the mirror modes.
- flat()
Move the mirror to the flat position.
- get_modal_coefs()
Get the modal coefficients.
- Returns:
List of modal coefficients.
- Return type:
list
- save_wcs_file(path=None, name=None)
Save the WCS file.
- Parameters:
path (str, optional) – Path to save the WCS file, by default None
name (str, optional) – Name of the WCS file, by default None
- set_from_wcs_file(path=None, name=None)
Set the mirror from a WCS file.
- Parameters:
path (str, optional) – Path to the WCS file, by default None
name (str, optional) – Name of the WCS file, by default None
- Returns:
List of coefficients.
- Return type:
list
- set_positions_flat(pos)
Set the mirror to the flat position.
- Parameters:
pos (list) – List of positions to set the mirror to.
- zero_flatness()
Zero the mirror flatness.
- configuration
Configuration of the microscope
- Type:
dict
- is_synthetic
Is the mirror synthetic?
- Type:
bool
- mirror_controller
Hardware device to connect to
- Type:
object
- mirror_parameters
Configuration of the mirror
- Type:
dict