science_jubilee.decks package#
Submodules#
science_jubilee.decks.Deck module#
- class science_jubilee.decks.Deck.Deck(deck_filename, path: str = '/home/docs/checkouts/readthedocs.org/user_builds/science-jubilee/checkouts/latest/docs/../src/science_jubilee/decks/deck_definition')[source]#
Bases:
SlotSetClass that defines the Jubilee deck.
The deck is a set of slots that can have labware loaded into them. The deck is defined by a configuration file that specifies the number of slots, their offsets, and the type of bed they are arranged in.
- Parameters:
- property bedType[source]#
Function that returns the type of bed loaded onto Jubilee.
- Returns:
The name/type of deck loaded onto Jubilee, e.g., Lab Automation Deck, Heated Deck, etc.
- Return type:
- property deck_material[source]#
Function that returns the material that the deck and possible mask are made of.
- load_labware(labware_filename: str, slot: int, path='/home/docs/checkouts/readthedocs.org/user_builds/science-jubilee/checkouts/latest/docs/../src/science_jubilee/decks/../labware/labware_definition', order: str = 'rows')[source]#
- Function that loads a labware and associates it with a specific slot on the deck.
The slot offset is also applied to the labware asocaite with it.
- Parameters:
labware_filename (str) – The name of the labware configuration file.
slot (int) – The index of the slot to load the labware into.
path (str, optional) – The path to the labware configuration .json files for the labware, defaults to the ‘labware_definition/’ in the science_jubilee/labware directory.
order (str, optional) – The order in which the labware is arranged on the deck. Can be ‘rows’ or ‘columns’, defaults to ‘rows’.
- Returns:
The
Labwareobject that has been loaded into the slot.- Return type:
Labware
- property offsetFrom[source]#
Function that returns which corner or the slot to apply to a labware loaded on it.
- Returns:
The corner of the slot to apply to the labware. This is inidcated in the configuration file.
- Return type:
- property safe_z[source]#
Function that returns the movement clearance height of the deck.
- Returns:
The height at which the pipette can freely move without colliding with labware on the deck.
- Return type:
- class science_jubilee.decks.Deck.Slot(slot_index: int, offset: Tuple[float], has_labware: bool, labware: str)[source]#
Bases:
objectClass that defines a slot on the Jubilee deck. Each slot has a unique index, offset, and can have a labware associated with it.
- Parameters:
slot_index (int) – The unique index of the slot, usually a number between 0 and 5.
offset (Tuple[float]) – The (x,y) offset of the slot from the origin of the deck/machine.
has_labware (bool) – A boolean that indicates whether a labware has been loaded into the slot.
labware (
Labware) – TheLabwareobject that has been loaded into the slot.