Definition at line 95 of file neurotrigger.py.
◆ event()
Definition at line 99 of file neurotrigger.py.
99 def event(self):
100
101 if self.counter % 100 == 0:
102
103 self.return_value(0)
104 elif self.counter % 3 == 0:
105 self.return_value(1)
106 elif self.counter % 3 == 1:
107 self.return_value(2)
108 elif self.counter % 3 == 2:
109 self.return_value(3)
110 else:
111 print("some kind of error")
112 self.counter += 1
113
114
◆ initialize()
Definition at line 96 of file neurotrigger.py.
96 def initialize(self):
97 self.counter = 0
98
◆ counter
The documentation for this class was generated from the following file: