Tricontinent
This module provides a class for handling TriContinent pumps.
CLASS | DESCRIPTION |
---|---|
TriContinent |
Class for handling TriContinent pumps. |
Multi_TriContinent |
Class for handling multiple TriContinent pumps. |
Parallel_TriContinent |
Class for handling multiple TriContinent pumps in parallel. |
Documentation last updated: 2025-02-22
TriContinent
TriContinent(
port: str,
capacity: float = 1000.0,
*,
output_right: bool,
channel: int = 1,
verbose: bool = False,
simulation: bool = False,
**kwargs,
)
Bases: LiquidHandler
TriContinent class for handling TriContinent pumps.
ATTRIBUTE | DESCRIPTION |
---|---|
capacity |
The capacity of the pump.
TYPE:
|
channel |
The channel of the pump.
TYPE:
|
volume_resolution |
The volume resolution of the pump.
TYPE:
|
pullback_steps |
The number of pullback steps.
TYPE:
|
speed_in |
The speed of the pump when aspirating.
TYPE:
|
speed_out |
The speed of the pump when dispensing.
TYPE:
|
start_speed |
The start speed of the pump.
TYPE:
|
acceleration |
The acceleration of the pump.
TYPE:
|
valve_position |
The valve position of the pump.
TYPE:
|
init_status |
The initialization status of the pump.
TYPE:
|
METHOD | DESCRIPTION |
---|---|
connect |
Connect to the pump. |
aspirate |
Aspirate desired volume of reagent. |
dispense |
Dispense desired volume of reagent. |
getState |
Get the settings of the pump. |
home |
Home the pump. |
setSpeed |
Set the speed of the pump. |
reverse |
Reverse the pump. |
setChannel |
Set the channel |
disconnect |
Disconnect from the device |
resetFlags |
Reset all flags to to default |
shutdown |
Shutdown procedure for tool |
cycle |
Cycle between aspirate and dispense |
empty |
Empty the channel |
fill |
Fill the channel |
rinse |
Rinse the channel with aspirate and dispense cycles |
Initialize the TriContinent class.
PARAMETER | DESCRIPTION |
---|---|
port
|
The port of the pump.
TYPE:
|
capacity
|
The capacity of the pump. Defaults to 1000.0.
TYPE:
|
output_right
|
Whether the output valve is to the right.
TYPE:
|
channel
|
The channel of the pump. Defaults to 1.
TYPE:
|
verbose
|
Whether to output extra information. Defaults to False.
TYPE:
|
simulation
|
Whether to simulate the pump. Defaults to False.
TYPE:
|
aspirate
aspirate(
volume: float,
speed: float | None = None,
reagent: str | None = None,
*,
start_speed: int | None = None,
pullback: bool = False,
delay: int = 0,
pause: bool = False,
ignore: bool = False,
blocking: bool = True,
**kwargs,
) -> bool
Aspirate desired volume of reagent
PARAMETER | DESCRIPTION |
---|---|
volume
|
target volume
TYPE:
|
speed
|
speed to aspirate at. Defaults to None.
TYPE:
|
reagent
|
name of reagent. Defaults to None.
TYPE:
|
start_speed
|
start speed of the pump. Defaults to None.
TYPE:
|
pullback
|
whether to perform pullback. Defaults to False.
TYPE:
|
delay
|
time delay after aspirate. Defaults to 0.
TYPE:
|
pause
|
whether to pause for user intervention. Defaults to False.
TYPE:
|
ignore
|
whether to aspirate reagent regardless. Defaults to False.
TYPE:
|
blocking
|
whether to block the thread until the action is complete. Defaults to True.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
dispense
dispense(
volume: float,
speed: float | None = None,
*,
start_speed: int | None = None,
blowout: bool = False,
delay: int = 0,
pause: bool = False,
ignore: bool = False,
blocking: bool = True,
**kwargs,
) -> bool
Dispense desired volume of reagent
PARAMETER | DESCRIPTION |
---|---|
volume
|
target volume
TYPE:
|
speed
|
speed to dispense at. Defaults to None.
TYPE:
|
start_speed
|
start speed of the pump. Defaults to None.
TYPE:
|
blowout
|
whether perform blowout. Defaults to False.
TYPE:
|
delay
|
time delay after dispense. Defaults to 0.
TYPE:
|
pause
|
whether to pause for user intervention. Defaults to False.
TYPE:
|
ignore
|
whether to dispense reagent regardless. Defaults to False.
TYPE:
|
blocking
|
whether to block the thread until the action is complete. Defaults to True.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
getState
Get the settings of the pump.
RETURNS | DESCRIPTION |
---|---|
dict[str, int | str | bool]
|
dict[str, int|str|bool]: The settings of the pump. |