def start_time(self, t): # get start time and set current CB objects (and their change times) Screen.start_time(self, t) self._last_CB_change_time_left = t self._last_CB_change_time_right = t self._current_CB_left = self.CB_cycle_left.next() self._current_CB_right = self.CB_cycle_right.next()
def start_time(self,t): # get start time and set current CB objects (and their change times) Screen.start_time(self,t) self._last_CB_change_time_left = t self._last_CB_change_time_right = t self._last_CB_change_time_center = t self._current_CB_left = self.CB_cycle_left.next() self._current_CB_right = self.CB_cycle_right.next() self._current_CB_center = self.CB_cycle_center.next() # also used for checking things self.t_begin = t
def start_time(self,t): # get start time and set current CB objects (and their change times) Screen.start_time(self,t) self._color_func_left = self._get_color_func(start_time = t, flash_rate = self.flash_rate_left, shape = "sin", inv_gamma_func = self.inv_gamma_func, ) self._color_func_right = self._get_color_func(start_time = t, flash_rate = self.flash_rate_right, shape = "sin", inv_gamma_func = self.inv_gamma_func, ) self._color_func_center = self._get_color_func(start_time = t, flash_rate = self.flash_rate_center, shape = "square", inv_gamma_func = self.inv_gamma_func, )