Use relative imports (PEP 328) for calibcant sibling imports.
[calibcant.git] / calibcant / vib_analyze.py
index 0a9e1e55734740c56dd25c004490f66c12eb19bb..67d75193f2ee7ddd9f09ee689cefc7159a48ec68 100755 (executable)
@@ -33,15 +33,18 @@ The relevent physical quantities are :
 """
 
 import os, time, numpy
-import GnuplotBiDir   # used for fitting lorentzian
-import scipy.optimize # alternative for fitting lorentzian
-import common # common module for the calibcant package
-import config # config module for the calibcant package
+import GnuplotBiDir   # can be used for fitting lorentzian
+import scipy.optimize # can be used for fitting lorentzian
+
 import data_logger
 import FFT_tools
 from splittable_kwargs import splittableKwargsFunction, \
     make_splittable_kwargs_function
 
+import .common
+import .config
+
+
 PLOT_GUESSED_LORENTZIAN=False
 
 @splittableKwargsFunction()
@@ -550,3 +553,5 @@ if __name__ == '__main__' :
     
     if options.ofilename != None :
         ofile.close()
+
+#  LocalWords:  calibcant AFM