Skip to main content

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 :

Metadata

Release files for dcm2bids 2.1.4

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.4
File Size Uploaded Provenance Actions
dcm2bids-2.1.4.tar.gz 25.9 kB Without provenance Details for dcm2bids-2.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 54.8 kB

Release files / dcm2bids-2.1.4.tar.gz

Download URL dcm2bids-2.1.4.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b1c47d578cd273898f99d6003ea0e484e7643c903d2a5a96c1653fb8fb770381
BLAKE2b-256 checksum
How to use checksums
1ee3d132d9e867034520bb20a8eab2e5a5eb69ce750a6bb43601a770d9e28821
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / dcm2bids-2.1.4-py2.py3-none-any.whl

Download URL dcm2bids-2.1.4-py2.py3-none-any.whl
Size 28.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6a339c83e087a3780fb2491bd27b18ff9494bf1018c5a72385cfd5ae0db3bd7f
BLAKE2b-256 checksum
How to use checksums
abb661a10d2f876ac78236d72a9aaa51a3b3f36f46220afb08cc57b280ee3511
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for dcm2bids 2.1.4

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