-# -*- coding: utf-8 -*-
-
-from hooke.libhooke import WX_GOOD, ClickedPoint
+# Copyright (C) 2008-2012 Fabrizio Benedetti <fabrizio.benedetti.82@gmail.com>
+# Marco Brucale <marco.brucale@unibo.it>
+# Massimo Sandal <devicerandom@gmail.com>
+# W. Trevor King <wking@tremily.us>
+#
+# 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/>.
+
+"""The autopeak module provides :class:`Autopeak`, a
+:class:`hooke.plugin.Plugin` for automatically extracting force peaks
+(unfolding events) from force curves.
+"""
+
+from hooke.libhooke import WX_GOOD
import wxversion
wxversion.select(WX_GOOD)
import warnings
warnings.simplefilter('ignore',np.RankWarning)
+#from .. import ui.gui.results as results
-class autopeakCommands(object):
- def do_autopeak(self,args):
+class autopeakCommands(object):
+ '''
+ Autopeak carries out force curve fitting with a chosen model:
+ - WLC
+ - FJC
+ - FJC-PEG
+ '''
+ def do_autopeak(self, args):
'''
AUTOPEAK
(autopeak.py)
f.close()
self.do_note('autopeak')
+