Skip to content

Commit 4738d9a

Browse files
committed
Add varying signal amplitude to Galea v4 emulator
1 parent 77011ca commit 4738d9a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

emulator/brainflow_emulator/galea_manual_v4.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ def run(self):
8888
if (self.debug_mode):
8989
print(t, i, channel)
9090
if (self.channel_on_off[channel - 1] == 1):
91-
single_package.append(random.randint(0, 80))
91+
if (sample % 3 == 2):
92+
single_package.append(random.randint(0, 8 + (channel * 2)))
93+
else:
94+
single_package.append(0)
9295
else:
9396
single_package.append(0)
9497
else:

0 commit comments

Comments
 (0)