anshul commit

This commit is contained in:
2025-10-10 21:40:07 -05:00
parent 69b0e4a59f
commit db442aa675
8 changed files with 193962 additions and 4 deletions

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.12.11

View File

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

12
main.py
View File

@@ -1,7 +1,11 @@
from muselsl import record
import os
import time
record(duration=60, filename="brain_data.csv")
#muselsl view --backend=QtAgg
try:
print("Recording EEG data... press Ctrl+C to stop.")
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
View 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",
]

1041
uv.lock generated Normal file

File diff suppressed because it is too large Load Diff