Rework hooke.driver and hooke.driver.tutorial along the lines of hooke.plugin.
[hooke.git] / hooke / experiment.py
1 """Define :class:`Experiment` and assorted subclasses.
2
3 This allows :class:`hooke.plugin.Plugin`\s to specify the types of
4 experiments they can handle.
5 """
6
7 class Experiment (object):
8     """Base class for experiment classification.
9     """
10     pass
11
12 class ForceClamp (Experiment):
13     """Constant force experiments.
14     """
15     pass
16
17 class VelocityClamp (Experiment):
18     """Constant piezo velocity experiments.
19     """