Skip to main content

EEG Signal Processing Library

Project description

Description

BrainSurf is a Python library for processing and analyzing EEG (electroencephalography) signals. It provides a collection of tools and methods for reading, preprocessing, analyzing, and visualizing EEG data. The library is built using the NumPy, SciPy, and Matplotlib packages and is designed to be easily extensible for custom analysis and visualization needs

Installation

BrainSurf can be installed using pip, a Python package manager. To install the latest stable version of the library, run the following command :

pip install brainsurf

Github

Alternatively, you can clone the repository from GitHub and install it from source: git clone https://github.com/preethihiremath/brainsurf cd esp pip install -r requirements.txt python setup.py install

Usage

import brainsurf.io.mff as load_input
import brainsurf.utils.data as util
import brainsurf.utils.performance as performance
import brainsurf.preprocessing.filtering as filter
import brainsurf.preprocessing.artifact_removal as artifact
import brainsurf.preprocessing.epoching as epoching

#load EEG data from file
suriya_baseline = load_input.convert_mff_to_eegdata("C:/Users/Preethi V Hiremath/Downloads/Meditators/Suriya/BS.mff")


values = np.asarray(suriya_baseline['sec'], dtype=object)
sampling_freq = util.estimate_sampling_frequency(values)


pre_preprocessed_data = preprocess_eeg_data(suriya_baseline,sampling_freq)

print(performance.calculate_memory_efficiency())
performance.monitor_resource_usage()

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

brainsurf-8.0.2.tar.gz (28.6 kB view details)

Uploaded Source

File details

Details for the file brainsurf-8.0.2.tar.gz.

File metadata

  • Download URL: brainsurf-8.0.2.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for brainsurf-8.0.2.tar.gz
Algorithm Hash digest
SHA256 c277effbee758f4b6e0e5da3393a919371b4e5429aee5f0f52edb4d78a573037
MD5 0dc58c1490f03dbb1c71474e39df9390
BLAKE2b-256 a49819093a095d2a2e2f5a58f4a033ea7a3737c408eab465a744773d6461ec59

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