bids_atlas.utils.generate_json_sidecar_file¶
- bids_atlas.utils.generate_json_sidecar_file(atlas_name, filename, version=None)[source]¶
Create .json file for the obtained atlas.
- Parameters:
- 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/AAL/atlas-AAL_res-2_dseg.nii.gz’)