Hi,
I ran fslfirst on a group of participants and now I'm trying to get volumes of a specific subcortical structure in a batch.
I tried (example for L thalamus):
for n in *; do fslstats ${n} -l 9.5 -u 10.5 -V; done
for n in *; do fslstats *t1_all_fast_firstseg.nii.gz -l 9.5 -u 10.5 -V; done
And some variations on these, but I cannot get it to work. This is probably a basic scripting question, but i will be grateful for any help.
All ran within the directory of the analysis.
Files are named: *t1_all_fast_firstseg.nii.gz
Thanks,
Sharon
|