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

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

bids-validator

Run the bids-validator to check your directory. Don't forget to create a .bidsignore file at the root of your BIDS directory with tmp_dcm2bids/* inside.

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.4.tar.gz (25.9 kB view details)

Uploaded Source

Built Distribution

dcm2bids-2.1.4-py2.py3-none-any.whl (28.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file dcm2bids-2.1.4.tar.gz.

File metadata

  • Download URL: dcm2bids-2.1.4.tar.gz
  • Upload date:
  • Size: 25.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dcm2bids-2.1.4.tar.gz
Algorithm Hash digest
SHA256 b1c47d578cd273898f99d6003ea0e484e7643c903d2a5a96c1653fb8fb770381
MD5 e437ae5945975d7fec3c9f2df52a6bb7
BLAKE2b-256 1ee3d132d9e867034520bb20a8eab2e5a5eb69ce750a6bb43601a770d9e28821

See more details on using hashes here.

Provenance

File details

Details for the file dcm2bids-2.1.4-py2.py3-none-any.whl.

File metadata

  • Download URL: dcm2bids-2.1.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 28.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for dcm2bids-2.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6a339c83e087a3780fb2491bd27b18ff9494bf1018c5a72385cfd5ae0db3bd7f
MD5 33059bf6dee12fa6be14334de5950bb3
BLAKE2b-256 abb661a10d2f876ac78236d72a9aaa51a3b3f36f46220afb08cc57b280ee3511

See more details on using hashes here.

Provenance

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