holypipette.devices.amplifier.multiclamp module

### Ported from Clamper ## configure_board and acquire() are unused here

Basic Interface to the MultiClamp 700A and 700B amplifiers.

Note that the MultiClamp Commander has to be running in order to use the device.

For each of the two channels, we have: * command (I or V) * primary * secondary * scope There is also a scope trigger (in the rear)

Gains: actually these are additional gains

class holypipette.devices.amplifier.multiclamp.MultiClamp(*channels)[source]

Bases: object

Device representing a MultiClamp amplifier with two channels or more.

Parameters:

channels – List of MultiClamp channels. If none, a single 2-channel Multiclamp is assumed.

acquire(*inputs, **outputs)[source]

Send commands and acquire signals.

Parameters:
  • inputs – A list of input variables to acquire. From: V1, I1, Ve1, V2, I2, etc (electrode potential)

  • outputs – A dictionary of commands. From: V1, I1, V2, I2…

configure_board(theboard, primary=None, secondary=None, command=None)[source]

Configure an acquisition board.

Parameters:
  • primary – A list of names of connections on the board for the primary signal, for each channel.

  • secondary – A list of names of connections on the board for the secondary signal, for each channel.

  • command – A list of names of connections on the board for the command signal, for each channel.

class holypipette.devices.amplifier.multiclamp.MultiClampChannel(**kwds)[source]

Bases: Amplifier

Device representing a MultiClamp amplifier channel (i.e., one amplifier with two channels is represented by two devices).

Parameters:

kwds – Enough information to uniquely identify the device. If there is a single device, no information is needed. If there is a single amplifier with two channels, only the channel number (e.g. channel=1) is needed. If there are multiple amplifiers, they can be identified via their port/ device number (700A) or using their serial number (700B).

acquire(*inputs, **outputs)[source]

Send commands and acquire signals.

Parameters:
  • inputs – A list of input variables to acquire. From: V, I, Ve (electrode potential) A maximum of two inputs.

  • outputs – A dictionary of commands. From: V, I. Only one command!

all_devices = None
auto_bridge_balance()[source]
auto_fast_compensation()[source]
auto_pipette_offset()[source]

Trigger the feature to automatically zero the membrane current.

auto_slow_compensation()[source]
check_error(fail=False)[source]

Check the error code of the last command.

Parameters:

fail (bool) – If False (the default), any error will give rise to a warning; if True, any error will give rise to an IOError.

close()[source]

Shut down the connection to th eamplifier.

configure_board(theboard, primary=None, secondary=None, command=None)[source]

Configure an acquisition board.

Parameters:
  • primary – A connection name on the board for the primary signal.

  • secondary – A connection name on the board for the secondary signal.

  • command – A connection name on the board for the command signal.

current_clamp()[source]

Switch to current clamp mode

dll_path = 'C:\\Program Files\\Molecular Devices\\MultiClamp 700B Commander\\3rd Party Support\\AxMultiClampMsg'
find_amplifiers()[source]

Return a list of all amplifier devices (each described by a dictionary, see _identifiy_amplifier).

Returns:

amplifiers – A list of all detected amplifier devices.

Return type:

list of dict

get_bridge_resistance()[source]
get_fast_compensation_capacitance()[source]
get_meter_value()[source]
get_primary_signal()[source]
get_primary_signal_gain()[source]
get_pulses_amplitude()[source]
get_pulses_frequency()[source]
get_secondary_signal(signal)[source]
get_secondary_signal_gain()[source]
get_slow_compensation_capacitance()[source]
null_current()[source]
resistance()[source]

Returns resistance

resistance_meter_state()[source]
select_amplifier()[source]

Select the current amplifier (will be called automatically when executing command such as MultiClamp.voltage_clamp.

selected_device = None
set_bridge_balance(state)[source]
set_fast_compensation_capacitance(capacitance)[source]
set_holding(value)[source]

Set voltage clamp value

Parameters:

value (float) – Voltage clamp value

set_primary_signal(signal)[source]
set_primary_signal_gain(gain)[source]
set_primary_signal_hpf(hpf)[source]
set_primary_signal_lpf(lpf)[source]
set_pulses_amplitude(amplitude)[source]
set_pulses_frequency(frequency)[source]
set_secondary_signal(signal)[source]
set_secondary_signal_gain(gain)[source]
set_secondary_signal_lpf(lpf)[source]
set_slow_compensation_capacitance(capacitance)[source]
set_zap_duration(duration)[source]

Set the duration for the zap. :Parameters: duration (float) – Duration of the zap in seconds.

start_patch(pulse_amplitude=0.01, pulse_frequency=0.01)[source]

Initialize the patch clamp procedure (in bath)

stop_patch()[source]

Stops patch clamp procedure

switch_holding(enable)[source]
switch_pulses(enable)[source]
switch_resistance_meter(enable)[source]
voltage_clamp()[source]

Switch to voltage clamp mode

zap()[source]

“Zap” the cell to break the membrane