Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
workshop:meg-uk-2015:spm_source [2018/10/21 15:10]
42.49.180.224 [SPM Source reconstruction demo]
workshop:meg-uk-2015:spm_source [2017/08/17 11:21] (current)
127.0.0.1 external edit
Line 85: Line 85:
   - In batch_localise_inv.m replace nrun = X; with nrun = 1 and save the file. We could now run this Matlab script with the same results as if we had pressed the green “Run” button in the Batch Editor.   - In batch_localise_inv.m replace nrun = X; with nrun = 1 and save the file. We could now run this Matlab script with the same results as if we had pressed the green “Run” button in the Batch Editor.
   - To make things a bit more interesting,​ we go back to the batch and right-click on the M/EEG datasets field of the first source inversion module and select “Clear Value”. Do the same for “Time window of interest” and save batch and script under ‘batch_localise_inv_subj.m’.   - To make things a bit more interesting,​ we go back to the batch and right-click on the M/EEG datasets field of the first source inversion module and select “Clear Value”. Do the same for “Time window of interest” and save batch and script under ‘batch_localise_inv_subj.m’.
-  - In the Matlab command window, type ’open batch_localise_inv_subj_job.m’. The cleared values have been replaced by ’&lt;UNDEFINED&gt;’. We will provide these undefined values via the Matlab script.+  - In the Matlab command window, type ’open batch_localise_inv_subj_job.m’. The cleared values have been replaced by ’<UNDEFINED>’. We will provide these undefined values via the Matlab script.
   - In batch_localise_inv_subj.m replace nrun = X; with nrun = 1 and as inputs specify “{’PapMcbdspmeeg_run_01_sss.mat’}” and [-100 800].   - In batch_localise_inv_subj.m replace nrun = X; with nrun = 1 and as inputs specify “{’PapMcbdspmeeg_run_01_sss.mat’}” and [-100 800].
   - Finally, save and run the batch_localise_inv_subj.m script.   - Finally, save and run the batch_localise_inv_subj.m script.
Line 99: Line 99:
   - Press the “previous” button to select the previous inversion, which here corresponds to the MSP inversion. Press the “mip” button again. You can change the time of interest or the vertex by entering new values into the window below the “mip” button.   - Press the “previous” button to select the previous inversion, which here corresponds to the MSP inversion. Press the “mip” button again. You can change the time of interest or the vertex by entering new values into the window below the “mip” button.
   - Compare the model evidences and the percentage explained of the data variance of the MNM and the MSP solution. Which model explains the data better?   - Compare the model evidences and the percentage explained of the data variance of the MNM and the MSP solution. Which model explains the data better?
-  - Again, press &quot;display&​quot; ​beneath the &quot;Window&​quot; ​button and you should see results that are sparser and deeper inside the brain.+  - Again, press "display" ​beneath the "Window" ​button and you should see results that are sparser and deeper inside the brain.
   - You can further explore your inverse solutions by pressing the ”Render” button of the “3D Source Reconstruction” window. For example, you can play a movie of the source activity over time, look at the time courses of virtual electrodes (just first click on ‘virtual electrodes’ and then on the area of the cortical surface you are interested in) or compare the observed and predicted sensor signals at different time points. You can toggle between models (MSP and MMN) and the conditions (1-Famous, 2-Unfamilar,​ 3 Scrambled) by pressing the buttons at the top of the render window.   - You can further explore your inverse solutions by pressing the ”Render” button of the “3D Source Reconstruction” window. For example, you can play a movie of the source activity over time, look at the time courses of virtual electrodes (just first click on ‘virtual electrodes’ and then on the area of the cortical surface you are interested in) or compare the observed and predicted sensor signals at different time points. You can toggle between models (MSP and MMN) and the conditions (1-Famous, 2-Unfamilar,​ 3 Scrambled) by pressing the buttons at the top of the render window.