pylabrobot.resources.Container.__init__#

Container.__init__(name: str, size_x: float, size_y: float, size_z: float, material_z_thickness: float | None = None, max_volume: float | None = None, category: str | None = None, model: str | None = None, compute_volume_from_height: Callable[[float], float] | None = None, compute_height_from_volume: Callable[[float], float] | None = None)#

Create a new container.

Parameters:
  • material_z_thickness (float | None) – Container cavity base to the (outer) base of the container object. If None, certain operations may not be supported.

  • max_volume (float | None) – Maximum volume of the container. If None, will be inferred from resource size.

  • name (str)

  • size_x (float)

  • size_y (float)

  • size_z (float)

  • category (str | None)

  • model (str | None)

  • compute_volume_from_height (Callable[[float], float] | None)

  • compute_height_from_volume (Callable[[float], float] | None)