Skip to main content

Automated eeg2bids conversion

Project description

codecov Python tests Documentation Status https://img.shields.io/badge/Preprint-Zenodo-orange

sovabids

Visit the documentation

Architecture

The main elements of sovabids are:
  • A source path with the original dataset.

  • A bids path that will be the output path of the conversion.

  • A rules file that configures how the conversion is done from the general perspective.

  • A mapping file that encodes how the conversion is performed to each individual file of the dataset.

https://mermaid.ink/svg/eyJjb2RlIjoiZ3JhcGggTFJcbiAgICBTPlwiU291cmNlIHBhdGhcIl1cbiAgICBCPlwiQmlkcyBwYXRoXCJdXG4gICAgUj5cIlJ1bGVzIGZpbGVcIl1cbiAgICBBUigoXCJBcHBseSBSdWxlc1wiKSlcbiAgICBNPlwiTWFwcGluZ3MgZmlsZVwiXVxuICAgIENUKChcIkNvbnZlcnQgVGhlbVwiKSlcbiAgICBPWyhcIkNvbnZlcnRlZCBkYXRhc2V0XCIpXVxuICAgIFMgLS0-IEFSXG4gICAgQiAtLT4gQVJcbiAgICBSIC0tPiBBUlxuICAgIEFSIC0tPiBNXG4gICAgTSAtLT4gQ1RcbiAgICBDVCAtLT4gT1xuICAiLCJtZXJtYWlkIjp7InRoZW1lIjoiZm9yZXN0In0sInVwZGF0ZUVkaXRvciI6ZmFsc2UsImF1dG9TeW5jIjp0cnVlLCJ1cGRhdGVEaWFncmFtIjpmYWxzZX0

Internally sovabids uses MNE-Python and MNE-BIDS to perform the conversion. In a sense is a wrapper that allows to do conversions from the command line.

Installation

pip install sovabids

Installation for GUI usage

This will install sovabids for usage with an experimental web gui.

pip install "sovabids[gui]"

For the experimental bidscoin plugin, install the sovabids fork of bidscoin manually:

pip install "git+https://github.com/yjmantilla/bidscoin.git@sovabids"

Installation for developers

Fork this repo and run:

git clone https://github.com/<gh-username>/sovabids.git
cd sovabids
pip install -e ".[dev]"

Basic Usage

The easiest way is to use sovabids through its CLI entry-points as follows:

sovapply

Use the sovapply entry-point to produce a mapping file from a source path, an output bids root path and a rules filepath.

sovapply source_path bids_path rules_path

By default the mapping file made will have the following filepath:

bids_path/code/sovabids/mappings.yml

sovaconvert

Use the sovaconvert entry-point to convert the dataset given its mapping file.

sovaconvert mapping_file

Funding

Google Summer of Code Funding logo

Acknowledgments

sovabids is developed with the help of the following entities:

University of Queensland Swinburne University Universidad de Antioquia GRUNECO Neuroimaging Facility INCF

Academic Works

What does sova means?

sova is a contraction of ‘eso va’ which mean ‘that goes’ in spanish.

Nevertheless the real usage by the original developers is just to convey the idea of :

we will make it happen, we dont know how, but we will

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

sovabids-0.4.tar.gz (3.2 MB view details)

Uploaded Source

Built Distribution

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

sovabids-0.4-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file sovabids-0.4.tar.gz.

File metadata

  • Download URL: sovabids-0.4.tar.gz
  • Upload date:
  • Size: 3.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for sovabids-0.4.tar.gz
Algorithm Hash digest
SHA256 7b9d4f44f299e6d543ea373f114104ea84866b992e6abc00229e493b477be658
MD5 82ae88a051dd3e15f06dd17474e63be6
BLAKE2b-256 19fbdcd254c9f7a33be10266fb02eacb778f2a207ffd7d31950cce370bb952bc

See more details on using hashes here.

File details

Details for the file sovabids-0.4-py3-none-any.whl.

File metadata

  • Download URL: sovabids-0.4-py3-none-any.whl
  • Upload date:
  • Size: 45.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for sovabids-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 339aa378487e3eec250e4996b98951ca8877e06141ad45aeab6d0d00c8e3e8b5
MD5 4de9b6ca179b08685f51945e1a635c69
BLAKE2b-256 877410ea23cf2ae251083b8f5269b8fcb3b47a9a76775258fc3b37ee3059f870

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