pylabrobot.resources.ItemizedResource.get_absolute_location

pylabrobot.resources.ItemizedResource.get_absolute_location#

ItemizedResource.get_absolute_location(x: str = 'l', y: str = 'f', z: str = 'b') Coordinate#

Get the absolute location of this resource, probably within the pylabrobot.resources.Deck. The x, y, and z arguments specify the anchor point within the resource. The default is the left front bottom corner.

Parameters:
  • x (str) – "l"/"left", "c"/"center", or "r"/"right"

  • y (str) – "b"/"back", "c"/"center", or "f"/"front"

  • z (str) – "t"/"top", "c"/"center", or "b"/"bottom"

Return type:

Coordinate