Hi,
I'm piggybacking on this message as I'm trying to use exactly spm_get_data to extract gPPI estimates from individual subject con image files at specific peak coordinates (generated from 1st-level gPPI). I scripted something similar to Daehyun's code, but I am also getting zero values. However, when I include the call to spm_read_vols
V=spm_read_vols(Vhdr);
and pass V and specific coordinates to spm_get_data, spm_get_data tries to read V like a structure of file handles (and hence I get an error). Where am I going wrong?
Thanks in advance for any pointers!
g
|