pylabrobot.liquid_handling.liquid_handler.LiquidHandler.move_resource
pylabrobot.liquid_handling.liquid_handler.LiquidHandler.move_resource#
- async LiquidHandler.move_resource(resource: pylabrobot.resources.resource.Resource, to: 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), pickup_distance_from_top: float = 0, get_direction: pylabrobot.liquid_handling.standard.GripDirection = GripDirection.FRONT, put_direction: pylabrobot.liquid_handling.standard.GripDirection = GripDirection.FRONT, **backend_kwargs)#
Move a resource to a new location.
Examples
Move a plate to a new location:
>>> lh.move_resource(plate, to=Coordinate(100, 100, 100))
- Parameters
resource (pylabrobot.resources.resource.Resource) – The Resource object.
to (pylabrobot.resources.coordinate.Coordinate) – The absolute coordinate (meaning relative to deck) to move the resource to.
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).
pickup_distance_from_top (float) – The distance from the top of the resource to pick up from.
get_direction (pylabrobot.liquid_handling.standard.GripDirection) – The direction from which to pick up the resource.
put_direction (pylabrobot.liquid_handling.standard.GripDirection) – The direction from which to put down the resource.
intermediate_locations (Optional[List[pylabrobot.resources.coordinate.Coordinate]]) –