pylabrobot.resources.Trough.__init__#
- Trough.__init__(name: str, size_x: float, size_y: float, size_z: float, max_volume: float, material_z_thickness: float | None = None, through_base_to_container_base: float = 0, category: str | None = 'trough', model: str | None = None, bottom_type: TroughBottomType | str = TroughBottomType.UNKNOWN, 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) – Maximum volume of the container. If
None
, will be inferred from resource size.name (str)
size_x (float)
size_y (float)
size_z (float)
through_base_to_container_base (float)
category (str | None)
model (str | None)
bottom_type (TroughBottomType | str)
compute_volume_from_height (Callable[[float], float] | None)
compute_height_from_volume (Callable[[float], float] | None)