Skip to main content

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 :

Metadata

Release files for dcm2bids 2.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dcm2bids 2.1.5
File Size Uploaded Provenance Actions
dcm2bids-2.1.5.tar.gz 29.5 kB Without provenance Details for dcm2bids-2.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dcm2bids 2.1.5
File Interpreter ABI Platform Actions
dcm2bids-2.1.5-py3-none-any.whl Python 3 none any Details for dcm2bids-2.1.5-py3-none-any.whl

Total release size: 61.8 kB

Release files / dcm2bids-2.1.5.tar.gz

Download URL dcm2bids-2.1.5.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb947fdd33e346c3a97901322dce21c9a65c38d831ebd7f35f24292a8f5fc6b7
BLAKE2b-256 checksum
How to use checksums
b95d15558896b579b70cda401dc3e60f821949a45d7828234131ac3f8fe96f43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

Release files / dcm2bids-2.1.5-py3-none-any.whl

Download URL dcm2bids-2.1.5-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ad3a468f6b68f6756f4d670157fd3d3d338b30580740ed7e3a83307ce7b8163
BLAKE2b-256 checksum
How to use checksums
4b75437b9cab314cbbb380a11ef33d408779e099ac6da202c21b2f7d4ea167be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

Security for dcm2bids 2.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page