From a9fe6bce931ff627e7a2155e73601923095cd4e1 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 29 Jul 2011 09:57:09 -0400 Subject: [PATCH] Fix InputChannelConfig reference and remove debugging printout. --- pypiezo/afm.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)) -- 2.26.2