I'm trying to use the rest_bandpass function in your toolkit, but I can't get it to read my data. Specifically, I get the error message below. If I try to use the GUI, I get an error dialog saying "There is no data or non-data files in this directory".
I get the same message for different datatsets. I have made sure that only the volumes and not other files are in that directory. I can use the image files with no problems using other analysis packages.
Thanks for your help,
>> rest_bandpass('test', 1.420, .08, .01, 'No', 'Default')
Ideal rectangular filter: "test"Warning: There are too few time points.(i.e. The number of the time points is less than 10)
> In rest_to4d at 26
In rest_bandpass at 37
Read 3D EPI functional images: "test".??? Undefined function or variable "VoxelSize".
Error in ==> rest_to4d at 69
VoxelSize = VoxelSize';
Error in ==> rest_bandpass at 37
[AllVolume,vsize,theImgFileList, Header] =rest_to4d(ADataDir);