anshul commit
This commit is contained in:
1
.python-version
Normal file
1
.python-version
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.12.11
|
||||||
75769
data/anshul/brain_1760149444.csv
Normal file
75769
data/anshul/brain_1760149444.csv
Normal file
File diff suppressed because it is too large
Load Diff
75769
data/anshul/brain_1760149750.csv
Normal file
75769
data/anshul/brain_1760149750.csv
Normal file
File diff suppressed because it is too large
Load Diff
41365
data/anshul/brain_1760150056.csv
Normal file
41365
data/anshul/brain_1760150056.csv
Normal file
File diff suppressed because it is too large
Load Diff
12
main.py
12
main.py
@@ -1,7 +1,11 @@
|
|||||||
from muselsl import record
|
from muselsl import record
|
||||||
import os
|
import time
|
||||||
|
|
||||||
record(duration=60, filename="brain_data.csv")
|
try:
|
||||||
|
print("Recording EEG data... press Ctrl+C to stop.")
|
||||||
#muselsl view --backend=QtAgg
|
while True:
|
||||||
|
# each file = 5 min chunks (for safety); change as you like
|
||||||
|
record(duration=300, filename=f"data/brain_{int(time.time())}.csv")
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
print("Stopped recording.")
|
||||||
|
|
||||||
|
|||||||
9
pyproject.toml
Normal file
9
pyproject.toml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
[project]
|
||||||
|
name = "musi"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = "Add your description here"
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.12.11"
|
||||||
|
dependencies = [
|
||||||
|
"muselsl>=2.3.1",
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user