pylabrobot.liquid_handling.liquid_handler.LiquidHandler.move_plate
pylabrobot.liquid_handling.liquid_handler.LiquidHandler.move_plate#
- async LiquidHandler.move_plate(plate: pylabrobot.resources.plate.Plate, to: Union[pylabrobot.resources.resource_stack.ResourceStack, pylabrobot.resources.carrier.CarrierSite, pylabrobot.resources.resource.Resource, pylabrobot.resources.coordinate.Coordinate], intermediate_locations: Optional[List[pylabrobot.resources.coordinate.Coordinate]] = None, resource_offset: pylabrobot.resources.coordinate.Coordinate = Coordinate(0, 0, 0), to_offset: pylabrobot.resources.coordinate.Coordinate = Coordinate(0, 0, 0), put_direction: pylabrobot.liquid_handling.standard.GripDirection = GripDirection.FRONT, get_direction: pylabrobot.liquid_handling.standard.GripDirection = GripDirection.FRONT, pickup_distance_from_top: float = 13.2, **backend_kwargs)#
Move a plate to a new location.
A convenience method for
move_resource()
.Examples
Move a plate to into a carrier spot:
>>> lh.move_plate(plate, plt_car[1])
Move a plate to an absolute location:
>>> lh.move_plate(plate_01, Coordinate(100, 100, 100))
Move a lid to another carrier spot, grabbing it from the left side:
>>> lh.move_plate(plate, plt_car[1], get_direction=GripDirection.LEFT) >>> lh.move_plate(plate, plt_car[0], put_direction=GripDirection.LEFT)
Move a resource while visiting a few intermediate locations along the way:
>>> lh.move_plate(plate, plt_car[1], intermediate_locations=[ ... Coordinate(100, 100, 100), ... Coordinate(200, 200, 200), ... ])
- Parameters
plate (pylabrobot.resources.plate.Plate) – The plate to move. Can be either a Plate object or a CarrierSite object.
to (Union[pylabrobot.resources.resource_stack.ResourceStack, pylabrobot.resources.carrier.CarrierSite, pylabrobot.resources.resource.Resource, pylabrobot.resources.coordinate.Coordinate]) – The location to move the plate to, either a plate, CarrierSite or a Coordinate.
resource_offset (pylabrobot.resources.coordinate.Coordinate) – The offset from the resource’s origin, optional (rarely necessary).
to_offset (pylabrobot.resources.coordinate.Coordinate) – The offset from the location’s origin, optional (rarely necessary).
intermediate_locations (Optional[List[pylabrobot.resources.coordinate.Coordinate]]) –
put_direction (pylabrobot.liquid_handling.standard.GripDirection) –
get_direction (pylabrobot.liquid_handling.standard.GripDirection) –
pickup_distance_from_top (float) –