cmtklib.bids.utils module

This modules provides CMTK Utility functions to handle BIDS datasets.

cmtklib.bids.utils.write_derivative_description(bids_dir, deriv_dir, pipeline_name)[source]

Write a dataset_description.json in each type of CMP derivatives.

Parameters
  • bids_dir (string) – BIDS root directory

  • deriv_dir (string) – Output/derivatives directory

  • pipeline_name (string) – Type of derivatives (['cmp', 'freesurfer', 'nipype'])