Beispiel #1
0
 def __init__(self):
     self.experiment_finished = False
     self._process = ExampleProtocolProcess()
     self._proximity_threshold = 30
     self._min_animals = 2
     self._event = None
     self._current_trial = None
     self._max_reps = 999
     self._trial_count = {trial: 0 for trial in self._trials}
     self._trial_timers = {trial: Timer(10) for trial in self._trials}
     self._exp_timer = Timer(600)
Beispiel #2
0
 def __init__(self):
     self.experiment_finished = False
     self._process = ExampleProtocolProcess()
     self._green_point = (550, 163)
     self._blue_point = (372, 163)
     self._radius = 40
     self._event = None
     self._current_trial = None
     self._trial_count = {trial: 0 for trial in self._trials}
     self._trial_timers = {trial: Timer(10) for trial in self._trials}
     self._exp_timer = Timer(600)