mxcubecore.HardwareObjects.FlexHCD#

Classes

Basket(container, cell_no, basket_no[, unipuck])

Cell(container, number[, sc3_pucks])

FlexHCD(*args, **kwargs)

Pin(basket, cell_no, basket_no, sample_no)

class mxcubecore.HardwareObjects.FlexHCD.Basket(container, cell_no, basket_no, unipuck=False)[source]#

Bases: Container

clear_info()[source]#

Clears all sample info (also in components if object is a container)

class mxcubecore.HardwareObjects.FlexHCD.Cell(container, number, sc3_pucks=True)[source]#

Bases: Container

clear_info()[source]#

Clears all sample info (also in components if object is a container)

class mxcubecore.HardwareObjects.FlexHCD.FlexHCD(*args, **kwargs)[source]#

Bases: SampleChanger

chained_load(old_sample, sample)[source]#

Chain the unload of a sample with a load.

Parameters:
  • sample_to_unload (tuple) – sample address on the form (component1, … ,component_N-1, component_N)

  • sample_to_load (tuple) – sample address on the form (component1, … ,component_N-1, component_N)

  • (Object) – Value returned by _execute_task either a Task or result of the operation

get_sample_properties()[source]#
Returns:

With sample properties defined in Sample

Return type:

(tuple)

init()[source]#

HardwareObject init method

load(**kwargs)#

Load a sample.

Parameters:
  • sample (tuple) – sample address on the form (component1, … ,component_N-1, component_N)

  • wait (boolean) – True to wait for load to complete False otherwise

Returns
(Object): Value returned by _execute_task either a Task or result of the

operation

unload(**kwargs)#

Unload sample to location sample_slot, unloads to the same slot as it was loaded from if None is passed

Parameters:
  • sample_slot (tuple) – sample address on the form (component1, … ,component_N-1, component_N)

  • wait – If True wait for unload to finish otherwise return immediately

Returns:

Value returned by _execute_task either a Task or result of the

operation

Return type:

(Object)

class mxcubecore.HardwareObjects.FlexHCD.Pin(basket, cell_no, basket_no, sample_no)[source]#

Bases: Sample