pyoperant.behavior.base module¶
-
class
pyoperant.behavior.base.
BaseExp
(name='', description='', debug=False, filetime_fmt='%Y%m%d%H%M%S', light_schedule='sun', idle_poll_interval=60.0, experiment_path='', stim_path='', subject='', panel=None, log_handlers=[], *args, **kwargs)[source]¶ Bases:
object
Base class for an experiment.
Keyword arguments: name – name of this experiment desc – long description of this experiment debug – (bool) flag for debugging (default=False) light_schedule – the light schedule for the experiment. either ‘sun’ or
a tuple of (starttime,endtime) tuples in (hhmm,hhmm) form defining time intervals for the lights to be onexperiment_path – path to the experiment stim_path – path to stimuli (default = <experiment_path>/stims) subject – identifier of the subject panel – instance of local Panel() object
Methods: run() – runs the experiment