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 --config=/path/to/example_config.yaml

Demo mode

conda activate py-nubrain
nubrain --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.41.tar.gz (34.7 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.41-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nubrain-0.1.41.tar.gz
Algorithm Hash digest
SHA256 05aad09dceb65046f54d37af5572ebc7e9d70e6f50b7d37a8baddfff756048fc
MD5 3d914400aff07f3c46c245f75926c008
BLAKE2b-256 588a2a669450aec5bdef1887743909e970d7ecfa8a7754c6714acd9d6022fde2

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nubrain-0.1.41-py3-none-any.whl
Algorithm Hash digest
SHA256 b05f9d28ca1835a7da5d8906092566076fc95bf452408aaa22e9938b64a50823
MD5 b90e41a1294328022e3f9fa283c792e0
BLAKE2b-256 d442cf07de005aee31f685f00e86b0d54a87a5efac8b3271351d77879b081d79

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