Codi
codi
Classes
CoDI
Class definition of the DoD codi injector Parameters reload_presets : Boolean
force resetting the presets (overwriting existing hutch presets)
force resetting the presets (overwriting existing hutch presets)
Source code in dod/codi.py
Attributes
Functions
get_CoDI_pos
gets the colliding droplet injector motor positions as tuple
Parameters precision_digits : int precision with which the pre-defined positions are checked
Return : (tuple, 5) motor positions of the CoDI motors. (name of preset, rot_base, rot_left, rot_right, trans_z)
Source code in dod/codi.py
get_CoDI_predefined
move_rot_base_abs
moves the rotation of the base to the absolute position in degree
Parameters rot_abs : float
abs motion in degree
abs motion in degree
Source code in dod/codi.py
move_rot_base_rel
moves the rotation of the base relative to the current position in degree
Parameters rot_rel : float
relative motion in degree
relative motion in degree
Source code in dod/codi.py
move_rot_left_abs
moves the rotation of the left nozzle to the absolute position in degree
Parameters rot_abs : float
abs motion in degree
abs motion in degree
Source code in dod/codi.py
move_rot_left_rel
moves the rotation of the left nozzle relative to the current position in degree
Parameters rot_rel : float
relative motion in degree
relative motion in degree
Source code in dod/codi.py
move_rot_right_abs
moves the rotation of the right nozzle to the absolute position in degree
Parameters rot_abs : float
abs motion in degree
abs motion in degree
Source code in dod/codi.py
move_rot_right_rel
moves the rotation of the right nozzle relative to the current position in degree
Parameters rot_rel : float
relative motion in degree
relative motion in degree
Source code in dod/codi.py
move_z_abs
moves the z position to the absolute position in mm
Parameters z_abs : float
absolute motion in mm
absolute motion in mm
move_z_rel
moves the z position relative to the current position
Parameters z_rel : float
relative motion in mm
relative motion in mm
Source code in dod/codi.py
remove_CoDI_pos
removes the defined motor combination for CoDI from local database
Parameters name : str
name of the pre-definition to be deleted
name of the pre-definition to be deleted
set_CoDI_current_pos
defines or updates the current motor combination for CoDI
Parameters name : str
name of the pre-definition
name of the pre-definition
Source code in dod/codi.py
set_CoDI_current_z
sets the current z position to all preloaded positions Useful for global change of z after aligning
Parameters verbose : Boolean
prints the new positions as a sanity check if True
prints the new positions as a sanity check if True
Source code in dod/codi.py
set_CoDI_pos
Moves the colliding droplet injector into a pre-defined position.
Parameters pos_name : string name of the pre-defined position wait : boolean if the robot waits before continuing further steps
Return :
Source code in dod/codi.py
set_CoDI_predefined
defines or updates a predefined combination for CoDI
Parameters name : str name of the pre-definition base : float rotation of base left : float rotation of left injector right : float rotation of right injector z : float
translation of right injector
translation of right injector
Source code in dod/codi.py
update_CoDI_predefined
reloads all the hutch python presets for motors and overwrites local position preset dict