pylabrobot.resources.Deck.__init__#

Deck.__init__(name: str = 'deck', size_x: float = 1360, size_y: float = 653.5, size_z: float = 900, resource_assigned_callback: Optional[Callable] = None, resource_unassigned_callback: Optional[Callable] = None, origin: pylabrobot.resources.coordinate.Coordinate = Coordinate(0, 0, 0), category: str = 'deck')#

Initialize a new deck.

Parameters
  • resource_assigned_callback (Optional[Callable]) – A callback function that is called when a resource is assigned to the deck. This includes resources assigned to child resources. The callback function is called with the resource as an argument. This method may raise an exception to prevent the resource from being assigned.

  • resource_unassigned_callback (Optional[Callable]) – A callback function that is called when a resource is unassigned from the deck. This includes resources unassigned from child resources. The callback function is called with the resource as an argument.

  • name (str) –

  • size_x (float) –

  • size_y (float) –

  • size_z (float) –

  • origin (pylabrobot.resources.coordinate.Coordinate) –

  • category (str) –