fmriquality
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
fmriquality [2010/06/17 15:15] – added final comment about thresholds being fixed for now jochen | fmriquality [2010/10/26 19:23] – jochen | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Motivation ===== | ===== Motivation ===== | ||
- | There are several things that can go wrong during | + | As said on the [[Processing stream - quality assessment|quality assessment]] page, this function is used to determine whether or not a given dataset (run) is suitable |
- | + | ||
- | Relevant | + | |
- | * the subject had to exit the scanner before the experiment was completed -> usually such a dataset needs to be discarded | + | |
- | * the subject couldn' | + | |
- | * the scanner produced disproportionally strong noise in the data -> if possible, such a dataset should also be discarded | + | |
- | + | ||
- | Of course there are still many other possible reasons to discard any given subject (e.g. a score on a questionnaire/ | + | |
- | + | ||
- | This function, '' | + | |
===== Requirements ===== | ===== Requirements ===== | ||
- | To run the fMRI quality checking function, the images need to be in one of the functional imaging data formats currently supported by the xff class (Analyze/NIftI, FMR/STC, VTC). | + | To run the fMRI quality checking function, the images need to be in one of the functional imaging data formats currently supported by the xff class: |
+ | * BrainVoyager' | ||
+ | * BrainVoyager' | ||
+ | * SPM' | ||
===== Function reference ('help fmriquality' | ===== Function reference ('help fmriquality' | ||
Line 47: | Line 41: | ||
===== Usage ===== | ===== Usage ===== | ||
The most basic (and pre-configured) way of running fmriquality is by simply passing in the filename(s) or object of the run to check: | The most basic (and pre-configured) way of running fmriquality is by simply passing in the filename(s) or object of the run to check: | ||
- | * using Analyze files: <code matlab fmriquality_example1.m> | + | * using Analyze files: <code matlab fmriquality_example1.m> |
* using a BrainVoyager QX FMR file: <code matlab fmriquality_example2.m> | * using a BrainVoyager QX FMR file: <code matlab fmriquality_example2.m> | ||
qas = fmriquality(fmr);</ | qas = fmriquality(fmr);</ | ||
Line 62: | Line 56: | ||
% running fmriquality | % running fmriquality | ||
fmriquality(qafiles, | fmriquality(qafiles, | ||
+ | * create a quality assessment struct for all VTCs in an MDM, applying robust temporal filtering: <code matlab fmriquality_example4.m> | ||
+ | for study = 1: | ||
+ | | ||
+ | % perform quality assessment | ||
+ | q = fmriquality(mdm.XTC_RTC{study, | ||
+ | | ||
+ | % store as VTCNAME_qasheet.mat | ||
+ | save([mdm.XTC_RTC{study, | ||
+ | end</ | ||
+ | |||
+ | In case the QA sheet is not shown by the function (flag '' | ||
+ | |||
+ | <code matlab fmriqasheet_example.m> | ||
+ | load CPU4212_run3_qasheet.mat | ||
+ | |||
+ | % open QA sheet | ||
+ | fmriqasheet(q);</ | ||
+ | |||
If the '' | If the '' | ||
Line 77: | Line 89: | ||
Please be aware that the first argument **must** be a list of filenames; so, even for a single NIftI ([[xff - NII format|NII]]) file, a cell array must be passed in: | Please be aware that the first argument **must** be a list of filenames; so, even for a single NIftI ([[xff - NII format|NII]]) file, a cell array must be passed in: | ||
- | <code matlab | + | <code matlab |
qas = fmriquality({' | qas = fmriquality({' | ||
fmriquality.txt · Last modified: 2010/11/26 18:50 by jochen