I am attempting to extract node names and node numbers from either an annotation file or from a volumetric atlas (I currently have both, so I’m open to whatever is easiest).
The resulting file should look something like the following:
{
"gordon333": {
"file": "gordon333MNI_lps_mni.nii.gz",
"node_names": [
"L_Default_1",
"L_SMhand_2",
"L_SMmouth_3",
],
"node_ids": [
1,
2,
3,
and so on.
I would like to extract this in json format to run through QSI prep.
Any help on this would be greatly appreciated!