bids_bep16_conv.utils.create_dataset_description

bids_bep16_conv.utils.create_dataset_description(software, analysis, out_dir)[source]

Create dataset_description.json file for applied software/pipeline.

Parameters:
  • software (str) – The applied software.

  • analysis (str) – The applied analysis.

  • bids_dir (str) – Path to BIDS root directory.

Returns:

  • Generated dataset_description.json file in derivatives/<software> directory

  • under specified BIDS root directory.

Examples

Create dataset_description.json for a DTI analysis run via DIPY.

>>> create_dataset_description('dipy', 'DTI', '/home/user/BIDS_dataset/derivatives')