From: W. Trevor King Date: Fri, 27 Mar 2009 13:17:36 +0000 (-0400) Subject: Reposition cantilever between each bump to adjust for piezo creep. X-Git-Tag: v0.4~24^2~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=031e172cc0f3159e4ab521d70febb5e870611f3e;p=pyafm.git Reposition cantilever between each bump to adjust for piezo creep. --- diff --git a/calibcant/calibrate.py b/calibcant/calibrate.py index 636b113..7986ccb 100755 --- a/calibcant/calibrate.py +++ b/calibcant/calibrate.py @@ -367,9 +367,9 @@ def calib_aquire(stepper, zpiezo, num_bumps=10, num_Ts=10, num_vibs=20, T_kwargs,vib_kwargs,calib_save_kwargs = \ calib_aquire._splitargs(calib_aquire, kwargs) # get bumps - move_just_onto_surface(stepper, zpiezo, **move_just_onto_surface_kwargs) bumps = numpy.zeros((num_bumps,), dtype=numpy.float) for i in range(num_bumps) : + move_just_onto_surface(stepper, zpiezo, **move_just_onto_surface_kwargs) bumps[i] = bump(zpiezo=zpiezo, log_dir=log_dir, Vphoto_in2V=Vphoto_in2V, **bump_kwargs) if config.TEXT_VERBOSE :