Skip to main content

Reorganising NIfTI files from dcm2niix into the Brain Imaging Data Structure

Project description

PyPI version Documentation DOI

dcm2bids

dcm2bids reorganises NIfTI files from dcm2niix into the Brain Imaging Data Structure (BIDS).

Before using this software, learn more about BIDS:

Follow the guide

Install

pip install dcm2bids

or

pip install --user dcm2bids

Dependencies

Upgrading

pip install --upgrade dcm2bids

TL;DR

Steps to get your data in BIDS :

  • cd <YOUR_FUTURE_BIDS_FOLDER>
  • dcm2bids_scaffold
  • dcm2bids_helper -d <FOLDER_WITH_DICOMS_OF_A_TYPICAL_SESSION>
  • Build your configuration file with the help of the content of tmp_dcm2bids/helper
  • dcm2bids -d DICOM_DIR -p PARTICIPANT_ID -c CONFIG_FILE for each participants of your study
  • Run the bids-validator

dcm2bids creates log files inside <YOUR_FUTURE_BIDS_FOLDER>/tmp_dcm2bids/log

Similar projects

Other tools to create BIDS datasets :

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

dcm2bids-2.1.3.tar.gz (25.8 kB view hashes)

Uploaded Source

Built Distribution

dcm2bids-2.1.3-py2.py3-none-any.whl (28.9 kB view hashes)

Uploaded Python 2 Python 3

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