From: W. Trevor King Date: Fri, 29 Jul 2011 13:57:09 +0000 (-0400) Subject: Fix InputChannelConfig reference and remove debugging printout. X-Git-Tag: 0.6~41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a9fe6bce931ff627e7a2155e73601923095cd4e1;p=pypiezo.git Fix InputChannelConfig reference and remove debugging printout. --- diff --git a/pypiezo/afm.py b/pypiezo/afm.py index b2c26cc..fc74e1f 100644 --- a/pypiezo/afm.py +++ b/pypiezo/afm.py @@ -121,10 +121,8 @@ class AFMPiezo (_base.Piezo): the center and try a deflection-limited approach. >>> p.jump('z', pos) - >>> p.config['inputs'][0] - >>> p.config['inputs']['channel'] >>> target_def = _base.convert_volts_to_bits( - ... p.config['inputs'][0]['channel'], 1) + ... p.config['inputs'][0], 1) >>> data = p.move_to_pos_or_def('z', target_pos, target_def, step=step, ... return_data=True) >>> print (p.last_output['z'] < int(target_pos))