projects
/
pypiezo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3d00c
)
Fix InputChannelConfig reference and remove debugging printout.
author
W. Trevor King
<wking@drexel.edu>
Fri, 29 Jul 2011 13:57:09 +0000
(09:57 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 29 Jul 2011 13:57:09 +0000
(09:57 -0400)
pypiezo/afm.py
patch
|
blob
|
history
diff --git
a/pypiezo/afm.py
b/pypiezo/afm.py
index b2c26cc9dad7d6bf25655023ade8a90c66026ecc..fc74e1fc9d2823af1c793d008abd3b3ee2c858f2 100644
(file)
--- 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))