Skip to main content

HED validation, summary, and analysis tools.

Project description

HEDTools - Python

HED (Hierarchical Event Descriptors) is a framework for systematically describing both laboratory and real-world events as well as other experimental metadata. HED tags are comma-separated path strings. HED, itself, is platform-independent, extendable, and data-neutral.

This repository contains the underlying python tools that support validation, summarization, and analysis of datasets using HED tags. Most people will simply annotate their events by creating a spreadsheet or a BIDS JSON sidecar that associates HED tags with event codes or the events themselves. If you have such a spreadsheet or a JSON, you can use the HED Online Validator currently available at https://hedtools.ucsd.edu/hed to validate or transform your files without downloading any tools.

Installation

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

The HEDTools in this repository require python 3.7 or greater.

Relationship to other repositories

The hed-python repository contains the Python infrastructure for validating and analyzing HED. This repository has two companion repositories:

  • hed-web contains the web interface for HED as well as a deployable docker module that supports web services for HED.
  • hed-examples contains examples of using HED in Python and MATLAB. The site also contains many Jupyter notes illustrating various aspect of data curation and analysis using HED. The site hosts HED test datasets and the HED user manuals.

Develop versus master branches

Because the three repositories are interrelated, the following conventions are followed. The latest stable version is on the master branches of hed-python and hed-web and the main branch of hed-examples. The documentation link on readthedocs will describe the stable versions.

As features are integrated, they first appear in the develop branches of the three repositories. The develop branches of the three repositories will be kept in sync. If an interface change in hed-python triggers a change in hed-web or hed-examples, every effort will be made to get the stable branches of the respective repositories in sync.

To contribute

Contributions are welcome. Please use the Github issues for suggestions or bug reports. The Github pull request may also be used for contributions. Usually these updates should be made to the develop branch, not the master.

Other links of interest

HED specification documentation: https://hed-specification.readthedocs.io/en/latest/.

Examples: https://hed-examples.readthedocs.io/en/latest/.

Documentation: https://hed-python.readthedocs.io/en/latest/.

Code climate reports: https://codeclimate.com/github/hed-standard/hed-python.

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

hedtools-0.1.0.tar.gz (134.2 kB view details)

Uploaded Source

Built Distribution

hedtools-0.1.0-py3-none-any.whl (150.8 kB view details)

Uploaded Python 3

File details

Details for the file hedtools-0.1.0.tar.gz.

File metadata

  • Download URL: hedtools-0.1.0.tar.gz
  • Upload date:
  • Size: 134.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for hedtools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 19be25f5c06220c57d8d11436e0feff8748d78fae907cf34aee4cd535f95cd78
MD5 c917f1fb7700c97a0c22319c5d1bb5df
BLAKE2b-256 b399c8a20fd2dac0217bcb858d9ca4b49a11e11548d02bb78077e671394aa9de

See more details on using hashes here.

File details

Details for the file hedtools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hedtools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 150.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.9

File hashes

Hashes for hedtools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5ab1d181569bb234e4766bc4b23dcb3c8b277ac9fa7534291e972bce92bb9b4
MD5 716f32ef5dc53efe84da572a6e068589
BLAKE2b-256 c46bb6c5ba8df6db5842a1acc994465b6d6856561f82ef64c8500c0d7c5e4b8b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page