# and finally, the calib family
@splittableKwargsFunction((move_just_onto_surface, 'stepper', 'zpiezo'),
- (bump, 'zpiezo', 'freq', 'log_dir', 'Vphoto_in2V'),
+ (bump, 'zpiezo', 'log_dir', 'Vphoto_in2V'),
(move_far_from_surface, 'stepper'),
(T, 'log_dir'),
(vib, 'zpiezo', 'log_dir', 'Vphoto_in2V'),
(analyze.calib_save, 'bumps','Ts','vibs','log_dir'))
def calib_aquire(stepper, zpiezo, num_bumps=10, num_Ts=10, num_vibs=20,
- bump_freq=100e3,
log_dir=config.LOG_DIR, Vphoto_in2V=config.Vphoto_in2V,
**kwargs):
"""
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) :
- bumps[i] = bump(zpiezo=zpiezo, freq=bump_freq, log_dir=log_dir,
+ bumps[i] = bump(zpiezo=zpiezo, log_dir=log_dir,
Vphoto_in2V=Vphoto_in2V, **bump_kwargs)
if config.TEXT_VERBOSE :
print bumps
GNUFIT_DATA_BASE='./calibrate_cantilever_fitdata'
TEXT_VERBOSE = True # for debugging
GNUPLOT_VERBOSE = True # turn on fit check plotting
-PYLAB_VERBOSE = False # turn on plotting
+PYLAB_VERBOSE = True # turn on plotting
PYLAB_INTERACTIVE = True # select between draw() and show() for flushing plots
BASE_FIGNUM = 20 # to avoid writing to already existing figures