Oops, fix min_slope_position/min_slope_postion -> min_slope_ratio typo.
[pyafm.git] / pyafm / afm.py
index 92c0679071b7dc8add4a7aca27088d0cc634f27b..0c89df9da1e8fae7e2d026800956f3cf4cb96653 100644 (file)
@@ -161,7 +161,7 @@ class AFM (object):
             try:
                 pos = self.piezo.get_surface_position(
                     axis_name=self.axis_name, max_deflection=target_deflection,
-                    min_slope_position=min_slope_postion)
+                    min_slope_ratio=min_slope_ratio)
                 return pos
             except _SurfaceError, e:
                 _LOG.info(e)