Liquid
This module contains the LiquidHandler class.
CLASS | DESCRIPTION |
---|---|
LiquidHandler |
Liquid handler base class |
Documentation last updated: 2025-02-22
LiquidHandler
Liquid handler base class
ATTRIBUTE | DESCRIPTION |
---|---|
device |
Device object
TYPE:
|
flags |
Flags for the class
TYPE:
|
speed_in |
Speed for aspiration
|
speed_out |
Speed for dispense
|
reagent |
Name of reagent
|
offset |
Offset for liquid handling
|
connection_details |
Connection details for the device
TYPE:
|
is_busy |
Whether the device is busy
TYPE:
|
is_connected |
Whether the device is connected
TYPE:
|
verbose |
Verbosity of class
TYPE:
|
capacity |
Capacity of liquid handler
TYPE:
|
channel |
Current channel of liquid handler
TYPE:
|
volume |
Current volume of liquid in the channel
TYPE:
|
volume_resolution |
Volume resolution of liquid handler
TYPE:
|
METHOD | DESCRIPTION |
---|---|
connect |
Connect to the device |
disconnect |
Disconnect from the device |
resetFlags |
Reset all flags to to default |
shutdown |
Shutdown procedure for tool |
aspirate |
Aspirate desired volume of reagent |
blowout |
Blowout liquid from tip |
dispense |
Dispense desired volume of reagent |
pullback |
Pullback liquid from tip |
cycle |
Cycle between aspirate and dispense |
empty |
Empty the channel |
fill |
Fill the channel |
rinse |
Rinse the channel with aspirate and dispense cycles |
Instantiate the class
PARAMETER | DESCRIPTION |
---|---|
verbose
|
verbosity of class. Defaults to False.
TYPE:
|
aspirate
aspirate(
volume: float,
speed: float | None = None,
reagent: str | None = None,
*,
pullback: bool = False,
delay: int = 0,
pause: bool = False,
ignore: bool = False,
**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:
|
pullback
|
whether to pullback after aspirate. 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:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
blowout
Blowout liquid from tip
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
cycle
cycle(
volume: float,
speed: float | None = None,
reagent: str | None = None,
cycles: int = 1,
*,
delay: int = 0,
**kwargs,
) -> bool
Cycle between aspirate and dispense
PARAMETER | DESCRIPTION |
---|---|
volume
|
target volume
TYPE:
|
speed
|
speed to aspirate and dispense at. Defaults to None.
TYPE:
|
reagent
|
name of reagent. Defaults to None.
TYPE:
|
cycles
|
number of cycles. Defaults to 1.
TYPE:
|
delay
|
time delay after each action. Defaults to 0.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
dispense
dispense(
volume: float,
speed: float | None = None,
*,
blowout: bool = False,
delay: int = 0,
pause: bool = False,
ignore: bool = False,
**kwargs,
) -> bool
Dispense desired volume of reagent
PARAMETER | DESCRIPTION |
---|---|
volume
|
target volume
TYPE:
|
speed
|
speed to dispense at. 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:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
empty
empty(
speed: float | None = None,
*,
blowout: bool = False,
delay: int = 0,
pause: bool = False,
**kwargs,
) -> bool
Empty the channel
PARAMETER | DESCRIPTION |
---|---|
speed
|
speed to empty. Defaults to None.
TYPE:
|
blowout
|
whether to perform blowout. Defaults to False.
TYPE:
|
delay
|
delay time between steps in seconds. Defaults to 0.
TYPE:
|
pause
|
whether to pause for user intervention. Defaults to False.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
fill
fill(
speed: float | None = None,
reagent: str | None = None,
*,
pullback: bool = False,
cycles: int = 0,
delay: int = 0,
pause: bool = False,
**kwargs,
) -> bool
Fill the channel
PARAMETER | DESCRIPTION |
---|---|
speed
|
speed to aspirate and dispense at. Defaults to None.
TYPE:
|
reagent
|
name of reagent. Defaults to None.
TYPE:
|
pullback
|
whether to pullback after aspirate. Defaults to False.
TYPE:
|
cycles
|
number of cycles before filling. Defaults to 0.
TYPE:
|
delay
|
time delay after each action. Defaults to 0.
TYPE:
|
pause
|
whether to pause for user intervention. Defaults to False.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
pullback
Pullback liquid from tip
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|
rinse
rinse(
speed: float | None = None,
reagent: str | None = None,
cycles: int = 3,
*,
delay: int = 0,
**kwargs,
) -> bool
Rinse the channel with aspirate and dispense cycles
PARAMETER | DESCRIPTION |
---|---|
speed
|
speed to aspirate and dispense at. Defaults to None.
TYPE:
|
reagent
|
name of reagent. Defaults to None.
TYPE:
|
cycles
|
number of cycles. Defaults to 1.
TYPE:
|
delay
|
time delay after each action. Defaults to 0.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
bool
|
whether the action is successful
TYPE:
|