Skip to main content

Reorganising NIfTI files from dcm2niix into the Brain Imaging Data Structure

Project description

dcm2bids

PyPI version Documentation DOI

Code style: black

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

Before using this software, learn more about BIDS:

Dependencies

Install

pip install dcm2bids

Upgrading

pip install --upgrade dcm2bids

TL;DR

  1. mkdir <YOUR_FUTURE_BIDS_FOLDER>
  2. cd <YOUR_FUTURE_BIDS_FOLDER>
  3. dcm2bids_scaffold
  4. dcm2bids_helper -d <FOLDER_WITH_DICOMS_OF_A_TYPICAL_SESSION>
  5. Build your configuration file with the help of the content of tmp_dcm2bids/helper
  6. dcm2bids -d DICOM_DIR -p PARTICIPANT_ID -c CONFIG_FILE for each participants of your study

Follow the tutorial

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.6rc1.tar.gz (87.8 kB view details)

Uploaded Source

Built Distribution

dcm2bids-2.1.6rc1-py3-none-any.whl (30.6 kB view details)

Uploaded Python 3

File details

Details for the file dcm2bids-2.1.6rc1.tar.gz.

File metadata

  • Download URL: dcm2bids-2.1.6rc1.tar.gz
  • Upload date:
  • Size: 87.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for dcm2bids-2.1.6rc1.tar.gz
Algorithm Hash digest
SHA256 00e08e9021e0311b507184eb74f9aadf9a50732ccc603df34861ff88dad70761
MD5 f2f8dc5974c5a7b03afa6378769058a8
BLAKE2b-256 27ba14a18a70733df750a9f683d31231230e153150e57837d4a6923539232264

See more details on using hashes here.

Provenance

File details

Details for the file dcm2bids-2.1.6rc1-py3-none-any.whl.

File metadata

  • Download URL: dcm2bids-2.1.6rc1-py3-none-any.whl
  • Upload date:
  • Size: 30.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

File hashes

Hashes for dcm2bids-2.1.6rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 806c4498015af890633fdac3cc8abde6058d0bb15b737f487bc3b34b6868432d
MD5 2148387b91547762a973a124a7209c00
BLAKE2b-256 6cbb33e6b11f22bccfd8636f355ef6290c567c40666694d9695707dc88bf3f8c

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