Ran update_copyright.py, updating all the copyright blurbs and adding AUTHORS.
[hooke.git] / hooke / experiment.py
1 # Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
2 #
3 # This file is part of Hooke.
4 #
5 # Hooke is free software: you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public
7 # License as published by the Free Software Foundation, either
8 # version 3 of the License, or (at your option) any later version.
9 #
10 # Hooke is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Lesser General Public License for more details.
14 #
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with Hooke.  If not, see
17 # <http://www.gnu.org/licenses/>.
18
19 """Define :class:`Experiment` and assorted subclasses.
20
21 This allows :class:`hooke.plugin.Plugin`\s to specify the types of
22 experiments they can handle.
23 """
24
25 class Experiment (object):
26     """Base class for experiment classification.
27     """
28     pass
29
30 class ForceClamp (Experiment):
31     """Constant force experiments.
32     """
33     pass
34
35 class VelocityClamp (Experiment):
36     """Constant piezo velocity experiments.
37     """