ephys_link
Models for the Ephys Link Socket.IO API.
Used by Ephys Link and Pinpoint.
AngularResponse
Bases: VBLBaseModel
Manipulator axis angles.
This is not very standardized and its usage is platform-specific.
Attributes:
Name | Type | Description |
---|---|---|
angles |
Vector3
|
Position of the manipulator. |
error |
str
|
Error message if any. |
Source code in src/vbl_aquarium/models/ephys_link.py
BooleanStateResponse
Bases: VBLBaseModel
Boolean state from an event.
Attributes:
Name | Type | Description |
---|---|---|
state |
bool
|
State of the event. |
error |
str
|
Error message if any. |
Source code in src/vbl_aquarium/models/ephys_link.py
EphysLinkOptions
Bases: VBLBaseModel
Options for running Ephys Link.
Attributes:
Name | Type | Description |
---|---|---|
background |
bool
|
Whether to skip the GUI and run using CLI arguments. |
ignore_updates |
bool
|
Whether to ignore updates. |
type |
str
|
Type of manipulator platform to use. |
debug |
bool
|
Whether to print debug messages. |
use_proxy |
bool
|
Whether to use VBL proxy service. |
proxy_address |
str
|
Address of the proxy service. |
mpm_port |
int
|
Port for New Scale MPM HTTP server. |
serial |
str
|
Serial port for emergency stop. |
Source code in src/vbl_aquarium/models/ephys_link.py
GetManipulatorsResponse
Bases: VBLBaseModel
List the IDs of available manipulators from the active platform.
Attributes:
Name | Type | Description |
---|---|---|
manipulators |
list[str]
|
List of manipulators by ID. |
error |
str
|
Error message if any. |
Source code in src/vbl_aquarium/models/ephys_link.py
PlatformInfo
Bases: VBLBaseModel
General metadata information about the manipulator platform
Attributes:
Name | Type | Description |
---|---|---|
name |
str
|
Name of the manipulator platform. |
cli_name |
str
|
CLI identifier for the manipulator platform (for the |
axes_count |
int
|
Number of axes on a manipulator. |
dimensions |
Vector4
|
Dimensions of the manipulators (3-axis manipulators should set w to 0). |
Source code in src/vbl_aquarium/models/ephys_link.py
PositionalResponse
Bases: VBLBaseModel
Position of a manipulator.
Attributes:
Name | Type | Description |
---|---|---|
position |
Vector4
|
Position of the manipulator. |
error |
str
|
Error message if any. |
Source code in src/vbl_aquarium/models/ephys_link.py
SetDepthRequest
Bases: VBLBaseModel
Depth to drive a manipulator to.
These are the absolute positions of the manipulator stages.
Attributes:
Name | Type | Description |
---|---|---|
manipulator_id |
str
|
ID of the manipulator to move. |
depth |
float
|
Depth to drive to in mm. |
speed |
float
|
Speed to drive at in mm/s. |
Source code in src/vbl_aquarium/models/ephys_link.py
SetDepthResponse
Bases: VBLBaseModel
Final depth a manipulator is at after a drive.
Attributes:
Name | Type | Description |
---|---|---|
depth |
float
|
Depth the manipulator is at in mm. |
error |
str
|
Error message if any. |
Source code in src/vbl_aquarium/models/ephys_link.py
SetInsideBrainRequest
Bases: VBLBaseModel
Set the "inside brain" state of a manipulator.
Attributes:
Name | Type | Description |
---|---|---|
manipulator_id |
str
|
ID of the manipulator to move. |
inside |
bool
|
Whether the manipulator is inside the brain. |
Source code in src/vbl_aquarium/models/ephys_link.py
SetPositionRequest
Bases: VBLBaseModel
Position to set a manipulator to.
These are the absolute positions of the manipulator stages.
Attributes:
Name | Type | Description |
---|---|---|
manipulator_id |
str
|
ID of the manipulator to move. |
position |
Vector4
|
Position to move to in mm (X, Y, Z, W). |
speed |
float
|
Speed to move at in mm/s. |
Source code in src/vbl_aquarium/models/ephys_link.py
ShankCountResponse
Bases: VBLBaseModel
Number of electrode shanks on a manipulator.
Attributes:
Name | Type | Description |
---|---|---|
shank_count |
int
|
Number of shanks. |
error |
str
|
Error message if any. |