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

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.76.tar.gz (100.1 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.76-py3-none-any.whl (131.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nubrain-0.1.76.tar.gz
Algorithm Hash digest
SHA256 91a56ce84406493794cc17876ade020a6ef1a0ecb9f8f31beedb182322d3cb00
MD5 d28457dece9e57d7ed8ca3bd7be65691
BLAKE2b-256 d3c59869d48e7c30fb43d097ffae543a909ccbd9d8d4e0da147fb81004ac8715

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nubrain-0.1.76-py3-none-any.whl
Algorithm Hash digest
SHA256 07c58b99b694da9599e550c9e4529a7e6ef712d817896e1cc17c839bb7374188
MD5 23f977b2a78803d9640f80fd469736e7
BLAKE2b-256 15ffafd6ba6970f8993306d7078f9d2f4d698d6b02a9ad0bfffbfc0e7eda53bb

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