Skip to main content

A package for BCI-related tasks, including dataset loading, preprocessing, feature extraction, and classification.

Project description

BCI Flow

Bciflow is a Python package focused on Brain-Computer Interface (BCI)-related work. It provides tools for loading pre-established datasets, performing analysis, pre-processing, filtering, feature extraction, and classification, covering the entire process of creating BCI models. Installation

You can install bciflow directly from PyPI using pip:

pip install bciflow 

Features

  • Dataset Loading: Support for popular BCI datasets, such as BCI Competition datasets, OpenBMI, among others.
  • Pre-processing: Filtering, artifact removal, normalization, and other data preparation techniques.
  • Feature Extraction: Methods for extracting relevant features from EEG signals, such as frequency bands, CSP (Common Spatial Patterns), etc.
  • Classification: Implementation of classification algorithms such as SVM, LDA, Neural Networks, among others.
  • Complete Pipeline: Facilitates the creation of complete pipelines for processing and analyzing BCI data.

Loading a Dataset

The datasets must be loaded by the user, and the data path must be provided by the user in the path parameter. For example, to load the CBCIC dataset:

from bciflow.datasets import cbcic
# Load CBCIC dataset
data = cbcic(
    subject=1,  # Subject number
    session_list=None,  # List of sessions to load (default: all sessions)
    labels=['left-hand', 'right-hand'],  # Labels to include
    path='data/cbcic/'  # Path to the dataset files
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bciflow-1.0.0.dev5.tar.gz (7.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bciflow-1.0.0.dev5-py3-none-any.whl (31.9 kB view details)

Uploaded Python 3

File details

Details for the file bciflow-1.0.0.dev5.tar.gz.

File metadata

  • Download URL: bciflow-1.0.0.dev5.tar.gz
  • Upload date:
  • Size: 7.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for bciflow-1.0.0.dev5.tar.gz
Algorithm Hash digest
SHA256 4ae40d4b70359b8a45d8fb5880ed49e0fa2e89a743f2789cfef74c517cd57877
MD5 2f9f80d0b1b959087e7ae12b33baeae4
BLAKE2b-256 3cfd7a16c51c556d8f351d7e94b9f104c73a6040c984ccfae1cd972d8ddeffbe

See more details on using hashes here.

File details

Details for the file bciflow-1.0.0.dev5-py3-none-any.whl.

File metadata

  • Download URL: bciflow-1.0.0.dev5-py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for bciflow-1.0.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 e63e9874644ac79653fe5588acf503bd7a3f73173d596088f2638d8d8619da1a
MD5 e3ab41e44c8b214d31db5ad3f4a8e0f7
BLAKE2b-256 8494d69c407035106b1a5c0c56c8b8a5fc36ff2f4365a2d99714c663e9b6f918

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