create_dataset_description

bidsaid.files.create_dataset_description(dataset_name, bids_version='1.0.0', derivative=False)[source]

Generate a dataset description dictionary.

Creates a dictionary containing the name and BIDs version of a dataset.

Parameters

dataset_namestr

Name of the dataset.

bids_versionstr,

Version of the BIDS dataset.

derivativebool, default=False

Determines if “GeneratedBy” key is added to dictionary.

Returns

dict[str, str]

The dataset description dictionary