In [#]: import mne In [#]: import eelbrain In [#]: mne.gui.kit2fiff() Load your marker measurements: Navigate to your assignment data directory. The necessary files are in /data/raw. In Source Marker 1 section, load the pre-test marker .sqd file in File field. In Source Marker 2 section, load the post-test marker .sqd file in File field. Click the central grey window and the markers should appear. You might need to click on or change the scale to see better. ‘Front’ Remember, if there are black portions in the GUI, try the troubleshooting tips mentioned in part A. 3. Load your subject data and digitization in the Sources section: (Note:“Subject” stands for your subject’s ID, stands for your study’s experiment “experiment” name. Your files will be named according to this system; the commands below are just an example) In Data field, load subject_experiment.sqd, the experiment file. In Dig Head Shape field, load subject_experiment.hsp, the head shape file. In in Dig Points field, load subject_experiment.elp, the electrode placement file. 4. Under the dark grey box, click Front so that the head shape appears. Click Right and Left to see that the head moves in the correct direction. What do you notice about this data? 5. Search for your trials in the Events section and save the file. The triggers for this data are 163 (low frequency tones) and 164 (high frequency tones). Enter your two triggers, separated by a comma, and click Events”. Save your transformed .sqd “Find file as a .fif file with a different name, and make sure to use this file in the following steps. Coregistration adapted from Phoebe Gaston’s Eelbrain Guide – Reference Phoebe’s guide if you want to explore source localization in greater detail. Now you will coregister the MEG data with the subject’s structural MRI data to use for source localization later. In the future, if you do not have MRI data for your subject, you can use the average brain. For this assignment, the subject’s MRI data is available to you, in the /mri/ directory. 7. Open the coregistration GUI in ipython: In [#]: mne.gui.coregistration()
In [#]: import mne In [#]: import eelbrain In [#]: mne.gui.kit2fiff() Load your marker measurements: Navigate to your assignment data directory. The necessary files are in /data/raw. In Source Marker 1 section, load the pre-test marker .sqd file in File field. In Source Marker 2 section, load the post-test marker .sqd file in File field. Click the central grey window and the markers should appear. You might need to click on ‘Front’ or change the scale to see better. Remember, if there are black portions in the GUI, try the troubleshooting tips mentioned in part A. 3. Load your subject data and digitization in the Sources section: (Note:“Subject” stands for your subject’s ID, “experiment” stands for your study’s experiment name. Your files will be named according to this system; the commands below are just an example) In Data field, load subject_experiment.sqd, the experiment file. In Dig Head Shape field, load subject_experiment.hsp, the head shape file. In in Dig Points field, load subject_experiment.elp, the electrode placement file. 4. Under the dark grey box, click Front so that the head shape appears. Click Right and Left to see that the head moves in the correct direction. What do you notice about this data? 5. Search for your trials in the Events section and save the file. The triggers for this data are 163 (low frequency tones) and 164 (high frequency tones). Enter your two triggers, separated by a comma, and click “Find Events”. Save your transformed .sqd file as a .fif file with a different name, and make sure to use this file in the following steps. Coregistration – adapted from Phoebe Gaston’s Eelbrain Guide Reference Phoebe’s guide if you want to explore source localization in greater detail. Now you will coregister the MEG data with the subject’s structural MRI data to use for source localization later. In the future, if you do not have MRI data for your subject, you can use the average brain. For this assignment, the subject’s MRI data is available to you, in the /mri/ directory. 7. Open the coregistration GUI in ipython: In [#]: mne.gui.coregistration()
NACS_revised_MEG_Lab_030817.docx