Updated to new data_logger log_dir $DEFAULT$ syntax for easier log_dir defs.
[calibcant.git] / calibcant / config.py
index 14af67b5fa340b188b06e32fc4c683e90ca66047..f86618ef318e66c2d581859b2fde8f020656ffd8 100644 (file)
@@ -5,7 +5,7 @@ import z_piezo
 
 DEFAULT_TEMP = 22  # assume 22 deg C
 LOG_DATA = True  # quietly grab all real-world data and log to LOG_DIR
-LOG_DIR = '/home/wking/rsrch/data/calibrate_cantilever'
+LOG_DIR = '$DEFAULT$/calibrate_cantilever'
 GNUFIT_DATA_BASE='./calibrate_cantilever_fitdata'
 TEXT_VERBOSE = True      # for debugging
 GNUPLOT_VERBOSE = True     # turn on fit check plotting
@@ -13,6 +13,12 @@ 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
 
+
+# HACK
+# make sure you make a system note (add_system_note) if you change
+# these in case you don't have access to a z_piezo for conversion
+# functions
+
 # zpGain      zpiezo applied voltage per output Volt
 zpGain = z_piezo.DEFAULT_GAIN
 # zpSensitivity  nm zpiezo response per applied Volt