mesoSPIM.src.devices.stages.asi package

Submodules

mesoSPIM.src.devices.stages.asi.asicontrol module

mesoSPIM Module for controlling ASI-Stages

Authors: Fabian Voigt, Nikita Vladimirov

class mesoSPIM.src.devices.stages.asi.asicontrol.StageControlASITiger(asi_parameters)[source]

Bases: QObject

axis_in_config_check(axis)[source]

Checks if a axis string is in self.axes

Returns:

True if axis in config

close()[source]

Closes connection to the stage

enable_ttl_mode(card_ids, bool)[source]

Enables or disables TTL mode of ASI controllers :param card_ids: List of card IDs inside the controller (i.e. (2,3) for cards in slots 2 and 3) for

which TTL triggering should be enabled or disabled. If None, the controller is assumed not to have any card slots, i.e. an MS-2000 controller

Parameters:

bool (boolean) – True or False depending on whether TTL mode should be enabled or disabled.

move_absolute(motion_dict)[source]

Command for absolute motion

Parameters:

motion_dict (dict) – Dictionary in the form {1: 4000, 2:-234}, in general {axis_id:requested_position} with axis_id (str) and requested_position (int) in um.

move_relative(motion_dict)[source]

Command for relative motion

Parameters:

motion_dict (dict) – Dictionary in the form {1: 4000, 2:-234}, in general {axis_id:requested_position} with axis_id (str) and requested_position (int) in um.

Returns:

Carries out motion

read_position()[source]

Reports position from the stages :returns: list of positions :rtype: positions (dictionary)

sig_pause

Class to control a ASI Tiger mechanical stage controller

Inherits from QtCore.QObject so it can be moved to a QThread.

Note

This is a custom ASI stageset which contains the axis designations: X Y Z T V W

stop()[source]

Stops movement on all axes by sending “halt” to the controller

wait_until_done()[source]

Blocks if the stage is moving due to a serial command

Module contents