science_jubilee.tools.Loop
#
Module Contents#
Classes#
A class representation of an inoculation loop. |
- class science_jubilee.tools.Loop.Loop(index, name)#
Bases:
science_jubilee.tools.Tool.Tool
A class representation of an inoculation loop.
- Parameters:
Tool (
Tool
) – The base tool class
- transfer(source: science_jubilee.labware.Labware.Well = None, destination: science_jubilee.labware.Labware.Well = None, s: int = 2000, sweep_x: float = 5, sweep_y: float = 5, sweep_z: float = 10, sweep_speed: float = 100, up_speed: float = 800, randomize_pickup: bool = False)#
Dip into a number of (source, destination) well pairs. Used for transferring items from source to destination.
- Parameters:
source (
Well
, optional) – Source well, defaults to Nonedestination (
Well
, optional) – Destination well, defaults to Nones (int, optional) – Movement speed in mm/min, defaults to 2000
sweep_x (float, optional) – Distance (in mm) to sweep in the x direction to pick up material, defaults to 5
sweep_y (float, optional) – Distance (in mm) to sweep in the y direction to pick up material, defaults to 5
sweep_z (float, optional) – Distance (in mm) to move in the z direction to pick up material, defaults to 10
sweep_speed (float, optional) – Speed (in mm/min) at which to sweep to pick up material, defaults to 100
up_speed (float, optional) – Speed to move out of well (in mm/min), defaults to 800
randomize_pickup (bool, optional) – Move to a random position in the source well to pick up material, defaults to False
- static _get_xyz(well: science_jubilee.labware.Labware.Well = None, location: Tuple[float] = None)#
Get the (x,y,z) position of a well.
- Parameters:
well (
Well
, optional) – The well to fetch position of, defaults to Nonelocation (Tuple[float], optional) – Directly specify an (x,y,z) location, defaults to None
- Raises:
ValueError – Must specify either a well or a location
- Returns:
The well location
- Return type:
Tuple[float, float, float]
- static _get_top_bottom(well: science_jubilee.labware.Labware.Well = None)#
Get the top and bottom heights of a well.
- Parameters:
well (Well, optional) – The well to fetch position of, defaults to None
- Returns:
The z-height of the top and bottom of the well
- Return type:
Tuple[float, float]