navigate.model.devices.filter_wheel.asi.ASICubeSlider
- class navigate.model.devices.filter_wheel.asi.ASICubeSlider(device_connection, device_config)
Bases:
FilterWheelBase
ASICubeSlider - Class for controlling the C60 Cube Slider from ASI.
Note
Additional information on the ASI Filter Wheel can be found at: www.asiimaging.com/docs/filter_and_turret_changer?s%5B%5D=filter&s%5B%5D=slider
Maximum number of positions is 4.
Typical switch time between adjacent positions is < 250 ms.
- __init__(device_connection, device_config)
Initialize the ASICubeSlider class.
- Parameters:
device_connection (dict) – Dictionary of device connections.
device_config (dict) – Dictionary of device configuration parameters.
Methods
__init__
(device_connection, device_config)Initialize the ASICubeSlider class.
check_if_filter_in_filter_dictionary
(filter_name)Checks if the filter designation (string) given exists in the filter dictionary
close
()Close the ASI Filter Wheel serial port.
filter_change_delay
(filter_name)Estimate duration of time necessary to move the dichroic
set_filter
(filter_name[, wait_until_done])Change the dichroic position.
Attributes
ASI Tiger Controller object.
Delay for filter wheel to change positions.
The ID of the dichroic in the Tiger Controller.
Filter wheel position.
- check_if_filter_in_filter_dictionary(filter_name: str) → bool
Checks if the filter designation (string) given exists in the filter dictionary
- Parameters:
filter_name (str) – Name of filter.
- Returns:
filter_exists – Flag if filter exists in the filter dictionary.
- Return type:
bool
- Raises:
ValueError – If filter name is not in the filter dictionary.
- close()
Close the ASI Filter Wheel serial port.
Sets the filter wheel to the home position and then closes the port.
- filter_change_delay(filter_name)
Estimate duration of time necessary to move the dichroic
Assumes that it is <250 ms per adjacent position.
- Parameters:
filter_name (str) – Name of filter to move to.
- set_filter(filter_name, wait_until_done=True)
Change the dichroic position.
- Parameters:
filter_name (str) – Name of filter to move to.
wait_until_done (bool) – Waits duration of time necessary for filter wheel to change positions.
- device_config
Dictionary of device configuration parameters.
- Type:
Dict[str, Any]
- device_connection
Device connection object.
- Type:
Any
- dichroic
ASI Tiger Controller object.
- Type:
obj
- dichroic_id
The ID of the dichroic in the Tiger Controller. e.g., “T”
- Type:
str
- dichroic_position
Filter wheel position.
- Type:
int
- filter_dictionary
Dictionary of filters available on the filter wheel.
- Type:
dict
- filter_wheel_number
index of filter wheel
- Type:
int
- wait_until_done_delay
Delay for filter wheel to change positions.
- Type:
float
- wheel_position
Filter wheel position.
- Type:
int