EEG Preprocessing and Featurization Library
Project description
EEGProc: EEG Preprocessing and Featurization Library
EEGProc is a fully vectorized library designed for preprocessing and extracting features from EEG (Electroencephalogram) data. This library is optimized for performance and ease of use, making it suitable for researchers and developers working in the field of neuroscience, biomedical engineering, and machine learning.
Features
- Preprocessing: Includes functions for filtering, artifact removal, and normalization of EEG signals.
- Featurization: Extracts meaningful features from EEG data, such as power spectral density, band power, and more.
- Vectorized Operations: Fully vectorized implementation ensures high performance and scalability for working with pandas dataframes.
- Ease of Integration: Designed to integrate seamlessly with existing Python workflows.
Installation
To install EEGProc, you can use pip:
pip install eegproc
Alternatively, you can clone the repository and install the required dependencies manually:
# Clone the repository
git clone https://github.com/VitorInserra/EEGProc.git
# Navigate to the project directory
cd EEGProc
# Install dependencies
pip install -r requirements.txt
Usage
Preprocessing EEG Data
import pandas as pd
from eegproc import bandpass_filter
# Example: Preprocess raw EEG data
data: pd.DataFrame = ... # Load your raw EEG data as a dataframe
bandpass_filtered_data: pd.DataFrame = bandpass_filter(data)
Extracting Features
from eegproc import psd
# Example: get Power Spectral Density from a bandpass filtered dataframe
psd_data: pd.DataFrame = psd(bandpass_filitered_data)
File Structure
parameters/preprocessing.py: Contains preprocessing functions.featurization.py: Contains feature extraction functions.
requirements.txt: Lists the dependencies required for the project.
Contributing
Contributions are welcome! If you have ideas for new features or improvements, feel free to open an issue or submit a pull request.
License
This project is licensed under the GPLv2 License. See the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eegproc-1.0.0.tar.gz.
File metadata
- Download URL: eegproc-1.0.0.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7181f1f4a808cdf5fe21200a4d2c5e8cc4d94cda194f2bfb01ad179f5383b7b5
|
|
| MD5 |
a8c4986bc95e0dfab1d9cbffea828dfb
|
|
| BLAKE2b-256 |
17229da8dd72727d633e7893d5bda74fd081e8c350b74420564130218bd9760c
|
File details
Details for the file eegproc-1.0.0-py3-none-any.whl.
File metadata
- Download URL: eegproc-1.0.0-py3-none-any.whl
- Upload date:
- Size: 22.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2f1b20d6ce9c4e3fc4116c19d2933ea0321ef88110cf0408cc3db131dcea17f
|
|
| MD5 |
56f40f0b9fe86c59c63f7572dabc93f3
|
|
| BLAKE2b-256 |
5787356e12830eb807fdb0e44e27225abc38ebfeac24d693723128086f4c614e
|