pylabrobot.resources.Tube.__init__#
- Tube.__init__(name: str, size_x: float, size_y: float, size_z: float, max_volume: float, material_z_thickness: float | None = None, category: str = 'tube', 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 tube. - Parameters:
- name (str) – Name of the tube. 
- size_x (float) – Size of the tube in the x direction. 
- size_y (float) – Size of the tube in the y direction. 
- size_z (float) – Size of the tube in the z direction. 
- material_z_thickness (float | None) – Tube base to cavity base. 
- max_volume (float) – Maximum volume of the tube. 
- category (str) – Category of the tube. 
- model (str | None) 
- compute_volume_from_height (Callable[[float], float] | None) 
- compute_height_from_volume (Callable[[float], float] | None) 
 
 
