graynet
graynet copied to clipboard
ENH: generic/arbitrary input format for VBM
It would be useful for users to offer a toolbox-independent format specify volumetric voxelwise probabilistic images. Two possible options are
- folder of folders with a fixed file name (
prob.nii
?) for image such as--input_dir /project/vbm --id_list idlist.txt
where/project/vbm
would contain a bunch of folders each referring to one of the subject IDs in theid_list
which must containprob.nii
- a single CSV file with two columns, the first being the subject ID and the second being full path to the corresponding image (no relation between ID and path enforced):
id1,/project/vbm/id1/somename.nii
random2,/project/vbm/notnecessarily_random2/someothername.nii
arbitrary3,/project/vbm/whateveruserchooses/filename.nii
Choose one and implement it.