Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fohlen/midp_workbench
A workbench for the MIDP dataset
https://github.com/fohlen/midp_workbench
Last synced: about 1 month ago
JSON representation
A workbench for the MIDP dataset
- Host: GitHub
- URL: https://github.com/fohlen/midp_workbench
- Owner: Fohlen
- License: mit
- Created: 2024-02-07T19:56:04.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-07T20:07:28.000Z (11 months ago)
- Last Synced: 2024-02-08T20:58:20.183Z (11 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
midp_workbench
--------------The MIDP workbench is a utility library to download and preprocess eye tracking data from the [Multimodal Resource for Studying Information Processing in the Developing Brain](http://fcon_1000.projects.nitrc.org/indi/cmi_eeg/).
# Installation
You can only install this project (at the moment) from GitHub.
```
pip install git+https://github.com/Fohlen/midp_workbench.git
```# Usage
You can invoke the package from the command-line:
```
fetch-eeg-samples -o output_folder/ ID1
```It will produce a [NPZ archive](https://numpy.org/doc/stable/reference/generated/numpy.savez.html) of all the variables found in the original recording.
Consequently one can use e.g. [REMoDNaV](https://github.com/psychoinformatics-de/remodnav) to post-process this data.One can also bulk-download multiple items at once using `xargs`, e.g. download blocks of 100 participants at once:
```
cat my_list_of_participants.txt # should contain one ID per line
xargs fetch-eeg-samples -o output_folder < my_list_of_participants.txt
```# Invoking programmatically
You can also re-use this library in your own projects. The API is straightforward from [fetch-eeg-samples](src/midp_workbench/fetch_eeg_samples.py).