projects
/
pypiezo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73241d3
)
Fix channel reference in AFMPiezo.move_to_pos_or_def.
author
W. Trevor King
<wking@drexel.edu>
Mon, 23 Jan 2012 21:37:26 +0000
(16:37 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Mon, 23 Jan 2012 21:37:26 +0000
(16:37 -0500)
pypiezo/afm.py
patch
|
blob
|
history
diff --git
a/pypiezo/afm.py
b/pypiezo/afm.py
index c3fc14b44a88ebe31b3e164bdef2ae0ee0934d9a..3857588e173c3971432d1aa130a2e67b69d2ea77 100644
(file)
--- a/
pypiezo/afm.py
+++ b/
pypiezo/afm.py
@@
-193,7
+193,7
@@
class AFMPiezo (_base.Piezo):
# default to the extreme value in the step direction
if step > 0:
axis = self.axis_by_name(axis_name)
- position = axis.channel.get_maxdata()
+ position = axis.
axis_
channel.get_maxdata()
else:
position = 0
elif deflection is None: