navigate Logo

Getting Started

  • Quick Start Guide
  • Software Installation
  • I Want To…

User Guide

  • Supported Hardware
  • Supported File Formats
  • User Interface Walkthrough
  • Setting Up A Microscope
  • Acquiring Data
  • Case Studies

Development

  • Contributing Guidelines
  • Developer Install
  • Software Architecture
  • Feature Container
  • REST-API
  • Plugin Architecture

Troubleshooting & Known Issues

  • Troubleshooting
  • Known Issues

Plugins

  • navigate Plugin Template
  • navigate Confocal Projection
  • navigate at Scale
  • navigate Constant Velocity Acquisition
  • navigate MMCore
  • navigate ilastik Server
  • navigate Photoactivation

Reference

  • Implemented Microscopes
  • Software API
    • navigate.config
    • navigate.controller
    • navigate.log_files
    • navigate.model
      • navigate.model.analysis
      • navigate.model.concurrency
      • navigate.model.data_sources
      • navigate.model.device_startup_functions
      • navigate.model.devices
        • navigate.model.devices.camera
        • navigate.model.devices.daq
        • navigate.model.devices.device_types
        • navigate.model.devices.filter_wheel
        • navigate.model.devices.galvo
        • navigate.model.devices.laser
        • navigate.model.devices.mirror
        • navigate.model.devices.objectives
        • navigate.model.devices.remote_focus
        • navigate.model.devices.shutter
        • navigate.model.devices.stage
        • navigate.model.devices.zoom
      • navigate.model.features
      • navigate.model.metadata_sources
      • navigate.model.microscope
      • navigate.model.model
      • navigate.model.plugins_model
      • navigate.model.waveforms
    • navigate.tools
    • navigate.view
navigate
  • Software API
  • navigate.model
  • navigate.model.devices
  • navigate.model.devices.filter_wheel
  • navigate.model.devices.filter_wheel.sutter
  • navigate.model.devices.filter_wheel.sutter.SutterFilterWheel
  • View page source

navigate.model.devices.filter_wheel.sutter.SutterFilterWheel

class navigate.model.devices.filter_wheel.sutter.SutterFilterWheel(microscope_name, device_connection, configuration, device_id)

Bases: FilterWheelBase, SerialDevice

SutterFilterWheel - Class for controlling Sutter Lambda Filter Wheels

Note

Additional information on the Sutter Lambda 10-B can be found at: https://www.sutter.com/manuals/LB10-3_OpMan.pdf

__init__(microscope_name, device_connection, configuration, device_id)

Initialize the SutterFilterWheel class.

Parameters:
  • microscope_name (str) – Name of the microscope.

  • device_connection (Any) – The communication instance with the device.

  • configuration (Dict[str, Any]) – Global configuration dictionary.

  • device_id (int) – The ID of the device. Default is 0.

Methods

__init__(microscope_name, device_connection, ...)

Initialize the SutterFilterWheel class.

check_if_filter_in_filter_dictionary(filter_name)

Checks if the filter designation (string) given exists in the filter dictionary

close()

Close the SutterFilterWheel serial port.

connect(comport, baudrate[, timeout])

Build SutterFilterWheel Serial Port connection

disconnect()

Disconnect from serial device.

filter_change_delay(filter_name)

Calculate duration of time necessary to change filter wheel positions.

read(num_bytes)

Reads the specified number of bytes from the serial port.

set_filter(filter_name[, wait_until_done])

Change the filter wheel to the filter designated by the filter position argument.

Attributes

wait_until_done

Wait until filter wheel has completed movement.

wait_until_done_delay

Delay in s for the wait until done function.

read_on_init

Read on initialization.

speed

Filter wheel speed.

delay_matrix

Delay matrix for filter wheel.

init_finished

Software initialization complete flag.

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() → None

Close the SutterFilterWheel serial port.

Sets the filter wheel to the Empty-Alignment position and then closes the port.

classmethod connect(comport, baudrate, timeout=0.25)

Build SutterFilterWheel Serial Port connection

comport

Comport for communicating with the filter wheel, e.g., COM1.

Type:

str

baudrate

Baud rate for communicating with the filter wheel, e.g., 9600.

Type:

int

timeout

Timeout for communicating with the filter wheel, e.g., 0.25.

Type:

float

Returns:

The serial port connection to the filter wheel.

Return type:

serial.Serial

Raises:

UserWarning – Could not communicate with Sutter Lambda 10-B via COMPORT.

disconnect()

Disconnect from serial device.

filter_change_delay(filter_name: str) → None

Calculate duration of time necessary to change filter wheel positions.

Calculate duration of time necessary to change filter wheel positions. Identifies the number of positions that must be switched, and then retrieves the duration of time necessary to perform the switch from self.delay_matrix.

Parameters:

filter_name (str) – Name of filter that we want to move to.

Note

Detailed information on timing located on page 38: https://www.sutter.com/manuals/LB10-3_OpMan.pdf

Warns:

Delay matrix should be model specific.

Returns:

If the filter wheel position is out of range.

Return type:

Index Error

read(num_bytes: int) → bytes

Reads the specified number of bytes from the serial port.

Parameters:

num_bytes (int) – Number of bytes to read from the serial port.

Returns:

response – The bytes read from the serial port.

Return type:

bytes

Raises:

UserWarning – The serial port to the Sutter Lambda 10-B is on, but it isn’t responding as expected.

set_filter(filter_name: str, wait_until_done: bool = True)

Change the filter wheel to the filter designated by the filter position argument.

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.

delay_matrix

Delay matrix for filter wheel.

Type:

np.matrix

device_connection

Device connection object.

Type:

Any

filter_dictionary

Dictionary of filters available on the filter wheel.

Type:

dict

filter_wheel_number

index of filter wheel

Type:

int

init_finished

Software initialization complete flag.

Type:

bool

read_on_init

Read on initialization.

Type:

bool

speed

Filter wheel speed.

Type:

int

wait_until_done

Wait until filter wheel has completed movement.

Type:

bool

wait_until_done_delay

Delay in s for the wait until done function.

Type:

float

wheel_position

Filter wheel position.

Type:

int

Previous Next

© Copyright 2025, Dean Lab, UT Southwestern Medical Center.