Cleaned up README and package with pure distutils (vs. setuputils).
[pyafm.git] / calibcant / calibrate.py
old mode 100755 (executable)
new mode 100644 (file)
index a485bf4..54279a5
@@ -1,27 +1,22 @@
-#!/usr/bin/python
-#
 # calibcant - tools for thermally calibrating AFM cantilevers
 #
-# Copyright (C) 2007-2009 William Trevor King
+# Copyright (C) 2008-2011 W. Trevor King <wking@drexel.edu>
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 3 of the
-# License, or (at your option) any later version.
+# This file is part of calibcant.
 #
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-# See the GNU General Public License for more details.
+# calibcant is free software: you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation, either
+# version 3 of the License, or (at your option) any later version.
 #
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-# 02111-1307, USA.
+# calibcant is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU Lesser General Public License for more details.
 #
-# The author may be contacted at <wking@drexel.edu> on the Internet, or
-# write to Trevor King, Drexel University, Physics Dept., 3141 Chestnut St.,
-# Philadelphia PA 19104, USA.
+# You should have received a copy of the GNU Lesser General Public
+# License along with calibcant.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """
 Aquire and analyze cantilever calibration data.
@@ -104,17 +99,19 @@ which make automating the calibration procedure more straightforward.
 
 import numpy
 import time 
+
+import FFT_tools
 import piezo.z_piezo_utils as z_piezo_utils
 from splittable_kwargs import splittableKwargsFunction, \
     make_splittable_kwargs_function
-import FFT_tools
 
-import common
-import config
-import bump_analyze
-import T_analyze
-import vib_analyze
-import analyze
+from . import common
+from . import config
+from . import bump_analyze
+from . import T_analyze
+from . import vib_analyze
+from . import analyze
+
 
 # bump family