Skip to main content

Brain Pipe

Project description

Brain Pipe

PyPI Python versions GPLv3 license Black code style flake8 code style Docs Tests Repository

Brain Pipe:

Preprocess brain imaging datasets in a fast and re-usable way.

Motivation

This repository contains code to efficiently preprocess brain imaging datasets in python3, predominantly for machine learning downstream tasks.

The initial goal of this code was to preprocess the public EEG dataset of the ICASSP 2023 Auditory EEG challenge called SparrKULee.

Parts of this code were translated from our internal matlab codebase at ExpORL, maintained primarily by Jonas Vanthornhout and Marlies Gillis

Installation

You can install this repository as a pip package.

pip install brain_pipe

How to use

You can write your own preprocessing script, see the docs, or you can use the cli with configuration files to preprocess your data.

brain_pipe config_file.extension
# e.g. brain_pipe sparrKULee.yaml

Requirements

Python >= 3.8

Contributing

Contributions are welcome. Please open an issue or a pull request. For more information, see CONTRIBUTING.md. This package is created and maintained by ExpORL, KU Leuven, Belgium.

Example usage and starting guide

Read the docs for a more detailed explanation of the pipeline.

For a simple example, see the docs. For a more elaborate example, see examples/exporl/sparrKULee.py

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

brain_pipe-0.0.4.tar.gz (88.6 kB view details)

Uploaded Source

Built Distribution

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

brain_pipe-0.0.4-py3-none-any.whl (124.7 kB view details)

Uploaded Python 3

File details

Details for the file brain_pipe-0.0.4.tar.gz.

File metadata

  • Download URL: brain_pipe-0.0.4.tar.gz
  • Upload date:
  • Size: 88.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for brain_pipe-0.0.4.tar.gz
Algorithm Hash digest
SHA256 001fe4c14036fd91201936660bcca317f1c589cd93e505414f18c7645fb0b084
MD5 7da90335a8049b2dd89c1590755e6476
BLAKE2b-256 737684686359823db7677959a2b951a48eb9f19be3faa9c78accf0b4b2cdc0a9

See more details on using hashes here.

File details

Details for the file brain_pipe-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: brain_pipe-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 124.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for brain_pipe-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ae3c5344b3f52bf4a3620cf4a2b3cf6692443ce2a3d6fd449b9aecf9048aa075
MD5 a9d9c60338d51afe7bcb6a3402ed2b34
BLAKE2b-256 6aaa640249d571d0dda7133fbc80f10472b83880ae01954eac05c985d1c7716c

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