cd ~/fsl_course_data/fmricd avFeat &
Feat_gui & on Mac)
example_func in the .feat output directory) directly to
the standard space template. We recommend in general turning on the
Main structural image option so that the lowres FMRI image is
first registered to a brain-extracted highres structural image from
the same subject; this highres is then registered to the standard
space template, and then the two registrations are combined to give an
example_func2standard.mat transform which can be used later to
resample the FMRI stats into standard space. If, as here, the 4D data
only contains a few slices, then even before registration to the
highres image, it is a good idea to register example_func to a
whole-head EPI image which contains basically the same slices as the
4D data.
fslview
epiwholehead.nii.gzTools->Timeseries.
$FSLDIR/data/standard/MNI152_T1_2mm into FSLView
($FSLDIR is an environment variable indicating the
directory in which FSL is installed, you can type echo
$FSLDIR to see what this is set to). Inside FSLView you
can use the "File->Open Standard" menu option to find these standard
space images quickly.
MNI152_T1_2mm in
the image list (at the bottom) and then pressing File ->
Create Mask.
File -> Save As. Choose a filename, for
example, vismask.nii.gz in your
~/fsl_course_data/fmri/av directory. Press
OK to save.
cutoffcalc you can obtain estimates of a 'safe' high-pass filter cutoff value (in seconds) to be used in FEAT.
Feat GUI or the Glm GUI. Either one will save the design matrices and statistical model options. In this case we will try the Glm GUI. Open this GUI (type Glm). In the General Linear Model window create a simple design matrix, e.g. a 30s on/off blocked design. In the GLM Setup window set the number of timepoints to 45. Now view the design (press View design in the General Linear Model window).
cutoffcalc command on newdesign.mat with the following:
cutoffcalc -i newdesign.mat -t 0.9 --tr=3.0
The output is the High pass filter cutoff value (in seconds) that can be entered in the FEAT Data tab. Here we have set the TR explicitly to 3.0 seconds and the acceptable retained variance (of the filtered EV) to 90%. The retained variance value of 90% is rather lenient here due to the small number of timepoints, with values between 95% and 99% being used on more typical datasets.
Note that if you are interested in the effect of the HPF (highpass filter) then you can go back and forth, changing the HPF cutoff value and inspecting the difference this makes on the design matrix using the View design button.
Featquery &
Featquery_gui & on Mac)
Renderhighres
(on mac Renderhighres_gui) and select your FEAT output
directory. Select the Space to upsample to: standard option
and also select the Background image: main structural
option. When the processing has finished you can find the
hr/rendered_*.nii.gz pictures in the FEAT directory and
view them with fslview. Renderhighres takes a minute or
two to run, as the images get resampled into high resolution using
the "accurate", but slow, sinc interpolation method; whilst you are
waiting you should start a new terminal and move on to the next
section.
cd ~/fsl_course_data/fmri/art
Feat & Feat_gui & on Mac)
Basic shape to custom (3 column format); select the
filename as
jittered_isi_custom_file.dat. In the terminal have a quick look
at the custom file with the cat command. The 3 columns are explained
in the FEAT user guide.
custom (3 column format); select the
filename as rand_isi_custom_file.dat.
Done. Turn off registration (select the
Registration tab and deselect all registrations), press Go and
wait for exciting results! On the FEAT report page look at the time
series plots of data vs model.
This is the end of FEAT session 1. But don't forget to take a look at your Renderhighres results.