Container#

Resources that contain liquid are subclasses of Container. This class provides a VolumeTracker that helps LiquidHandler keep track of the liquid in the resource. (For more information on trackers, check out Using Trackers). Examples of subclasses of Container are Well and Trough.

It is possible to instantiate a Container directly:

from pylabrobot.resources import Container
container = Container(name="container", size_x=10, size_y=10, size_z=10)
# volume is computed by assuming the container is a cuboid, and can be adjusted with the max_volume
# parameter