Skip to content

Example Python, Matlab, and Jupyter notebook code using HED (Hierarchical Event Descriptors). Includes BIDS-compatible test datasets.

License

Notifications You must be signed in to change notification settings

smakeig/hed-examples

 
 

Repository files navigation

HED-examples

This repository contains user supporting code and documentation for using the Hierarchical Event Descriptor (HED) system for annotating, summarizing, and analyzing data. The repository is organized into three subdirectories:

The datasets subdirectory contains datasets for testing various aspects of HED. These datasets have stubs for actual imaging data in order to reduce their size. Most of these datasets have complete versions available on openNeuro. See datasets/README.md for details.

The hedcode subdirectory contains MATLAB scripts, Python Jupyter Notebooks, and Python scripts with direct calls to HedTools. The repository also contains example code in python and matlab. See hedcode/README.md for details. The Python scripts and notebooks require the installation of hedtools whose installation is described below.

The docs subdirectory contains the main documentation for this and other HED resources. The HED GitHub organization repository gathers the HED supporting resources, all of which are open source.

Installation of hedtools

The most of the Python-related resources in this repository require the installation of the HEDTools Python module, which can be installed using pip or directly from its GitHub repository as follows:

To use pip to install hedtools from PyPI:

    pip install hedtools

To install directly from the GitHub repository:

    pip install git+https://github.com/hed-standard/hed-python/@master

HEDTools require python 3.7 or greater.

About

Example Python, Matlab, and Jupyter notebook code using HED (Hierarchical Event Descriptors). Includes BIDS-compatible test datasets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jupyter Notebook 96.0%
  • Python 2.7%
  • MATLAB 1.3%