bids_atlas.utils.generate_json_sidecar_file¶
- bids_atlas.utils.generate_json_sidecar_file(atlas_name, path)[source]¶
Create .json file for the obtained atlas.
- Parameters:
atlas_name (str) – The name of the atlas.
path (string) – Path where the json sidecar will be saved.
- Return type:
Generated atlas.json file in the specified directory.
Examples
Create dataset_description.json for the AAL atlas.
>>>generate_json_sidecar_file(‘AAL’, ‘/home/user/bids_atlas_datasets/atlas-AAL’)