CbuSliceTiming - MRC CBU Imaging Wiki

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Type the odd characters out in each group: abz2a 125t7 HhHaHh year.s 5433r21 worl3d

Revision 1 as of 2007-05-16 21:42:45

location: CbuSliceTiming

Cbu slice timing routines

This is just a modified version of the spm slice timing routines that allows you to use other methods of interpolation for slice timing - see SliceTiming.

The routine is mb_5_slice_timing.m. You could use it like this:

P = spm_select;
nslices = 16; % number of slices
sliceorder = [1:2:nslices 2:2:nslices];
refslice = 1; % slice for timing reference
slicetime = 0.115; % time to acquire one slice
TR = 2.02726;
timings = [slicetime slicetime+(TR-slicetime*16)];
mb_5_slice_timing(P, sliceorder, refslice, timings);

Which would reproduce the standard SPM sinc slice timing.

For linear slice timing - do all the same up to:

mb_5_slice_timing(P, sliceorder, refslice, timings, 'linear', 'la');

This will generate linear slice timing files with an la prefix. You should delete the first, and probably the last volume in the series for liner slice timing, as it will have been interpolated with missing data.

MatthewBrett