Question on setting parameters

In the following lines, what does SliceOrder refer to? is it the order of slices from the first slice to the total number of slices? And what is the role of ReferenceSlice?

AutoDataProcessParameter.SliceTiming.SliceOrder=[1:2:239,2:2:240]; % REVISIT.... was [1:2:25,1:2:24]
AutoDataProcessParameter.SliceTiming.ReferenceSlice=25;

With thanks,

farras

 Hi Farras,

No I think you misunderstand what the "slice" means. It means how many pieces of slices that contains in a brain volume you collect from a MRI scanner at one time (within a single TR). Therefore, the order of slices is the way how, let's say, 33 slices scanned within a TR. Basically it should be interleaved, but not always the case. So if you get an fMRI dataset with 33 slices in a brain volume, this should be 1:2:33 2:2:32 if you got them in a interleaved manner. The reference slice is the slice you wanna other slices temporally registered to. It's suggested to be the one you got at the middle time point (slice #33 in this example).

Hope you get it.

Han