Fix typos pyiezo -> piezo.
authorW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 20:57:57 +0000 (16:57 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 19 Apr 2011 20:57:57 +0000 (16:57 -0400)
pyafm.py

index 79aec0ac3006fe8dd36ba806f883aae6b20ae14d..6248c564c91274dc0bda4a3d33cf908698db3974 100644 (file)
--- a/pyafm.py
+++ b/pyafm.py
@@ -132,13 +132,13 @@ class AFM (object):
         # back away
         self.stepper.step_relative(-far, backlash_safe=True)
 
-        cd = self.pyiezo.read_deflection()  # cd = current deflection in bits
+        cd = self.piezo.read_deflection()  # cd = current deflection in bits
         LOG.debug('single stepping approach')
         while cd < target_deflection:
             LOG.debug('deflection %g < setpoint %g.  step closer'
                       % (cd, target_deflection))
             self.stepper.single_step(1)  # step in
-            cd = self.pyiezo.read_deflection()
+            cd = self.piezo.read_deflection()
 
         for i in range(2*max(1, self.stepper.backlash)):
             LOG.debug('additional surface location attempt')