>>> c = _base.InputChannel(config=input_config, channel=input_channel)
>>> c.setup_config()
- >>> p = AFMPiezo(axes=[a], input_channels=[c], name='Molly')
+ >>> p = AFMPiezo(axes=[a], channels=[c], name='Molly')
>>> deflection = p.read_deflection()
>>> deflection # doctest: +SKIP
if self.config['minimum'] is None:
self.config['minimum'] = convert_bits_to_volts(
self.config['channel'], 0)
- if self.axis_config['maximum'] is None:
- self.axis_config['maximum'] = convert_bits_to_volts(
+ if self.config['maximum'] is None:
+ self.config['maximum'] = convert_bits_to_volts(
self.config['channel'], self.axis_channel.get_maxdata())