holypipette.interface.patch module

Control of automatic patch clamp algorithm

class holypipette.interface.patch.AutoPatchInterface(amplifier, pressure, pipette_interface)[source]

Bases: TaskInterface

A class to run automatic patch-clamp

break_in()[source]

Break into the cell

clean_pipette()[source]

Clean the pipette (wash and rinse)

contact_detection()[source]

Moving down the calibrated manipulator to detect the contact point with the coverslip

property current_autopatcher
patch_with_move(position)[source]

Move to cell and patch it

Parameters:

position (object, optional)

patch_without_move(position=None)[source]

Patch cell at current position

Parameters:

position (object, optional)

sequential_patching()[source]

Sequential patching and cleaning for multiple cells

store_cleaning_position()[source]

Store the position of the washing bath

store_rinsing_position()[source]

Store the position of the rinsing bath

class holypipette.interface.patch.PatchConfig(value_changed=None, *args, **kwds)[source]

Bases: Config

params(Vramp_amplitude=NumberWithUnit, Vramp_duration=NumberWithUnit, cell_R_increase=Number, cell_distance=NumberWithUnit, gigaseal_R=NumberWithUnit, max_R=NumberWithUnit, max_R_increase=NumberWithUnit, max_cell_R=NumberWithUnit, max_distance=NumberWithUnit, min_R=NumberWithUnit, pressure_near=NumberWithUnit, pressure_ramp_duration=NumberWithUnit, pressure_ramp_increment=NumberWithUnit, pressure_ramp_max=NumberWithUnit, pressure_sealing=NumberWithUnit, seal_deadline=NumberWithUnit, seal_min_time=NumberWithUnit, zap=Boolean, name=String) Parameters of ‘PatchConfig’ ===========================  Parameters changed from their default values are marked in red. Soft bound values are marked in cyan. C/V= Constant/Variable, RO/RW = ReadOnly/ReadWrite, AN=Allow None

Name Value Type Bounds Mode 

pressure_near 20 NumberWithUnit (0, 100) V RW pressure_sealing -20 NumberWithUnit (-100, 0) V RW pressure_ramp_increment -25 NumberWithUnit (-100, 0) V RW pressure_ramp_max -300.0 NumberWithUnit (-1000, 0) V RW pressure_ramp_duration 1.15 NumberWithUnit (0, 10) V RW min_R 2000000.0 NumberWithUnit (0, 1000000000.0) V RW max_R 25000000.0 NumberWithUnit (0, 1000000000.0) V RW max_cell_R 300000000.0 NumberWithUnit (0, 1000000000.0) V RW cell_distance 10 NumberWithUnit (0, 100) V RW max_distance 20 NumberWithUnit (0, 100) V RW max_R_increase 1000000.0 NumberWithUnit (0, 100000000.0) V RW cell_R_increase 0.15 Number (0, 1) V RW gigaseal_R 1000000000.0 NumberWithUnit (100000000.0, 10000000000.0) V RW seal_min_time 15 NumberWithUnit (0, 60) V RW seal_deadline 90.0 NumberWithUnit (0, 300) V RW Vramp_duration 10.0 NumberWithUnit (0, 60) V RW Vramp_amplitude -0.07 NumberWithUnit (-0.2, 0) V RW zap False Boolean (0, 1) V RW

Parameter docstrings: =====================

pressure_near: Pressure during approach pressure_sealing: Pressure for sealing pressure_ramp_increment: Pressure ramp increment pressure_ramp_max: Pressure ramp maximum pressure_ramp_duration: Pressure ramp duration min_R: Minimum normal resistance max_R: Maximum normal resistance max_cell_R: Maximum cell resistance cell_distance: Initial distance above target cell max_distance: Maximum movement during approach max_R_increase: Increase in resistance indicating obstruction cell_R_increase: Proportional increase in resistance indicating cell presence gigaseal_R: Gigaseal resistance seal_min_time: Minimum time for seal seal_deadline: Maximum time for seal formation Vramp_duration: Voltage ramp duration Vramp_amplitude: Voltage ramp amplitude zap: Zap the cell to break the seal

Vramp_amplitude = -0.07
Vramp_duration = 10.0
categories = [('Approach', ['min_R', 'max_R', 'pressure_near', 'cell_distance', 'max_distance', 'cell_R_increase']), ('Sealing', ['pressure_sealing', 'gigaseal_R', 'Vramp_duration', 'Vramp_amplitude', 'seal_min_time', 'seal_deadline']), ('Break-in', ['zap', 'pressure_ramp_increment', 'pressure_ramp_max', 'pressure_ramp_duration', 'max_cell_R'])]
cell_R_increase = 0.15
cell_distance = 10
gigaseal_R = 1000000000.0
max_R = 25000000.0
max_R_increase = 1000000.0
max_cell_R = 300000000.0
max_distance = 20
min_R = 2000000.0
name = 'PatchConfig'
pressure_near = 20
pressure_ramp_duration = 1.15
pressure_ramp_increment = -25
pressure_ramp_max = -300.0
pressure_sealing = -20
seal_deadline = 90.0
seal_min_time = 15
zap = False