1 """Define some variables to configure the package for a particular lab
6 DEFAULT_TEMP = 22 # assume 22 deg C
7 LOG_DATA = True # quietly grab all real-world data and log to LOG_DIR
8 LOG_DIR = '/home/wking/rsrch/data/calibrate_cantilever'
9 GNUFIT_DATA_BASE='./calibrate_cantilever_fitdata'
10 TEXT_VERBOSE = True # for debugging
11 GNUPLOT_VERBOSE = True # turn on fit check plotting
12 PYLAB_VERBOSE = True # turn on plotting
13 PYLAB_INTERACTIVE = True # select between draw() and show() for flushing plots
14 BASE_FIGNUM = 20 # to avoid writing to already existing figures
16 # zpGain zpiezo applied voltage per output Volt
17 zpGain = z_piezo_utils._usual_zpGain
18 # zpSensitivity nm zpiezo response per applied Volt
19 zpSensitivity = z_piezo_utils._usual_zpSensitivity
20 # Vzp_out2V function that converts output DAC bits to Volts
21 Vzp_out2V = z_piezo_utils._usual_Vzp_out2V
22 # Vphoto_in2V function that converts input ADC bits to Volts
23 Vphoto_in2V = z_piezo_utils._usual_Vphoto_in2V
24 # zeroVphoto_bits ADC bit output for a 0V input
25 zeroVphoto_bits = z_piezo_utils._usual_zeroVphoto_bits