ephys_link.platforms.ump3_manipulator

Sensapex uMp-3 Manipulator class

Extends from ephys_link.platforms.sensapex_manipulator.SensapexManipulator to support the uMp-3 manipulator.

Classes

UMP3Manipulator

Representation of a single Sensapex manipulator

class UMP3Manipulator(device: SensapexDevice)[source]

Bases: SensapexManipulator

Representation of a single Sensapex manipulator

Parameters:

device – A Sensapex device

get_pos() PositionalResponse[source]

Get the current position of the manipulator and convert it into mm.

Returns:

Position in (x, y, z, x) (or an empty array on error) in mm and error message (if any).

Return type:

ephys_link.common.PositionalOutputData

async goto_pos(request: GotoPositionRequest) PositionalResponse[source]

Move manipulator to position.

Parameters:

request (vbl_aquarium.models.ephys_link.GotoPositionRequest) – The goto request parsed from the server.

Returns:

Resulting position in (x, y, z, x) (or an empty array on error) in mm and error message (if any).

Return type:

ephys_link.common.PositionalOutputData

async drive_to_depth(request: DriveToDepthRequest) DriveToDepthResponse[source]

Drive the manipulator to a certain depth.

Parameters:

request (vbl_aquarium.models.ephys_link.DriveToDepthRequest) – The drive to depth request parsed from the server.

Returns:

Resulting depth in mm (or 0 on error) and error message (if any).

Return type:

ephys_link.common.DriveToDepthOutputData