pylabrobot.resources.PetriDish.__init__#

PetriDish.__init__(name: str, diameter: float, height: float, material_z_thickness: float | None = None, category: str = 'petri_dish', model: str | None = None, max_volume: float | 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)

  • diameter (float)

  • height (float)

  • category (str)

  • model (str | None)

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

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