1 # Copyright (C) 2010 W. Trevor King <wking@drexel.edu>
3 # This file is part of Hooke.
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.
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.
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/>.
19 """Define :class:`Experiment` and assorted subclasses.
21 This allows :class:`hooke.plugin.Plugin`\s to specify the types of
22 experiments they can handle.
25 class Experiment (object):
26 """Base class for experiment classification.
30 class ForceClamp (Experiment):
31 """Constant force experiments.
35 class VelocityClamp (Experiment):
36 """Constant piezo velocity experiments.