Installation#
Prerequisites#
Ensure you have Python and pip installed. If not, refer to the following guides:
Installing Python: Learn how to install Python.
Setting up Anaconda: Get started with Anaconda environments, or use your preferred environment manager.
Installing from PyPI#
Activate your Python environment (e.g., virtualenv, Conda, or system Python).
Install the BrainAccess Python API:
pip install brainaccess
Installing from Source#
If you are installing the BrainAccess Python API from the SDK directory, you can install it using the following steps:
Activate your Python environment (e.g., virtualenv, Conda, or system Python).
Navigate to the brainaccess-python-api directory.
Run the following command in your terminal:
pip install .
Bluetooth connection setup#
To connect the BrainAccess device:
Insert a Bluetooth adapter if needed (skip if you have an integrated Bluetooth adapter).
Turn on the BrainAccess device.
Obtain the device name (using the SDK or OS scanning). Device names are printed on the back of the device.
Warning
Do not pair the BrainAccess device in your operating system’s Bluetooth settings. The connection is managed directly by the library.
In the example code enter the device name when connecting
Minimal Data Acquisition example