Skip to main content

NuBrain connect

Project description

nubrain-connect

Create Pipfile (only when running for the first time):

conda create -y -n py-nubrain -c conda-forge pip setuptools pipenv python=3.12
cd /home/john/github/nubrain-connect
pipenv --rm
rm Pipfile Pipfile.lock
pipenv install -e ./app
pipenv install -e "./app[dev]" --dev

Update Pipfile (after modifying dependencies in pyproject.toml file):

cd /home/john/github/nubrain-connect
conda activate py-nubrain
pipenv lock --clear

For local testing:

# Not the `liblsl` dependency (needed by pylsls).
conda create -y -n py-nubrain -c conda-forge pip setuptools pipenv liblsl python=3.12
conda activate py-nubrain
pip install -e /home/john/github/nubrain-connect/app

Run experiment

sudo nano /sys/bus/usb-serial/devices/ttyUSB0/latency_timer
# Change to 1

conda activate py-nubrain

nubrain --mode=data_collection_image --config=/path/to/example_config.yaml

Demo mode

conda activate py-nubrain
nubrain --mode=eeg_to_image_live_demo --config=/path/to/cached.pickle

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nubrain-0.1.47.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nubrain-0.1.47-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

Details for the file nubrain-0.1.47.tar.gz.

File metadata

  • Download URL: nubrain-0.1.47.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nubrain-0.1.47.tar.gz
Algorithm Hash digest
SHA256 e7a707a54f61b9144b55d1fa3b70d8d7d65751934bee98a6136785b4b04f5e78
MD5 3d4b00ea183e7ddecd24c99cf9942586
BLAKE2b-256 b28acad7da7eafdeb812dfc2e8f5ffa573973989030f114f432170b125bde8d1

See more details on using hashes here.

File details

Details for the file nubrain-0.1.47-py3-none-any.whl.

File metadata

  • Download URL: nubrain-0.1.47-py3-none-any.whl
  • Upload date:
  • Size: 65.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for nubrain-0.1.47-py3-none-any.whl
Algorithm Hash digest
SHA256 2c5c3be4a84c22c00a00bb0dbc3a25b2f7526ea61458a5280f677e6c82395401
MD5 6c67911f778ebc2c2bfde76abecd6c51
BLAKE2b-256 c7892c78c04d9d494b91ef171d3b2d65fa2437cb44d5e7a4ab2f5c36fcbd8dca

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page