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¶
- 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; ifTrue
, any error will give rise to anIOError
.
- 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.
- 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
- select_amplifier()[source]¶
Select the current amplifier (will be called automatically when executing command such as
MultiClamp.voltage_clamp
.
- selected_device = None¶
- set_zap_duration(duration)[source]¶
Set the duration for the
zap
. :Parameters: duration (float) – Duration of the zap in seconds.