pylabrobot.resources.Trough.get_anchor#

Trough.get_anchor(x: str, y: str, z: str) Coordinate#
Get a relative location within the container. (Update to Resource superclass to

include cavity_bottom)

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", "b"/"bottom", or "cb"/"cavity_bottom"

Returns:

A relative location within the container, the anchor point wrt the left front bottom corner.

Return type:

Coordinate