NeuronLab is a secure, multiplatform, and web-based framework that provides a working environment to researchers where every phase of the BCI lifecycle (acquisition, preprocessing, features extraction, and classification) can be performed. Additionally, it defines sophisticated tools to study the EEG signals.
- Python 3.8.
- MySQL
- Clone the repo.
git clone https://github.com/JuananMtez/NeuronLab-Backend.git
- Change to project directory.
cd NeuronLab-Backend
- Install dependencies.
pip install -r requirements.txt
-
Create database in MySQL.
-
Modify properties in
./app/config/properties.ini
.
[DATABASE]
user = TO BE DEFINED
password = TO BE DEFINED
host = TO BE DEFINED
database = TO BE DEFINED
[SECURITY]
secret_key = TO BE DEFINED
algorithm = TO BE DEFINED
access_token_expire_minute = TO BE DEFINED
parameter | Description |
---|---|
user | MySQL user |
password | MySQL password |
host | MySQL host |
database | MySQL database |
secret_key | Key used to sign the JWT tokens |
algorithm | Algorithm used to sign the JWT token |
access_token_expire_minute | Token lifetime in minutes |
Run NeuronLab-Backend.
python3 -m uvicorn app.main:app
The tables will be created in the database automatically.
This project is licensed under the MIT License - see the LICENSE file for details