Experiment.abort()#
- Experiment.abort(func)[source]#
Decorator for functions that work on the experiment session directly upon abortion.
The decorated function can have an arbitrary name. It must take an
ExperimentSessionobject as its only argument (usually spelled as exp). You can use this decorator on as many function as you like.The purpose of this decorator is to allow manipulation of the
ExperimentSessionobject generated byExperiment.