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
Metadata
Release files for nubrain 0.1.87
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nubrain-0.1.87.tar.gz | 102.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nubrain-0.1.87-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 238.8 kB
Release files / nubrain-0.1.87.tar.gz
| Download URL | nubrain-0.1.87.tar.gz |
|---|---|
| Size | 102.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfcc1cf7a2dd8dd6a3a0825d0b39c66ef70389ca105fb9c65f0b8badb250aae5
|
|
BLAKE2b-256 checksum How to use checksums |
04938bd07a212b514d34482235d5fa8907b5bf7c38d756d9d1139dc2d82be942
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / nubrain-0.1.87-py3-none-any.whl
| Download URL | nubrain-0.1.87-py3-none-any.whl |
|---|---|
| Size | 136.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da9684e8fa80b084c398d3362a9de3ff52a1849d588eda2a339eb6d7dfa969db
|
|
BLAKE2b-256 checksum How to use checksums |
1091e7d6bcb521f36b1ecf5dd09c9dc003f87ca78fa1af4d181514f466667ccf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|