holypipette.interface.pipettes module

class holypipette.interface.pipettes.PipetteInterface(stage, microscope, camera, units, config_filename=None)[source]

Bases: TaskInterface

Controller for the stage, the microscope, and several pipettes.

calibrate_manipulator()[source]

Calibrate manipulator

calibrate_manipulator2()[source]

Calibrate stage and manipulator (2nd Method)

calibrate_stage()[source]

Calibrate stage only

check_ranges()[source]

Check manipulator ranges

connect(main_gui)[source]

Connect signals to slots in the main GUI. Will be called automatically during initialization of the GUI.

Parameters:

main_gui (CameraGui) – The main GUI in control.

go_to_floor()[source]

Go to the floor (cover slip)

load_configuration()[source]

Load the calibration information

manipulator_switched
measure_ranges()[source]

This is called every 500 ms when measuring ranges. It updates the min and max on each axis.

move_microscope(distance)[source]

Move microscope by 10μm

Parameters:

distance (object, optional) – If no argument is given, 10 will be used as a default argument

move_pipette(xy_position)[source]

Move pipette to position

Parameters:

xy_position (object, optional)

move_pipette_x(distance)[source]

Move pipette in x direction by 10μm

Parameters:

distance (object, optional) – If no argument is given, 10 will be used as a default argument

move_pipette_y(distance)[source]

Move pipette in y direction by 10μm

Parameters:

distance (object, optional) – If no argument is given, 10 will be used as a default argument

move_pipette_z(distance)[source]

Move pipette in z direction by 10μm

Parameters:

distance (object, optional) – If no argument is given, 10 will be used as a default argument

move_stage(xy_position)[source]

Move stage to position

Parameters:

xy_position (object, optional)

move_stage_horizontal(distance)[source]

Move stage horizontally by 10μm

Parameters:

distance (object, optional) – If no argument is given, 10 will be used as a default argument

move_stage_vertical(distance)[source]

Move stage vertically by 10μm

Parameters:

distance (object, optional) – If no argument is given, 10 will be used as a default argument

recalibrate_manipulator()[source]

Recalibrate manipulator

recalibrate_manipulator_on_click(xy_position)[source]

Recalibrate manipulator

Parameters:

xy_position (object, optional)

reset_ranges()[source]

Reset manipulator ranges

reset_timer()[source]

Reset timer

save_configuration()[source]

Save the calibration information

set_floor()[source]

Set the position of the floor (cover slip)

switch_manipulator(unit_number)[source]

Switch the currently active manipulator

Parameters:

unit_number (int) – The number of the manipulator (using 1-based indexing, whereas the code internally uses 0-based indexing).