Replace .config rather than reconstructing plugins, drivers, and UIs.
[hooke.git] / hooke / plugin / massanalysis.py
index 6fcb03d87f325914c985f03541ba07e6f8b5b122..c657af9ddb302db0771a2f4ce39a142840bb60f2 100644 (file)
@@ -1,22 +1,37 @@
-'''
-massanalysis.py
-
-Global analysis of force curves with various parameters
+# Copyright (C) 2008-2010 Massimo Sandal <devicerandom@gmail.com>
+#                         W. Trevor King <wking@drexel.edu>
+#
+# This file is part of Hooke.
+#
+# Hooke 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.
+#
+# Hooke 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.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with Hooke.  If not, see
+# <http://www.gnu.org/licenses/>.
+
+"""Global analysis of force curves with various parameters
 
 Requires:
 libpeakspot.py
 flatfilts.py
-'''
-
+"""
 
-import libpeakspot as lps
-import libhookecurve as lhc
-import libhooke as lh
 import numpy as np
-
 import csv
 
-class massanalysisCommands:
+from .. import libpeakspot as lps
+from .. import curve as lhc
+from .. import libhooke as lh
+
+class massanalysisCommands(object):
 
     def _plug_init(self):
         self.mass_variables={}