Skip to main content

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

Metadata

Release files for brain-pipe 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brain-pipe 0.0.4
File Size Uploaded Provenance Actions
brain_pipe-0.0.4.tar.gz 88.6 kB Without provenance Details for brain_pipe-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brain-pipe 0.0.4
File Interpreter ABI Platform Actions
brain_pipe-0.0.4-py3-none-any.whl Python 3 none any Details for brain_pipe-0.0.4-py3-none-any.whl

Total release size: 213.3 kB

Release files / brain_pipe-0.0.4.tar.gz

Download URL brain_pipe-0.0.4.tar.gz
Size 88.6 kB
Tags Source
SHA-256 checksum
How to use checksums
001fe4c14036fd91201936660bcca317f1c589cd93e505414f18c7645fb0b084
BLAKE2b-256 checksum
How to use checksums
737684686359823db7677959a2b951a48eb9f19be3faa9c78accf0b4b2cdc0a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / brain_pipe-0.0.4-py3-none-any.whl

Download URL brain_pipe-0.0.4-py3-none-any.whl
Size 124.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae3c5344b3f52bf4a3620cf4a2b3cf6692443ce2a3d6fd449b9aecf9048aa075
BLAKE2b-256 checksum
How to use checksums
6aaa640249d571d0dda7133fbc80f10472b83880ae01954eac05c985d1c7716c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for brain-pipe 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page