<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.neuro.mcw.edu/meg/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colin</id>
	<title>MEG Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.neuro.mcw.edu/meg/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colin"/>
	<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Special:Contributions/Colin"/>
	<updated>2026-05-18T06:04:15Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Bstorm_montage_editor2.png&amp;diff=50</id>
		<title>File:Bstorm montage editor2.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Bstorm_montage_editor2.png&amp;diff=50"/>
		<updated>2019-05-24T20:53:23Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Bstorm_montage_editor1.png&amp;diff=49</id>
		<title>File:Bstorm montage editor1.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Bstorm_montage_editor1.png&amp;diff=49"/>
		<updated>2019-05-24T20:52:53Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=EEG_re-reference_with_Brainstorm&amp;diff=48</id>
		<title>EEG re-reference with Brainstorm</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=EEG_re-reference_with_Brainstorm&amp;diff=48"/>
		<updated>2019-05-24T20:51:54Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;This tutorial explains how to re-reference electrode channels (EEG, EOG, ECG) using Brainstorm. We will focus on the case in which EOG or ECG was recorded using unipolar elect...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This tutorial explains how to re-reference electrode channels (EEG, EOG, ECG) using Brainstorm. We will focus on the case in which EOG or ECG was recorded using unipolar electrodes instead of bipolar electrodes.&lt;br /&gt;
&lt;br /&gt;
==Background==&lt;br /&gt;
EEG is used to measure changes in voltage, which is the difference in electric potential energy between two points in space. For this reason, a single channel of EEG requires two electrodes. The recorded signal is the difference in electric potential between the two electrodes. &lt;br /&gt;
&lt;br /&gt;
In modern EEG, two types of electrode recording configurations are commonly used: ''unipolar'' and ''bipolar''. &lt;br /&gt;
* In a bipolar configuration, two electrodes are placed on the head, and the resulting signal is the difference between those two electrodes.&lt;br /&gt;
* In a unipolar configuration, multiple (more than 3) electrodes are placed on the head, and one of those electrodes serves as a ''reference'' for all the others. The recorded signals are then the difference between the remaining electrodes and the reference electrode.&lt;br /&gt;
&lt;br /&gt;
EOG and ECG are commonly recorded using bipolar electrodes, and scalp EEG is commonly recorded using unipolar electrodes.&lt;br /&gt;
&lt;br /&gt;
It is important to note that configuration of how the channels are referenced (commonly called a ''montage'') can be easily changed by subtracting pairs of electrodes from each other. For example, let's say that three electrodes are used at positions F3, F4, M1. In the recording, M1 is used as the reference. This means that the recordings at electrodes F3 and F4 will be the difference in potential between each electrode and M1.&lt;br /&gt;
&lt;br /&gt;
* Channel 1: F3-M1&lt;br /&gt;
* Channel 2: F4-M1 &lt;br /&gt;
&lt;br /&gt;
If we want to change the reference to F4, then we can subtract the second channel from the first and multiply the second channel by -1.&lt;br /&gt;
&lt;br /&gt;
* New Channel 1: (F3-M1) - (F4-M1)&lt;br /&gt;
* New Channel 2: -1*(F4-M1)&lt;br /&gt;
&lt;br /&gt;
This reduces to:&lt;br /&gt;
&lt;br /&gt;
* New Channel 1: F3-F4&lt;br /&gt;
* New Channel 2: M1-F4&lt;br /&gt;
&lt;br /&gt;
Unipolar electrodes can also be changed to bipolar by simply subtracting the two electrodes from each other. However, bipolar electrodes cannot commonly be changed to unipolar.&lt;br /&gt;
&lt;br /&gt;
==Re-referencing using Brainstorm==&lt;br /&gt;
Brainstorm allows you to change to a new montage either in the display, during artifact detection, or permanently. An in-depth description of this can be found on the [http://neuroimage.usc.edu/brainstorm/Tutorials/MontageEditor Montage Editor Page].&lt;br /&gt;
&lt;br /&gt;
In the following tutorial, I will focus on the specific case in which the EOG and ECG electrodes were recorded using the unipolar electrode slots instead of the bipolar electrode slots. This requires first changing the montage in the display to check whether everything looks okay and second changing the montage in the artifact detection window. Note that Brainstorm also lets you permanently save the new channels, but this is probably not necessary unless the EOG and ECG are being used for something besides artifact detection.&lt;br /&gt;
&lt;br /&gt;
I will assume that HEOG are recorded on channels EEG001 and EEG002, VEOG are recorded on channels EEG003 and EEG004, and ECG are recorded on EEG005 and EEG006. Substitute different channel numbers if your configuration was different.&lt;br /&gt;
&lt;br /&gt;
===Changing montage in the display===&lt;br /&gt;
&lt;br /&gt;
* After reading in your raw data file, right click on ''Link to raw file'' and choose ''EEG'' -&amp;gt; ''Display time series''.&lt;br /&gt;
* Under the ''Record'' tab choose ''All'' -&amp;gt; 'Edit montages'. Or right click in the EEG display window and choose ''Montage'' -&amp;gt; ''Edit montages''. This brings up the ''Montage editor''.&lt;br /&gt;
* Click on the wavy lines under Montages and choose ''New custom montage''. Provide a name for the new montage (e.g., Bipolar EOG and ECG).&lt;br /&gt;
* Enter your new montage in the Custom montage box.&lt;br /&gt;
[[File:Bstorm_montage_editor1.png|border]]&lt;br /&gt;
* Choose ''Save''.&lt;br /&gt;
* The new montage should be displayed in the window and available under the Montage selections.&lt;br /&gt;
&lt;br /&gt;
===Changing montage during artifact detection===&lt;br /&gt;
The montage syntax can be used when selecting the channel to use during artifact detection. For example...&lt;br /&gt;
* Choose ''Artifacts'' -&amp;gt; ''Detect heartbeats''.&lt;br /&gt;
* Under ''Channel name'' type in: EEG005,-EEG006&lt;br /&gt;
[[File:Bstorm_montage_editor2.png|border]]&lt;br /&gt;
* Brainstorm will use this montage when detecting the cardiac artifacts.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Maxfilter.png&amp;diff=47</id>
		<title>File:Maxfilter.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Maxfilter.png&amp;diff=47"/>
		<updated>2019-05-24T20:49:40Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Pre-Processing&amp;diff=46</id>
		<title>Pre-Processing</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Pre-Processing&amp;diff=46"/>
		<updated>2019-05-24T20:49:05Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==Maxfilter== Signal Space Separation (SSS) is a method that utilizes the fundamental properties of electromagnetic fields and harmonic function expansions in separating the m...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Maxfilter==&lt;br /&gt;
Signal Space Separation (SSS) is a method that utilizes the fundamental&lt;br /&gt;
properties of electromagnetic fields and harmonic function expansions in&lt;br /&gt;
separating the measured MEG data into three components:&lt;br /&gt;
&lt;br /&gt;
 b'in': The brain signals originating inside of the sensor array (space S'in').&lt;br /&gt;
&lt;br /&gt;
 b'out': External disturbances arising outside of the sensor array (space S'out').&lt;br /&gt;
&lt;br /&gt;
 n: Noise and artifacts generated by the sensors and sources of interference located very close to the sensors (space S'T').&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[File:Maxfilter.png|600px]]&lt;br /&gt;
===SSS===&lt;br /&gt;
The basic Maxwell filtering operation can be regarded as spatial filtering,&lt;br /&gt;
because separation of b'in' and b'out' is done on the basis of the spatial patterns&lt;br /&gt;
and is independent of time. Spatial separation can suppress only&lt;br /&gt;
external interference emanating from space S'out', such as electromagnetic&lt;br /&gt;
pollution due to power lines, radio communication, traffic, elevators etc.&lt;br /&gt;
External interference can also arise in the patient. For instance, normal&lt;br /&gt;
cardiac and muscular activation cause fields detectable by MEG sensors,&lt;br /&gt;
and any pieces of magnetized material in/on the body may cause very&lt;br /&gt;
large disturbances.&lt;br /&gt;
&lt;br /&gt;
===tSSS===&lt;br /&gt;
Identification and suppression of the S'T'-space components require additional&lt;br /&gt;
knowledge of the temporal dynamics. The temporal extension of&lt;br /&gt;
the SSS method (tSSS) significantly widens the software shielding capability&lt;br /&gt;
of MaxFilter, because tSSS can suppress also internal interference&lt;br /&gt;
that arises in the S'T'-space or very close to it. Such disturbances can be&lt;br /&gt;
caused, for example, by magnetized pieces in/on the subject's head (such&lt;br /&gt;
as dental work, braces, or magnetized left-overs in burr-holes), or by pacemakers&lt;br /&gt;
or stimulators attached to the patient.&lt;br /&gt;
&lt;br /&gt;
Reference: [http://imaging.mrc-cbu.cam.ac.uk/meg/Maxfilter_V2.2?action=AttachFile&amp;amp;do=get&amp;amp;target=Maxfilter_Manual_v2pt2.pdf  MaxFilter Manual]&lt;br /&gt;
&lt;br /&gt;
==SSP==&lt;br /&gt;
&lt;br /&gt;
EOG Type : 202 ac1.info.chs.kind - Eye Blink&lt;br /&gt;
&amp;lt;br&amp;gt;ECG Type : 402 ac1.info.chs.kind - Heart Beat&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:MEGPortDuration.jpeg&amp;diff=45</id>
		<title>File:MEGPortDuration.jpeg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:MEGPortDuration.jpeg&amp;diff=45"/>
		<updated>2019-05-24T20:47:40Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:SendMEGTrigger.jpeg&amp;diff=44</id>
		<title>File:SendMEGTrigger.jpeg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:SendMEGTrigger.jpeg&amp;diff=44"/>
		<updated>2019-05-24T20:46:29Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:ResetMEGTrigger.jpeg&amp;diff=43</id>
		<title>File:ResetMEGTrigger.jpeg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:ResetMEGTrigger.jpeg&amp;diff=43"/>
		<updated>2019-05-24T20:45:16Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:AddPort.jpeg&amp;diff=42</id>
		<title>File:AddPort.jpeg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:AddPort.jpeg&amp;diff=42"/>
		<updated>2019-05-24T20:44:14Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=EPrime&amp;diff=41</id>
		<title>EPrime</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=EPrime&amp;diff=41"/>
		<updated>2019-05-24T20:43:36Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==Using E-Prime==  Using E-Prime on one of the machines in the Lab can be tricky. When you are designing your experiment, you will probably have to check to see if the compute...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Using E-Prime==&lt;br /&gt;
&lt;br /&gt;
Using E-Prime on one of the machines in the Lab can be tricky. When you are designing your experiment, you will probably have to check to see if the computer you are using for Stimuli presentation is running the same E-Prime version that you are testing/building your experiment in. &lt;br /&gt;
===MEG Machine===&lt;br /&gt;
The MEG presentation computer has the E-Prime version 1 installed. When you are building your experiment in the Lab area, you can contact Travis Williams to setup the Virtual Machine(VirtualBox) to link to the WindowsXP machine on your work station. You can then create, test and edit your experiment at your own office space!  It is very convenient.&lt;br /&gt;
&lt;br /&gt;
==Designing your experiment==&lt;br /&gt;
&lt;br /&gt;
===Reference Guide=== &lt;br /&gt;
There are some E-Prime Reference guides in the Lab. Contact [[Contacts|Candida Jane Maria Ustine]] if you would like to have a look at them. They are very useful if you are new to E-Prime. Trust me!! &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Common Problems and Solutions==&lt;br /&gt;
&lt;br /&gt;
There is an online web support page for common problems and their solutions. Please follow the link [http://www.pstnet.com/support/kb.asp?TopicID=3000 HERE]&lt;br /&gt;
&lt;br /&gt;
Some additional problems that can be encountered are listed below with instructions on how to solve them. &lt;br /&gt;
&lt;br /&gt;
'''1) It says, &amp;quot;sound device is set not to open&amp;quot;'''&lt;br /&gt;
&lt;br /&gt;
*Double-click on the Experiment Object Icon in the Structure Window and a properties window should pop up&lt;br /&gt;
*Then click on the Devices tab near the top&lt;br /&gt;
*There should be a Sound Option - Make sure that it is checked (If it is not there, select Add and add the Sound Device).&lt;br /&gt;
*Now, click on the Sound Option to highlight it and click Edit (option at the bottom of the screen)&lt;br /&gt;
*An &amp;quot;Edit SoundDeviceObject Properties&amp;quot; Window should now pop up...make sure the following values are there:&lt;br /&gt;
*Channels: 2&lt;br /&gt;
*Samples: 44100&lt;br /&gt;
*Bits Per Sample: 16&lt;br /&gt;
&lt;br /&gt;
NOTE: Check your wave file to see if you can generate a specific tone with a desired frequency. See [[Scripts|Stimuli Presentation Scripts]] for the generate_tones.m script that can create mono tones with the desired sampling frequency.&lt;br /&gt;
&lt;br /&gt;
==Triggering in E-Prime==&lt;br /&gt;
When using Eprime to present your stimuli in the MEG you will have to do the following:&lt;br /&gt;
&amp;lt;br&amp;gt;1) Add the Port to the Experiment Devices&lt;br /&gt;
&amp;lt;br&amp;gt;2) Insert specific Inline object codes telling the script when to send triggers to the Machine. &lt;br /&gt;
&lt;br /&gt;
===PST WIKI PAGE===&lt;br /&gt;
Read [http://www.pstnet.com/support/kb.asp?TopicID=1318 here] about the '''three ways to send triggers''' to the MEG. &lt;br /&gt;
&lt;br /&gt;
===STEP1: Add Port Device===&lt;br /&gt;
*Go to Edit --&amp;gt; Experiment --&amp;gt; Devices Tab&lt;br /&gt;
*Click on the Add device button and select Port device. &lt;br /&gt;
*Select the Port device you have added and click on the Edit button&lt;br /&gt;
[[File:AddPort.jpeg]]&lt;br /&gt;
*Choose the settings you see in the picture above. &lt;br /&gt;
**Collection Mode: Presses Only&lt;br /&gt;
**Address: &amp;amp;H379&lt;br /&gt;
**Size: 8&lt;br /&gt;
**Invert: No&lt;br /&gt;
**Mask: -1&lt;br /&gt;
**Emulate Device: None (Unless you are testing this on your computer then choose keyboard or Mouse)&lt;br /&gt;
&lt;br /&gt;
===STEP2: InLine Code===&lt;br /&gt;
This set of script lines are inserted wherever you would like to send triggers to the MEG machine. &lt;br /&gt;
====Initialising MEG communication====&lt;br /&gt;
Before you start sending triggers to the machine ie., before you start the actual experiment you will have to initialise the MEG communication. &lt;br /&gt;
[[File:ResetMEGTrigger.jpeg]]&lt;br /&gt;
&lt;br /&gt;
Insert a similar code to the beginning of your experiment. The WritePort command will send the port address the value of 0, in other words resets the port. &lt;br /&gt;
&lt;br /&gt;
====Sending MEG Triggers====&lt;br /&gt;
This is the part when you send the MEG triggers to the MEG machine when an event happens. For example: Stimulus Onset or Key Response.&lt;br /&gt;
[[File:SendMEGTrigger.jpeg|Sending MEG Triggers]]&lt;br /&gt;
&lt;br /&gt;
Note that in this experiment the triggers that the Experiment must send the MEG machine is coded along with the trials. And so they are easily referenced in the in line code. &lt;br /&gt;
&lt;br /&gt;
====Encoding Responses====&lt;br /&gt;
When you have a task that requires the subject to press a button in the MEG then you will have to edit the properties of the Stimulus object so that the exact triggers are sent to the MEG system when the subject presses a button. You will also have to edit the Properties of your Stimulus object and add the Port as a device of response. You will also have to include another column in your trial list specifying the correct answers codes for the response pads in the MEG system. &lt;br /&gt;
[[File:MEGPortDuration.jpeg]]&lt;br /&gt;
&lt;br /&gt;
You can have E-Prime code the button presses with an additional trigger which also gets stamped into the MEG output file. In this case, you will ne alerting E-Prime that you’d like all button presses to be referenced as a specific trigger number. Look at the Properties window for SoundOut1. Here you can let E-Prime know that it should look for responses from the Port device, and that the responses it should be looking for are numbered 7 and 8 (see ‘Allowable’). 7 is the left button and 8 is the right button. &lt;br /&gt;
&amp;lt;br&amp;gt;Your triggers from the response will always be 7 and 8 because these are the channels used for button responses by the MEG Trigger Box.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====Encoding Responses: Inline code=====&lt;br /&gt;
If you would like to send a trigger when the subject has pressed a button then you can use the following inline object script. &lt;br /&gt;
 Syntax: WritePort address value &lt;br /&gt;
 Example: WritePort &amp;amp;H378,SoundOut1.RESP&lt;br /&gt;
&lt;br /&gt;
==Links to more Info on Triggers and Ports==&lt;br /&gt;
See [http://www.pstnet.com/eprimelegFAQ.cfm#12 Pstnet FAQ] page for more information.&lt;br /&gt;
&lt;br /&gt;
See [http://www.pstnet.com/support/kb.asp?TopicID=1318 Pstnet Parallel Port Info] for information on parallel port i/o.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:StimToMSR.jpg&amp;diff=40</id>
		<title>File:StimToMSR.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:StimToMSR.jpg&amp;diff=40"/>
		<updated>2019-05-24T20:41:46Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:TriggerCabinet.jpg&amp;diff=39</id>
		<title>File:TriggerCabinet.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:TriggerCabinet.jpg&amp;diff=39"/>
		<updated>2019-05-24T20:40:42Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:TriggerBox.jpg&amp;diff=38</id>
		<title>File:TriggerBox.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:TriggerBox.jpg&amp;diff=38"/>
		<updated>2019-05-24T20:40:05Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:MEG-headphones.jpg&amp;diff=37</id>
		<title>File:MEG-headphones.jpg</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:MEG-headphones.jpg&amp;diff=37"/>
		<updated>2019-05-24T20:39:23Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:ProjectorMainPanel.JPG&amp;diff=36</id>
		<title>File:ProjectorMainPanel.JPG</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:ProjectorMainPanel.JPG&amp;diff=36"/>
		<updated>2019-05-24T20:38:43Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:SubjectInScanner_Task.JPG&amp;diff=35</id>
		<title>File:SubjectInScanner Task.JPG</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:SubjectInScanner_Task.JPG&amp;diff=35"/>
		<updated>2019-05-24T20:37:47Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:MEGRoom1.JPG&amp;diff=34</id>
		<title>File:MEGRoom1.JPG</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:MEGRoom1.JPG&amp;diff=34"/>
		<updated>2019-05-24T20:36:49Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Designing_your_Experiment&amp;diff=33</id>
		<title>Designing your Experiment</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Designing_your_Experiment&amp;diff=33"/>
		<updated>2019-05-24T20:36:23Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;Please read this wiki page if you would like to run an MEG experiment at MCW. Here you will find information about the various stimulus presentation software available and inf...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Please read this wiki page if you would like to run an MEG experiment at MCW. Here you will find information about the various stimulus presentation software available and information on setting up triggers for your experiment. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=MEG Lab Components=&lt;br /&gt;
#Stimulus presentation computer: Windows XP 2002. &lt;br /&gt;
#Analysis Computer: Windows 7 &lt;br /&gt;
#MEG Neuromag Vectorview Acquisition System &lt;br /&gt;
#Optical response pad (Elekta Finger pad) &lt;br /&gt;
#Stimulus Trigger BNC Interface Units&lt;br /&gt;
#Polhemus Head Digitisation Unit&lt;br /&gt;
&lt;br /&gt;
[[File:MEGRoom1.JPG| 650px]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Scripting your Experiment=&lt;br /&gt;
&lt;br /&gt;
Your study experiment can be programmed using Presentation, Matlab, [[EPrime]] or [[Psychopy]]. Eprime, Matlab scripts can be written and executed using the Stimulus presentation computer kept at the MEG facility. Please call ahead, if you would like to schedule a time to use the stim computer to program your experiment. &lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
#'''Matlab''' R2007b Version 7.5&lt;br /&gt;
# [http://www.pstnet.com/eprime.cfm '''Eprime'''] EStudio Version 1 See [[EPrime]] for more information. &lt;br /&gt;
# Eprime 2 - Standard Version &lt;br /&gt;
# [http://compumedicsneuroscan.com/stim2-stim%C2%ADu%C2%ADlus-presen%C2%ADta%C2%ADtion-and-exper%C2%ADi%C2%ADmen%C2%ADtal-design-system/ '''Stim2'''] from Neuroscan &lt;br /&gt;
#Presentation 11.3 (Please check with staff before programming)&lt;br /&gt;
#[[Psychopy]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Stimulus Presentation==&lt;br /&gt;
&lt;br /&gt;
There are different ways of presenting the stimuli to your subjects, we will elaborate the systems we have at the facility here. &lt;br /&gt;
&lt;br /&gt;
[[File:SubjectInScanner_Task.JPG|450px]]&lt;br /&gt;
&lt;br /&gt;
===Visual===&lt;br /&gt;
=====Projector and Screen=====&lt;br /&gt;
Visual stimuli are projected on to the screen inside the MSR using a Panasonic DLP Projector Model PT-D7700UK [http://www.projectorcentral.com/pdf/projector_manual_3149.pdf Manual] projector that is housed outside the MSR inside the Helium tank room. The signal is projecting though a periscope into the MSR onto a back-projection screen that is placed in front of the chair. The optimal positions for the screen is marked by tape on the floor for correct focus. Please make sure to place the screen at these locations before your experiment and be sure to move it towards the wall after your finish. There is a small note on the screen showing which side should face the subject.&lt;br /&gt;
&lt;br /&gt;
=====Delays=====&lt;br /&gt;
Photodiode test: &lt;br /&gt;
&amp;lt;br&amp;gt;Using a light diode we measured a jitter of about 35.9 ± 0.4 ms between the trigger codes sent from the stimulus PC to the MEG acquisition computer and the visual output in the projector screen inside the MSR that the subject sees. These results were acquired for a specific setting and therefore the researchers are encouraged to conduct their own personalized tests. They are advised to simulate the same settings as their experiment and collect the data. The photodiode and related equipment to conduct the test will be provided.&lt;br /&gt;
&lt;br /&gt;
=====Instructions for Projector=====&lt;br /&gt;
#Turn on the projector by using the switch on the left side of the projector and press the ON button in the main panel. &lt;br /&gt;
#Wait for a few seconds for the red light to turn Green. &lt;br /&gt;
&lt;br /&gt;
======Adjustments======&lt;br /&gt;
*If the focusing, zooming or positioning of the image projected on the screen is not successful, even though the projector is properly positioned against the screen, you can adjust the focus, the zoom, or the vertical or horizontal position of the image.&lt;br /&gt;
*Click on the LENS button on the main panel or in the remote control and use the navigation buttons to adjust the focus, zoom and shift aspects.&lt;br /&gt;
&lt;br /&gt;
[[File:ProjectorMainPanel.JPG|350px | Projector Main Panel]]&lt;br /&gt;
&lt;br /&gt;
===Auditory===&lt;br /&gt;
For delivering auditory input to the subjects in the MSR, we use a pair of MEG compatible Tubal Insert head Phones (TIP 300 - Nicolet). The use of Nicolet TlPs maximizes interaural stimulus isolation, prevents ear canal collapse, and reduces stimulus artifact. TlPs are easy-to-use, lightweight, durable and comfortable for the patient. &lt;br /&gt;
&lt;br /&gt;
Use a new set of foam ear-tips for every subject. Attach the yellow foam tip to the tubes and hand it over to the subject. After use, throw away the yellow foam ear-tips, but make sure you do not dispose off the white plastic piece attached to the end of the tubes.&lt;br /&gt;
&lt;br /&gt;
[[File:MEG-headphones.jpg|350px]]&lt;br /&gt;
&lt;br /&gt;
=Triggers=&lt;br /&gt;
During an MEG scan, stimuli from the presentation computer are presented to the subject seated inside the MSR (Magnetically Shielded Room) and the MEG signal is recorded on the acquisition computer simultaneously. As the stimuli are presented to the subject, a trigger pulse (digital pulse) is recorded along with the MEG signal in a separate channel and serves as a temporal marker. This is the STIM channel that contains information about the events/triggers such as start of the event, duration of the event and the event ID. These triggers are useful for time locking analysis of your MEG data such as evoked analysis etc.,&lt;br /&gt;
&lt;br /&gt;
===Stimulus Trigger Interface===&lt;br /&gt;
&lt;br /&gt;
'''STI102'''&lt;br /&gt;
&lt;br /&gt;
[[File:TriggerBox.jpg|450px]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
'''STI101 Inside the Triggers/Electronics Cabinet'''&lt;br /&gt;
&lt;br /&gt;
[[File:TriggerCabinet.jpg|450px]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The digital triggers are sent from the stimulus computer through the parallel port to the Trigger Box - STI102 (Shown above) that is placed on the Stimulus presentation table. Any visual stimulus input from the Presentation computer is directly sent to the MSR via a relay device shown below.&lt;br /&gt;
&lt;br /&gt;
[[File:StimToMSR.jpg|350px]]&lt;br /&gt;
&lt;br /&gt;
The triggers sent by the computer are sent to STI102 that are directly fed to the Neuromag MEG Acquisition computer to be recorded along with the MEG signal collected from the subject seated inside the MSR.&lt;br /&gt;
&lt;br /&gt;
===Response Triggers===&lt;br /&gt;
&lt;br /&gt;
The responses collected from the subject using the Elekta optical response pads. These responses are encoded in the trigger box (STI101) via BNC cables, that is housed inside the Trigger Cabinet shown above and are recorded in the ST101 channel along with the stim triggers (STI102) and MEG signal data.&lt;br /&gt;
&lt;br /&gt;
===Trigger Settings===&lt;br /&gt;
As we mentioned before there are two trigger units - STI101 (inside cabinet) and STI102 (stimulus computer table). &lt;br /&gt;
&lt;br /&gt;
'''OPTION 1:''' &lt;br /&gt;
&lt;br /&gt;
When the STI101 is not selected in the Acquisition settings, then the two trigger units operate in Parallel, or in 'Mirror' mode. So when STI102 receives a input in any of the IN pins, it is seen in the corresponding OUT pins of both STI102 and STI101 and in addition to this the signal is also sent to the STIM channel(STI102) to be recorded with MEG data.&lt;br /&gt;
&lt;br /&gt;
'''OPTION 2:'''&lt;br /&gt;
&lt;br /&gt;
When both STI102 and STI101 are connected - they act independently. But NOTE that any responses sent to the Trigger Unit STI101(inside cabinet) do not get sent to the stim computer.&lt;br /&gt;
&lt;br /&gt;
=Supplies=&lt;br /&gt;
#4 EEG 60 channel caps in 4 different sizes &lt;br /&gt;
#1 set of Ambu Neuroline cup electrodes &lt;br /&gt;
#Ten20 conductive gel (electrode paste)&lt;br /&gt;
#Nuprep (skin preparatory gel)&lt;br /&gt;
#Cotton tips, tapes, gauze &lt;br /&gt;
#Electrode gel syringe (BD Diagnostics 5m) &lt;br /&gt;
#Blunt syringe tips (needles) &lt;br /&gt;
#Hand-Held Degausser (Geneva PF 215)&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Tsss_dental_artifact.png&amp;diff=32</id>
		<title>File:Tsss dental artifact.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Tsss_dental_artifact.png&amp;diff=32"/>
		<updated>2019-05-24T20:31:33Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Orig_dental_artifact.png&amp;diff=31</id>
		<title>File:Orig dental artifact.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Orig_dental_artifact.png&amp;diff=31"/>
		<updated>2019-05-24T20:30:35Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Ecg_artifact.png&amp;diff=30</id>
		<title>File:Ecg artifact.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Ecg_artifact.png&amp;diff=30"/>
		<updated>2019-05-24T20:29:41Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Eog_artifact.png&amp;diff=29</id>
		<title>File:Eog artifact.png</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Eog_artifact.png&amp;diff=29"/>
		<updated>2019-05-24T20:28:51Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Artifacts_in_MEG_data&amp;diff=28</id>
		<title>Artifacts in MEG data</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Artifacts_in_MEG_data&amp;diff=28"/>
		<updated>2019-05-24T20:27:26Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Artifact Handling=  ==What is an artifact?== Artifacts are unwanted interference in your data that may or maynot mask your desired signal. It is good practice to remove these...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Artifact Handling=&lt;br /&gt;
&lt;br /&gt;
==What is an artifact?==&lt;br /&gt;
Artifacts are unwanted interference in your data that may or maynot mask your desired signal. It is good practice to remove these artifacts from your data before you begin analysis. There are a lot of MEG analysis software modules in the market that help you remove the artifacts. General procedure followed by most methods is first to identify them and then to remove them. Artifacts can be physiological or environmental in nature. &lt;br /&gt;
&lt;br /&gt;
Some of the common artifacts are as follows:&lt;br /&gt;
&lt;br /&gt;
====Physiological Level====&lt;br /&gt;
# Eye blinks (EOG) Electroocculogram &lt;br /&gt;
# Heart Beats (ECG) Electrocardiogram &lt;br /&gt;
# Head movements &lt;br /&gt;
# Muscle artifacts&lt;br /&gt;
# Dental artifacts &lt;br /&gt;
&lt;br /&gt;
====Environmental and System Level==== &lt;br /&gt;
# Power line noise: &lt;br /&gt;
# Squid Jumps&lt;br /&gt;
&lt;br /&gt;
==Common Examples of Artifacts== &lt;br /&gt;
&lt;br /&gt;
===EOG===&lt;br /&gt;
This is the most common artifact seen mostly in the &amp;quot;Frontal&amp;quot; MEG channels. &lt;br /&gt;
[[File:Eog_artifact.png|800px]]&lt;br /&gt;
&lt;br /&gt;
===ECG===&lt;br /&gt;
The heart beats are more visible in the temporal channels that are closer to the chest. &lt;br /&gt;
[[File:Ecg_artifact.png|800px]]&lt;br /&gt;
&lt;br /&gt;
===Dental Noise===&lt;br /&gt;
Some participants may have metal fillings, braces that will cause huge artifact in the data. It is not in any way harmful to the participants, but degrades the data quality by a huge extent. We discourage the researchers who are recruiting participants from taking in subjects who have metal fillings, braces, permanent retainers etc., Although we understand this may be unavoidable in certain cases. We have a degausser in the lab that can be used in such cases where we 'demagnetise' the subject before we put them in the scanner.  &lt;br /&gt;
&lt;br /&gt;
Below is an example of one such dataset collected from a participant who had a permanent retainer. In the case of a permanent retainer, even the degausser did not help.&lt;br /&gt;
&lt;br /&gt;
'''tSSS''' is an cleaning procedure that we run on the data after acquisition. The tSSS procedure takes care of dental noise and cleans the data.&lt;br /&gt;
=====Dental noise from a permanent retainer=====&lt;br /&gt;
[[File: Orig_dental_artifact.png|800px|Dental Artifact Before]]&lt;br /&gt;
=====tSSS cleaned data=====&lt;br /&gt;
[[File: Tsss_dental_artifact.png|800px|Dental Artifact After tSSS]]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Putty_config2_tunnel.PNG&amp;diff=27</id>
		<title>File:Putty config2 tunnel.PNG</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Putty_config2_tunnel.PNG&amp;diff=27"/>
		<updated>2019-05-24T20:25:22Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=File:Putty_config1.PNG&amp;diff=26</id>
		<title>File:Putty config1.PNG</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=File:Putty_config1.PNG&amp;diff=26"/>
		<updated>2019-05-24T20:23:12Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=SQUIGGLES_Computer_Login&amp;diff=25</id>
		<title>SQUIGGLES Computer Login</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=SQUIGGLES_Computer_Login&amp;diff=25"/>
		<updated>2019-05-24T20:21:51Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;Squiggles is general purpose analysis and storage computer for MEG/Neurophysiology/Epilepsy data  Configuration: For Windows For Mac/Linux  To Login from Windows Computer:  Do...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Squiggles is general purpose analysis and storage computer for MEG/Neurophysiology/Epilepsy data&lt;br /&gt;
&lt;br /&gt;
Configuration:&lt;br /&gt;
For Windows&lt;br /&gt;
For Mac/Linux&lt;br /&gt;
&lt;br /&gt;
To Login from Windows Computer:&lt;br /&gt;
&lt;br /&gt;
Download Putty:&lt;br /&gt;
https://www.chiark.greenend.org.uk/~sgtatham/putty/&lt;br /&gt;
&lt;br /&gt;
[[File:Putty config1.PNG]]&lt;br /&gt;
&lt;br /&gt;
!&lt;br /&gt;
&lt;br /&gt;
[[File:Putty config2 tunnel.PNG]]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=MEG_Physics&amp;diff=24</id>
		<title>MEG Physics</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=MEG_Physics&amp;diff=24"/>
		<updated>2019-05-24T20:19:16Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot; IN PROGRESS  See http://www.mcw.edu/MEG/AboutMEG/MEGPrinciples/MEGandEEGinstrumentation/MEG.htm Here  NEEDS TO BE UPDATED!!!&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
IN PROGRESS&lt;br /&gt;
&lt;br /&gt;
See [[http://www.mcw.edu/MEG/AboutMEG/MEGPrinciples/MEGandEEGinstrumentation/MEG.htm Here]] &lt;br /&gt;
NEEDS TO BE UPDATED!!!&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Source_Level&amp;diff=23</id>
		<title>Source Level</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Source_Level&amp;diff=23"/>
		<updated>2019-05-24T20:17:41Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==Placement of HPI coils==  Usually when you are doing MEG study (no EEG) it would be convenient to place the HPI coils on the skin - Two on the subject's forehead just above...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Placement of HPI coils== &lt;br /&gt;
Usually when you are doing MEG study (no EEG) it would be convenient to place the HPI coils on the skin - Two on the subject's forehead just above the place where you place the Vertical EOG coil and two behind your subject' ears (below the refs).&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Scripts&amp;diff=22</id>
		<title>Scripts</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Scripts&amp;diff=22"/>
		<updated>2019-05-24T20:17:14Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot; =Stimuli Preparation= In Progress...  ==E-Prime== TO BE COMPLETED &amp;lt;br&amp;gt;1) AudioStim_v6 &amp;lt;br&amp;gt;2)VisualStim_v1  ==Psychopy== 1) audiostimuli_v2.py: /home/custine/Desktop/Experimen...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Stimuli Preparation=&lt;br /&gt;
In Progress...&lt;br /&gt;
&lt;br /&gt;
==E-Prime==&lt;br /&gt;
TO BE COMPLETED&lt;br /&gt;
&amp;lt;br&amp;gt;1) AudioStim_v6&lt;br /&gt;
&amp;lt;br&amp;gt;2)VisualStim_v1&lt;br /&gt;
&lt;br /&gt;
==Psychopy==&lt;br /&gt;
1) audiostimuli_v2.py: /home/custine/Desktop/Experiments/Scripts/Psychopy&lt;br /&gt;
&amp;lt;br&amp;gt;2) visual.py /home/custine/Desktop/Experiments/Scripts/Psychopy&lt;br /&gt;
&lt;br /&gt;
=MEG Scripts=&lt;br /&gt;
&lt;br /&gt;
==Pre-Processing==&lt;br /&gt;
&lt;br /&gt;
1) preProc_setup.sh subjID&lt;br /&gt;
&amp;lt;br&amp;gt; Example: ./preProc_setup sh ac1 &lt;br /&gt;
&amp;lt;br&amp;gt;2) preProc_project.sh subjID tag nmag ngrad neeg&lt;br /&gt;
&amp;lt;br&amp;gt;Example: ./preProc-project.sh ac1 ecg 1 1 0 &lt;br /&gt;
&amp;lt;br&amp;gt;4)python makeAveFiles.py subjID projon&lt;br /&gt;
&amp;lt;br&amp;gt;Example: python makeAveFiles.py ac1 projon&lt;br /&gt;
&amp;lt;br&amp;gt;5)python preProc_avg.py subjID expName&lt;br /&gt;
&amp;lt;br&amp;gt;Example: python preProc_avg.py ac1 Left&lt;br /&gt;
&lt;br /&gt;
==Sensor Level==&lt;br /&gt;
* python sensor_grandAverage.py exp paradigm&lt;br /&gt;
* Example: python sensor_grandAverage.py msabri Left&lt;br /&gt;
&lt;br /&gt;
==Source Level ==&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Using_GitLab&amp;diff=21</id>
		<title>Using GitLab</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Using_GitLab&amp;diff=21"/>
		<updated>2019-05-24T20:16:18Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==Introduction==  In this page you will find information on how to use gitlab in general and for our Epilepsy project in particular. Gitlab is a web based Git repository that...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
&lt;br /&gt;
In this page you will find information on how to use gitlab in general and for our Epilepsy project in particular. Gitlab is a web based Git repository that provides an opportinty to develop a streamlined project workflow. It is a cloud based sharing center where users working on the same code can compare, develop, pull and push code to the master repository. &lt;br /&gt;
&lt;br /&gt;
== Git Useful Links ==&lt;br /&gt;
# [https://www.git-tower.com/blog/git-cheat-sheet/ Cheat sheet]&lt;br /&gt;
# [http://longair.net/blog/2009/04/16/git-fetch-and-merge/ Git Fetch &amp;amp; Merge]&lt;br /&gt;
&lt;br /&gt;
==Steps to create a gitlab repo==&lt;br /&gt;
&lt;br /&gt;
Go to the git lab login page and create a project. If you already have files you can push them using command line instructions below. Otherwise you can start with adding a README, a LICENSE, or a .gitignore to this project. You will need to be owner or have the master permission level for the initial push, as the master branch is automatically protected.&lt;br /&gt;
&lt;br /&gt;
===Command line instructions===&lt;br /&gt;
&lt;br /&gt;
====Git global setup====&lt;br /&gt;
&lt;br /&gt;
 git config --global user.name &amp;quot;C Ustine&amp;quot;&lt;br /&gt;
 git config --global user.email &amp;quot;custine@mcw.edu&amp;quot;&lt;br /&gt;
&lt;br /&gt;
====Create a new repository====&lt;br /&gt;
&lt;br /&gt;
 git clone git@gitlab.com:candidaustine/Name_Of_Project.git&lt;br /&gt;
 cd Name_Of_Project&lt;br /&gt;
 touch README.md&lt;br /&gt;
 git add README.md&lt;br /&gt;
 git commit -m &amp;quot;add README&amp;quot;&lt;br /&gt;
 git push -u origin master&lt;br /&gt;
&lt;br /&gt;
====Existing folder====&lt;br /&gt;
&lt;br /&gt;
 cd existing_folder&lt;br /&gt;
 git init&lt;br /&gt;
 git remote add origin git@gitlab.com:candidaustine/Name_Of_Project.git&lt;br /&gt;
 git add .&lt;br /&gt;
 git commit -m &amp;quot;Initial commit&amp;quot;&lt;br /&gt;
 git push -u origin master&lt;br /&gt;
&lt;br /&gt;
====Existing Git repository====&lt;br /&gt;
&lt;br /&gt;
 cd existing_repo&lt;br /&gt;
 git remote add origin git@gitlab.com:candidaustine/Name_Of_Project.git&lt;br /&gt;
 git push -u origin --all&lt;br /&gt;
 git push -u origin --tags&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Basic GitLab commands==&lt;br /&gt;
Go to the master branch to pull the latest changes from there&lt;br /&gt;
&lt;br /&gt;
 git checkout master&lt;br /&gt;
&lt;br /&gt;
Download the latest changes in the project. This is for you to work on an up-to-date copy (it is important to do every time you work on a project), while you setup tracking branches.&lt;br /&gt;
&lt;br /&gt;
 git pull REMOTE NAME-OF-BRANCH -u &lt;br /&gt;
 (Ex: git pull origin develop-v1)&lt;br /&gt;
(REMOTE: origin) (NAME-OF-BRANCH: could be &amp;quot;master&amp;quot; or an existing branch)&lt;br /&gt;
&lt;br /&gt;
Create a branch. Spaces won't be recognized, so you need to use a hyphen or underscore.&lt;br /&gt;
&lt;br /&gt;
 git checkout -b NAME-OF-BRANCH&lt;br /&gt;
&lt;br /&gt;
Work on a branch that has already been created&lt;br /&gt;
&lt;br /&gt;
 git checkout NAME-OF-BRANCH&lt;br /&gt;
&lt;br /&gt;
To List the name of the branch that you are working on&lt;br /&gt;
 git branch &lt;br /&gt;
&lt;br /&gt;
To List the name of the remote&lt;br /&gt;
 git remote &lt;br /&gt;
&lt;br /&gt;
View the changes you've made. It's important to be aware of what's happening and what's the status of your changes.&lt;br /&gt;
&lt;br /&gt;
 git status&lt;br /&gt;
&lt;br /&gt;
Add changes to commit. You'll see your changes in red when you type &amp;quot;git status&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 git add CHANGES IN RED&lt;br /&gt;
 git commit -m &amp;quot;DESCRIBE THE INTENTION OF THE COMMIT&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Send changes to gitlab.com&lt;br /&gt;
&lt;br /&gt;
 git push REMOTE NAME-OF-BRANCH&lt;br /&gt;
&lt;br /&gt;
Delete all changes in the Git repository, but leave unstaged things&lt;br /&gt;
 git checkout .&lt;br /&gt;
&lt;br /&gt;
Delete all changes in the Git repository, including untracked files&lt;br /&gt;
 git clean -f&lt;br /&gt;
&lt;br /&gt;
Merge created branch with master branch. You need to be in the created branch.&lt;br /&gt;
&lt;br /&gt;
 git checkout NAME-OF-BRANCH&lt;br /&gt;
 git merge master&lt;br /&gt;
&lt;br /&gt;
===Git ECP===&lt;br /&gt;
We have created a repository of the connectome scripts written and managed for the ECP project. The ECP project is a private repository managed by the ECP MEG team at MCW. &lt;br /&gt;
&lt;br /&gt;
We have currently created two branches of the existing code obtained from the HCP megconnectome database. The &amp;quot;master&amp;quot; branch is our main branch and will only be accessed when we would like to make permanent edits to our code. The developers in the project wil be working on the branch called &amp;quot;develop-v1&amp;quot; which will be our workspace where we store temporary code during trial &amp;amp; development stages. Developers, please pull a copy of the code from the &amp;quot;develop-v1&amp;quot; branch to your workstation to work on the most updated version of the code.&lt;br /&gt;
==== Pull from ECP Repository====&lt;br /&gt;
 git clone git@gitlab.com:candidaustine/epilepsy_megconnectome.git OutputDir&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Sending/Receiving_triggers_through_parallel_port_interface&amp;diff=20</id>
		<title>Sending/Receiving triggers through parallel port interface</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Sending/Receiving_triggers_through_parallel_port_interface&amp;diff=20"/>
		<updated>2019-05-24T20:15:34Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot; =Parallel Port=  The Stim computer and the Data Acquisition computer are connected via a parallel port. This is how the triggers are sent from the stim computer to the STI ch...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
=Parallel Port=&lt;br /&gt;
&lt;br /&gt;
The Stim computer and the Data Acquisition computer are connected via a parallel port. This is how the triggers are sent from the stim computer to the STI channels. You can use any experimental program - Eprime, Psychopy in order to send triggers to the MEG system. The codes are completely your choice. In MEG, one would want to tag every event in the data for further analyses. So you can specify the event codes in the script you are using to tag the event stim.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Sending Triggers==&lt;br /&gt;
You can bring your own laptop or use the stim computer we have setup in the MEG lab. In order to send triggers to the MEG acq Trigger system, you will need a parallel port available in your device. The parallel port will connect your laptop to the BNC trigger box that sends the triggers to the MEG_ACQ computer. &lt;br /&gt;
&lt;br /&gt;
The MEG acquisition software accepts stimulus codes as binary triggers. The system supports a 8 bit code, which means you can send pulses between 0 and 255. While your scripts are coded with event numbers (0 to 255), you will actually be seeing binary trigger combinations light up on the BNC trigger box (STI 102) that is located on the stim computer table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reading Button Responses VIA Parallel Port==&lt;br /&gt;
You can use the fibre optic response pads to record your responses in the MEG data acquisition computer along with your raw signal data. If you would like to design a task that is adaptive to the participant's response or if you would simply like to have the responses recorded both in the MEG raw signal and in the stim computer side, you will need to have the participant responses fed into the stim computer via the parallel port. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TO DO: Connect your response cables to any of the BNC &amp;quot;IN&amp;quot; pins 12 to 16 in the trigger box STI101, and have it mirrored to STI102 so it can be read through the interfaced parallel port. &lt;br /&gt;
&lt;br /&gt;
REASON: The cable from the 37 pin output on the trigger box is connected to the 25 pin input to the computer. Basically, only 5 of the output channels (12-16) are being fed to the computer. These channels appear on pins 11-15 on the 25 pin end of the cable, which are the status channels, not the data channels. So in order to read the responses on the stim computer end, one must connect the response cables to channels in the 12-16 range of the trigger box.&lt;br /&gt;
&lt;br /&gt;
 1) To write to the trigger box, use address 0x378.&lt;br /&gt;
 2) To read from the box, use address 0x379.&lt;br /&gt;
 3) The button box and any TTL input should be plugged into lines 12-16 on the trigger box.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Psychopy&amp;diff=19</id>
		<title>Psychopy</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Psychopy&amp;diff=19"/>
		<updated>2019-05-24T20:14:29Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Why PsychoPy?=  PsychoPy is an open-source, python-based stimulus presentation software package that can be used as an alternative to PsychToolBox (PTB).  It does not have a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Why PsychoPy?=&lt;br /&gt;
&lt;br /&gt;
PsychoPy is an open-source, python-based stimulus presentation software package that can be used as an alternative to PsychToolBox (PTB).  It does not have a reliance on Matlab as PTB does, and it has the flexibility to control stimulus presentation by frames based on the screen refresh rate, reducing variability in timing making it much better suited to experiments that rely on timing accuracy (e.g. EEG).&lt;br /&gt;
&lt;br /&gt;
=Ease of Use= &lt;br /&gt;
&lt;br /&gt;
In Psychopy you can either use the [http://www.psychopy.org/builder/builder.html#builder Builder] or the [http://www.psychopy.org/coder/coder.html#coder Coder] Interface to write your stim presentation scripts. &lt;br /&gt;
===Builder Interface===&lt;br /&gt;
As their name suggests the Builder Interface is for the user who does not like to write scripts from scratch. It is completely GUI driven and very user friendly. Builder makes it easy to visualize the structure of your experiment, create trial loops, integrate code components, add keyboard responses, present visual stimuli, etc. You can compile the code from Builder (a .psyexp file) and use Coder to view and edit it (.py file). &lt;br /&gt;
===Coder Interface===&lt;br /&gt;
This is for the user who loves to write hiss/her own scripts. Coder view is far more powerful since you can use various python modules (such as NumPy, a mathematical module comparable to Matlab) to customize your code and go beyond the limitations of the Builder.&lt;br /&gt;
&lt;br /&gt;
'''NOTE:''' When you are satisfied with the experiment you have built in the Builder you can view its script or code in the coder and make changes there and fine tune your experiment. However YOU CANNOT GO BACK to the Builder view from a code view... :( That is the only drawback! I think!&lt;br /&gt;
&lt;br /&gt;
'''RECOMMENDATION:''' It is recommended to always build your experiment in the Builder and then &amp;quot;compile&amp;quot;, so you have a foundation to work on or tweak in the coder interface.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Tips=&lt;br /&gt;
&lt;br /&gt;
==Auditory Stimuli==&lt;br /&gt;
&lt;br /&gt;
Import the sound package from psychopy before beginning. If possible build your basic Experiment using the Psychopy Builder, compile it as a script and then work from there. &lt;br /&gt;
&lt;br /&gt;
You can set a Frequency of a sound/tone you want to play or provide a link to the sound you want to play. &lt;br /&gt;
&lt;br /&gt;
 sound_1 = sound.SoundPygame(value = u'/home/custine/Desktop/Experiments/tones/tone_400Hz.wav') &lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
 highA = sound.Sound('A',octave=3, sampleRate=44100, secs=0.8, bits=8)&lt;br /&gt;
 highA.setVolume(0.8)&lt;br /&gt;
 tick = sound.Sound(800,secs=0.01,sampleRate=44100, bits=8)#sample rate ignored because already set&lt;br /&gt;
 tick.play()&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
 ding = sound.Sound('ding')&lt;br /&gt;
 ding.play()&lt;br /&gt;
&lt;br /&gt;
==Visual Stimuli==&lt;br /&gt;
===Using Images as Stimuli===&lt;br /&gt;
&lt;br /&gt;
Always save your images as .bmp. JPEGs and PNGs also work though.&lt;br /&gt;
&lt;br /&gt;
==Writing trial by trial info into a text file==&lt;br /&gt;
&lt;br /&gt;
You may not find the output that psychopy automatically outputs that helpful (with version 1.73, aside from the log file, the other output files were only written when the experiment concluded. If you quit in the middle of a running experiment, you would not have any saved data.) You can instruct Psychopy to write a text output file for your data after each trial shown, so that when you quit midway you have data saved up to that point.&lt;br /&gt;
&lt;br /&gt;
To open a new text file and write header at the beginning:&lt;br /&gt;
&lt;br /&gt;
    datFile=open('Data'+os.path.sep+'%s_part%s_subj%s_dat_%s.txt'%(expInfo['expName'],expInfo['session'],expInfo['participant'],expInfo['date']),'w') #customize your output filename&lt;br /&gt;
    datFile.write('participant\tTrialNumber\tdescrip\tIAPS\n') #this is your customizable, tab-delimited header row &lt;br /&gt;
&lt;br /&gt;
Then, at the end of the loop containing your repeating trial (don't forget any indents)!!&lt;br /&gt;
&lt;br /&gt;
    #push to dat File&lt;br /&gt;
    datFile.write('%s\t%s\t%s\t%s \n'%(expInfo['participant'],trials.thisTrialN+1,thisTrial.descrip,thisTrial.IAPS))&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Useful Links=&lt;br /&gt;
* [http://sapir.psych.wisc.edu/wiki/index.php/Psychopy Sample Scripts]&lt;br /&gt;
* [https://groups.google.com/forum/#!forum/psychopy-users Psychopy-Users Google Group]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=MRI_Acquisition&amp;diff=18</id>
		<title>MRI Acquisition</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=MRI_Acquisition&amp;diff=18"/>
		<updated>2019-05-24T20:13:49Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==Introduction== In order to run a source analysis on the MEG data it is necessary to have an accurate head model describing the shape of the scalp, skull, and cortical surfac...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
In order to run a source analysis on the MEG data it is necessary to have an accurate head model describing the shape of the scalp, skull, and cortical surface. The best way to calculate a subject-specific head model is to use a high resolution anatomical MRI scan of the subject. Information about collecting MRI, such as scheduling and fees, can be found at the [http://www.mcw.edu/CIR.htm CIR Website].&lt;br /&gt;
&lt;br /&gt;
==Recommended MRI Protocols==&lt;br /&gt;
The MRI protocol will depend on how much time you have available for data collection. At the very least, a T1-weighted scan, such as an SPGR or MPRAGE, is necessary. In addition, we currently recommend collecting a T2-weighted scan with the same resolution as the T1 scan. If there is additional time available then the protocol could include: additional T1 scans, a resting state fMRI scan, a proton density (PD) scan, or a diffusion (DTI) scan. It is VERY important that the scan covers the entire scalp surface including the ears. If some of the head is cut off than this will decrease the accuracy of the head model.&lt;br /&gt;
&lt;br /&gt;
===T1-weighted (required)===&lt;br /&gt;
The T1 scan is used to identify the gray matter cortical surface, as well as the boundary of the scalp, skull, and dura. Several T1 scans can be collected and averaged together; however, because of alignment error, averaging may not provide much benefit unless there are at least three scans.&lt;br /&gt;
&lt;br /&gt;
===T2-weighted (recommended)===&lt;br /&gt;
&lt;br /&gt;
===FLAIR (optional)===&lt;br /&gt;
&lt;br /&gt;
===Proton Density (optional)===&lt;br /&gt;
&lt;br /&gt;
===Resting State (optional)===&lt;br /&gt;
&lt;br /&gt;
===DTI (optional)===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MRI Safety==&lt;br /&gt;
If the subject has metal implants, check the nanufacturer name and see if it is listed as safe in this website. &lt;br /&gt;
http://www.mrisafety.com/TheList_search.asp&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=FAQs&amp;diff=17</id>
		<title>FAQs</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=FAQs&amp;diff=17"/>
		<updated>2019-05-24T20:13:16Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==General Scanning Inquiries== In this section you will find answers to some common questions that most MEG scanners will have when they begin scanning with us.  *What is the...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==General Scanning Inquiries==&lt;br /&gt;
In this section you will find answers to some common questions that most MEG scanners will have when they begin scanning with us.&lt;br /&gt;
&lt;br /&gt;
*What is the fee for using the MEG facility?&lt;br /&gt;
The research fee is $400/hour &lt;br /&gt;
&lt;br /&gt;
*What is the size of the data that gets generated? &lt;br /&gt;
If your sampling rate is 2000Hz, the data size would be about 10G for 1 hour of scanning. (MEG channels only).&lt;br /&gt;
&lt;br /&gt;
*Does the MEG suite have the new Eprime version installed? &lt;br /&gt;
Yes, we have Eprime 2 Standard version at the MEG suite. &lt;br /&gt;
&lt;br /&gt;
*Can I bring my own laptop for stimulus presentatioon? &lt;br /&gt;
Yes. Make sure you schedule a test run with us to test the scripts, trigger signalling etc., before you begin scanning.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==IRB Related questions==&lt;br /&gt;
*Does IRB consider MEG a device? where is it located? &lt;br /&gt;
The MEG is an FDA approved measurement device just like the MRI and the EEG. And it is located at Froedtert Hosipital.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Getting_Access&amp;diff=16</id>
		<title>Getting Access</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Getting_Access&amp;diff=16"/>
		<updated>2019-05-24T20:12:56Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;Being an MCW employee you cannot get access to the MEG Room and the facility with your MCW ID card, as they are physically located in the Froedtert Hospital premises. The alte...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Being an MCW employee you cannot get access to the MEG Room and the facility with your MCW ID card, as they are physically located in the Froedtert Hospital premises. The alternate option is to alert the MEG technical manager [[Contacts]] that you would be scanning on  certain day so they can let you in. &lt;br /&gt;
&lt;br /&gt;
==Getting an Froedtert ID Card==&lt;br /&gt;
The first step is to speak with the MCW Neurology Administrator. Once you let her know that you need access you will have to go to the Froedtert Hospital Security Control Room and get an ID card there. &lt;br /&gt;
&amp;lt;br&amp;gt; NOTE: You will need to pay $5.00 for the Froedtert ID card... (You will get it back once you give surrender the card to them)&lt;br /&gt;
&lt;br /&gt;
Froedtert Security Office is located close to the Information Desk of Froedtert Hospital. &lt;br /&gt;
Contact: 414-805-7050&lt;br /&gt;
&lt;br /&gt;
==MEG Calendar==&lt;br /&gt;
 &lt;br /&gt;
The MEG calendar is maintained by MCW and Froedtert and will show the MEG facility availability for research purposes. Please contact [[Contacts|Robert Rohloff]] with a desired date and time and he can schedule it for your group. If the requested time is unavailable, you will be contacted with alternate dates and times.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Cancellations/No-Show===&lt;br /&gt;
'''Use it or lose it:''' &lt;br /&gt;
Frequent non-use of scheduled scan time indicates a problem that should be discussed before additional time slots are allocated, and may result in a reduction of a user’s assigned time in the schedule.&lt;br /&gt;
&lt;br /&gt;
Please be aware that the MEG Facility is used for both clinical and research purposes and act responsibly in reporting any unused scan time as soon as you can.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=MEG_Acquisition&amp;diff=15</id>
		<title>MEG Acquisition</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=MEG_Acquisition&amp;diff=15"/>
		<updated>2019-05-24T20:12:35Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Preparation= Always make sure you have tested the entire experiment for triggers, button responses etc., once before scan subjects and collect data. When you are ready with y...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Preparation=&lt;br /&gt;
Always make sure you have tested the entire experiment for triggers, button responses etc., once before scan subjects and collect data. When you are ready with your experiment, you can start data acquisition. Please contact the [[Contacts|Candida Ustine]] the MEG Engineer to schedule a time for your data acquisition. Make sure that either the Engineer or an MEG experienced researcher is present at the MEG suite when you are scanning. There must be atleast one person from your research group who is familiar with the MEG scanning procedure, present for the entire scan time that is scheduled for you. You will be helped by the MEG engineer or the Technical Manager if you need assistance. Make sure to have additional help if you are doing an simultaneous EEG acquisition for help with the cap setup. See the section on Training if you like to be MEG trained.&lt;br /&gt;
&lt;br /&gt;
=Starting the Acquisition Program=&lt;br /&gt;
In the Neuromag folder, open the Acquisition program. Load your project and settings; details on how to use the program are below in the [[MEG_Acquisition#Data_Acquisition|Data Acquisition]] These settings should have been previously created and saved so that time is not wasted while the subject is present. Once the necessary settings are loaded and double-checked, you are ready to register the subject.&lt;br /&gt;
&lt;br /&gt;
=Subject Registration=&lt;br /&gt;
With the HIPAA regulations we have made several changes in how to register subjects, so be sure to follow these steps in order to be compliant!&lt;br /&gt;
Press the “Change” button next to Subject:&lt;br /&gt;
Enter name, birth date, sex, and handedness (height/weight can be skipped)&lt;br /&gt;
&lt;br /&gt;
=Digitization=&lt;br /&gt;
&lt;br /&gt;
Once registration is complete, you are ready to digitize the subject. Turn on the Polhemus system, which is used for digitization, and is located on the table in the patient prep area.  Instructions for using the system are as follows:&lt;br /&gt;
* Move the wooden chair away from the Polhemus system.&lt;br /&gt;
* Have the subject sit in the wooden chair&lt;br /&gt;
* Move all rolling chairs and other objects with large metal components away from the chair and Polhemus&lt;br /&gt;
* Position the goggles on the subject’s head, being careful not to cover up any electrodes or HPIs. It is critical that the goggles are tight and do not move once digitization has begun.&lt;br /&gt;
* In the Acquisition program on megacq1, press the “Change” button next to HPI.  At this point you will be prompted to digitize cardinal landmarks, HPI coils, electrodes, and extra head points. At the top of the screen, hit the “Coordinate frame alignment” button; you are now ready to begin digitization&lt;br /&gt;
* Digitize the three cardinal landmarks (left pre-auricular point, nasion, right pre-auricular point, see below) by pointing to each and simultaneously clicking the button on the stylus.&lt;br /&gt;
* It is a good idea to check that the two ear points are within a maximum (absolute value) distance of 5mm. &lt;br /&gt;
* After the third point has been digitized, you will hear two beeps instead of one—this is simply to indicate that you are done digitizing a section. If at any point during the digitization of the different sections you hear two beeps (before the last point), you have accidentally pushed the stylus button twice and should start over. &lt;br /&gt;
*  Instructions on how to do this are [[MEG_Acquisition#Data_Acquisition| Data Acquisition]] further below. &lt;br /&gt;
* To move on to the next section (HPI coils), there is no need to click anything else; you will simply be prompted to begin digitizing HPI. &lt;br /&gt;
* Digitize the four HPI coils in any order. Be very careful when digitizing these points, as they can come back to haunt you later if not done properly the first time!&lt;br /&gt;
* Next, if using the EEG cap, digitize the electrodes in order, starting with the reference electrode. A map of electrode locations can be found on the bullaten board next to the Polhemus.&lt;br /&gt;
* If not using the cap, you will not be prompted to digitize any electrodes (unless you failed to rename any of your facial electrodes as EOG rather than EEG).&lt;br /&gt;
* Finally, you will be asked to digitize additional head points. It is a good idea to make a straight line down the forehead and nose, as the nose is easily identifiable in the subject’s MRI. An extra 50 or more points from the head should be taken so to cover the head; these will also be used in conjunction with the MRI. &lt;br /&gt;
* When finished, hold the stylus about a meter away from the subject and press the button.&lt;br /&gt;
* If at any point you should make a mistake, you can hold the stylus away, press the stylus button, and then click on the button at the top of the section you would like to do again. This will clear any points taken in a given field, allowing you to start over. (It will not clear points in previous fields).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Connecting HPI, EEG Electrodes to Vectorview=&lt;br /&gt;
The plug for the HPI coils is inserted into the &amp;quot;subject’s&amp;quot; right side of Vectorview. The plug has a small notch on it; this should be placed downwards, and the whole plug should be positioned so that extra spaces are on the right. The earphones are also plugged in on the subject’s right into the slot labeled “auditory stim out.” &lt;br /&gt;
&lt;br /&gt;
All electrodes are plugged in on the subject’s left. For EOG and other bipolar electrodes, be sure to pair them together correctly (e.g., vertical with vertical and not vertical with horizontal), although which goes in (+) and which goes in (-) is unimportant. Ground and reference are plugged into the same location labeled ground and reference, respectively. If using the EEG cap, the cap’s connectors should be plugged into the slots with corresponding numbers.&lt;br /&gt;
&lt;br /&gt;
If doing an auditory study, be sure to place the earphones in the subject’s ears before raising the subject up into the helmet. The foam insulation for the earphones can be found in the cabinet above the analysis workstation. To adjust volume, use the audio adjustment in the stimulus PC.&lt;br /&gt;
&lt;br /&gt;
If any of the supplies are running low please contact [[Contacts|Candida Ustine]] about it. It is a Froedtert Facility.&lt;br /&gt;
&lt;br /&gt;
=Placing Subject in the Helmet=&lt;br /&gt;
The pump for the chair is located on the [subject’s] right; the longer lever pushes the chair up; the shorter one lowers it. Subjects should be pushed up far enough so that they can feel pressure on the top and back of their head. It is important to have the subject first slouch down and get comfortable so that they do not do so later and slip down in the helmet. If using the bed, lock the wheels and move only the upper portion of the bed. This way subjects can position themselves comfortably, and you can easily slide them into the helmet until their head touches the back. &lt;br /&gt;
&lt;br /&gt;
=Subject Instructions=&lt;br /&gt;
Before exiting the MSR, be sure to remind the patient of both the general MEG instructions as well as any instructions specific to your task. General instructions include:&lt;br /&gt;
*For auditory studies, focus on a point on the wall or a fixation cross displayed on the screen; for visual studies, focus on the fixation cross.&lt;br /&gt;
* For any kind of stimulus, try not to blink while stimuli are being presented or while responding.&lt;br /&gt;
* Do not move once the measurement has begun.&lt;br /&gt;
* To communicate with the experimenter, simply speak aloud; there is a microphone built into the machine. However, you should avoid speaking during a measurement, unless it is an emergency.&lt;br /&gt;
* Be aware that there is a camera in the room and that we can see you from outside.&lt;br /&gt;
&lt;br /&gt;
=Data Acquisition=&lt;br /&gt;
&lt;br /&gt;
See [[Scanning_Specifics]] Page for information on setting your scanning parameters and for info on troubleshooting.&lt;br /&gt;
For a detailed description of the acquisition software and how to create your acquisition settings, see the Vectorview manual, section five (this manual can be found online as well as in the MEG lab. [[Getting_Started#Helpful_References.2FManuals |Neuromag Manuals page]]&lt;br /&gt;
&lt;br /&gt;
==Entering Task and Subject Info==&lt;br /&gt;
&lt;br /&gt;
* Log into the MEG Acqusition System. Contact the [[Contacts|MEG Engineer]] for Login Information. &lt;br /&gt;
* Select Neuromag Folder --&amp;gt; Acquisition &lt;br /&gt;
* The Settings Dialog Box opens &lt;br /&gt;
** Change: Project&lt;br /&gt;
** Change: Subject &lt;br /&gt;
** Change: Acquisition&lt;br /&gt;
** Change: Stimulus Generation&lt;br /&gt;
** Change: Online averaging&lt;br /&gt;
** Change: HPI &lt;br /&gt;
* Select a Project from the list&lt;br /&gt;
* Go to File --&amp;gt; Load Settings. (You will find a list of saved projects/studies in your user directory. Select the appropriate study and all the settings will be automatically loaded) (NOTE: If you are setting your experiment for the first time then visit the [[Scanning_Specifics#Preparing_an_experiment | Scanning Specifics]] page to read information/suggestions on choosing scanning parameters. &lt;br /&gt;
* Subject Registration: You should never enter patient identifying information here(NAME)!! See [[MEG_Acquisition#Subject_Registration| Subject Registration]] above for more information. &lt;br /&gt;
&lt;br /&gt;
==Beginning a Measurement==&lt;br /&gt;
&lt;br /&gt;
Below the six “Settings” buttons is a series of buttons marked “Acquisition Controls,” which read from left to right: GO, Stimulate, Average, Record Raw, Restart, and Stop.  &lt;br /&gt;
Hitting GO will start acquisition. (It may be up to ~10 seconds before you see any channel activity, so be patient!) Once the channels come up, it will take several more seconds for them to settle; you can shorten this process by going to “Tools” and “Reset Channels.”&lt;br /&gt;
&lt;br /&gt;
===Initial Check===&lt;br /&gt;
Before beginning stimulation and recording any data, briefly browse through all channels to make sure that none are showing artifact. To do this, click “Selection” at the bottom of the raw display window (which automatically popped up on the right monitor when you started the Acquisition program). You will then see a list of channels, grouped both by location or number; either is suitable for looking at the channels. Go through each section to check the channels one by one.&lt;br /&gt;
&lt;br /&gt;
===Troubleshooting===&lt;br /&gt;
If you do find any sensor showing some artifact, you can usually perform a quick fix by heating the sensors. See my page on [[Scanning_Specifics#Troubleshooting | Sensor Troubleshooting]] and follow the directions.&lt;br /&gt;
&lt;br /&gt;
===Measuring HPI===&lt;br /&gt;
&lt;br /&gt;
Once all channels look fine, you are ready to measure the subject’s head position. A window prompting you to do this will have automatically popped up after hitting GO. In this window hit the “Measure” button, and wait several seconds until a new window with the HPI results pops up.&lt;br /&gt;
&lt;br /&gt;
If everything went well, the suggestion at the bottom of the window will say “Accept.” After accepting, you are ready to begin recording. &lt;br /&gt;
&lt;br /&gt;
====When HPI is not OK====&lt;br /&gt;
Occasionally you will find that '''one out of the four HPIs is not OK''', yet the suggestion is still “Accept.” This is true because the system only requires three functioning HPIs; however, having all four function properly is preferred in the event that one fails, in which case you will still receive the “Accept” suggestion and be able to move ahead.&lt;br /&gt;
&lt;br /&gt;
'''If less than three HPIs are OK''', the suggestion will be to “Redo HPI.” In the event that you receive the Redo message, re-measure the HPI and see if things improve. If not, scan through all channels and tune/reheat any that are noisy.  A noisy channel can compromise the HPI measurement.  Ask also the subject to help his breath for a few seconds while HPI measurement is running (breathing artifacts w/ VNS may impede measures). Try measuring again.&lt;br /&gt;
&lt;br /&gt;
If the suggestion is still “Redo HPI”, you may need to remove the subject from the MSR and see if one or more of the HPIs have come loose. If yes, redigitize subject and start over.&lt;br /&gt;
&lt;br /&gt;
==Data Recording==&lt;br /&gt;
&lt;br /&gt;
At this point you should have your stimuli ready to present to the subject. Before beginning presentation, however, be sure to hit the '''“Record Raw”''' button first for all recordings and then the “Average” button for evoked recordings; this will ensure that all trials are included in data collection.&lt;br /&gt;
&lt;br /&gt;
As stimuli are presented and the subject responds, you will see a list of trials (or “epochs”) collected for each different category designated in the online-averaging setup. If a trial is excluded from the average, a message indicating why is displayed at the top of the Acquisition window. Most often trials are rejected due to eye blinks, which would show as EOG 61 or 62. If an MEG channel is frequently causing rejections, attempt to heat or fix otherwise before beginning the next run. (However, never heat a channel while actually recording data).&lt;br /&gt;
&lt;br /&gt;
If you feel that the subject is blinking too much and you want to restart the run, de-select the Average and Record Raw buttons, and hit '''“Restart.”''' This will clear all data collected and allow you to speak with the subject, re-measure HPI, and begin recording again.&lt;br /&gt;
&lt;br /&gt;
When the run is over, hit '''STOP''' and save your data (details on saving are below). Most likely you will be collecting several runs, so after saving your data, simply hit '''GO''' again and follow the above steps.&lt;br /&gt;
&lt;br /&gt;
==Saving your RAW Data==&lt;br /&gt;
Saving Data&lt;br /&gt;
At the end of a measurement, hitting “Stop” in the acquisition window will automatically bring up a window prompting you to save your data—first evoked and then raw data (if both were collected). Data is saved directly to a raid rather than the local disk.&lt;br /&gt;
&lt;br /&gt;
Simply name your file with the extension '''&amp;quot;_raw.fif&amp;quot;''' and hit save.&lt;br /&gt;
&lt;br /&gt;
==Subject Exclusion Criteria== &lt;br /&gt;
&lt;br /&gt;
Subjects who are ready to be run on the MEG machine must satisfy the following criteria&lt;br /&gt;
* HEAD SIZE&lt;br /&gt;
* Weight &lt;br /&gt;
* Height&lt;br /&gt;
&lt;br /&gt;
=After Data Acquisition=&lt;br /&gt;
After you have collected data the raw data is saved in the MEG suite computer . You will have to transfer the data to your own workstation that might probably not be in Froedtert. In this case please contact the MEG Engineer [[Contacts|Candida Ustine]] in order to transfer yoru raw data. &lt;br /&gt;
Please see [[Data_Transfer|Data Transfer]] for more information.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Scanning_Specifics&amp;diff=14</id>
		<title>Scanning Specifics</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Scanning_Specifics&amp;diff=14"/>
		<updated>2019-05-24T20:12:07Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;==Getting Started== When you are ready with your experiment and would like to test it on the MEG machine before running subjects, contact Rob Rohloff to set aside...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Getting Started==&lt;br /&gt;
When you are ready with your experiment and would like to test it on the MEG machine before running subjects, contact [[Contacts|Rob Rohloff]] to set aside a time during the week when you can test your triggers on the Machine. See [[Getting_Started|Getting Started]] for information on how to access the current MEG scanner schedule at Froedtert Hospital. &lt;br /&gt;
==Preparing an experiment==&lt;br /&gt;
===Recording Parameters===&lt;br /&gt;
Come down to the MEG lab when there is some free time in the schedule and ask the lab technician to be present so there is help. Please make sure that you speak with [[Contacts | Rob]] and notify him that you will be in the MEG suite during that time. Click on the 'change Project' tab and select 'new'. Fill in the basic info there and save under the project name you've selected.&lt;br /&gt;
* Although some people use their PI as a project name, this is a bit risky since recording parameters could change across studies. It could be better to create a study-specific project every time you start a new study.&lt;br /&gt;
&lt;br /&gt;
* But '''NOTE''' that a single 'Project' can be associated with a bunch of different 'Settings'. So to be safe you should make sure to explicitly load your 'Settings' every time, after you load the Project.&lt;br /&gt;
&lt;br /&gt;
Now save this and click the button to change the acquisition settings. Several options here:&lt;br /&gt;
* You need to make sure you've selected all the MEG channels and possibly a subset of EEG channels. Confusingly, 61-64 are reserved for the bipolar channels, even if your cap has more than 60 channels...they pick up again at 65. So if you plan to record HEOG, VEOG, and/or ECG (heartbeat), make sure these are selected.&lt;br /&gt;
So after you have selected 61, 62, and 64, right click on each sequentially and choose either 'EOG' or 'ECG' as appropriate. '''If you leave them coded as EEG type instead of EOG type, the EEG digitization will be incorrectly mapped''' and it will be a big pain to reconstruct post-processing. &lt;br /&gt;
* Decide on online high-pass and low-pass filters. Convention in EEG literature is highpass of .01 Hz. Low-pass cutoff usually doesn't matter as long as it's &amp;gt;= 100 Hz.&lt;br /&gt;
* Decide on a sampling rate. The maximum allowed sampling rate depends on the data acquisition hardware and the slider automatically reflects the limitation imposed by the hardware. (Make sure it is atleast twice your low pass frequency according to the Nyquist Criterion)&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
===Restarting Acquisition===&lt;br /&gt;
Sometimes the Acquisition computer freezes, this can most often be fixed by rebooting the Acquisition machine. Go to Maintenance --&amp;gt; RestartAcquisitionPrograms. This just takes a few seconds. It can be really noisy after you do this so you should go to Tune and load vv-now.&lt;br /&gt;
&amp;lt;br&amp;gt;NOTE: Always alert [[Contacts|Candida Ustine]] the MEG Engineer before doing this!&lt;br /&gt;
&lt;br /&gt;
===Noisy Channels===&lt;br /&gt;
Sometimes some MEG channels may look noisy, either with sporadic electronic spikes or be flat, in those cases you will have to Tune the channels.&lt;br /&gt;
Please do not tune the channels by yourself, please make sure to ask the MEG Engineer for further assistance.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=MEG_Lab_Etiquette&amp;diff=13</id>
		<title>MEG Lab Etiquette</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=MEG_Lab_Etiquette&amp;diff=13"/>
		<updated>2019-05-24T20:11:39Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Laboratory Safety=  No matter how important the study, safety always comes first. The usual rules of any lab apply to the MEG, but some additional points unique to using MEG...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Laboratory Safety=&lt;br /&gt;
&lt;br /&gt;
No matter how important the study, safety always comes first. The usual rules of any lab apply to the MEG, but some additional points unique to using MEG are worth stressing.  No measurements should be made prior to reading the following section!&lt;br /&gt;
&lt;br /&gt;
===Before entering the MSR===&lt;br /&gt;
Subjects may not enter the magnetically shielded room (MSR) without signing a '''consent form'''.  Anyone entering the MSR must first “de-metal” (empty pockets; remove jewelry, watches, wallets, cell phones, beepers, hairclips; leave pens, clipboards etc. outside).  &lt;br /&gt;
&amp;lt;br&amp;gt;Don’t use paper clips or other small metal objects (staples, etc.) around the MSR; they tend to land on the floor and find their way inside the room.&lt;br /&gt;
&lt;br /&gt;
=Dos and Don'ts for MEG=&lt;br /&gt;
&lt;br /&gt;
==Experimenter==&lt;br /&gt;
There are a few important things one will need top know before you begin using the MEG machine. &lt;br /&gt;
&lt;br /&gt;
* '''Do not open the door to the MEG chamber''', the MSR (Magnetically Shielded Room) when MEG acquisition is in session. Opening the MSR during acquisition during session will overload the sensitive SQUIDs and damage the system beyond repair. &lt;br /&gt;
&lt;br /&gt;
* The MEG machine uses '''LIQUID HELIUM'''. It is extremely cold, 4K (-269°C, -452°F). If the helium tank leaks, the liquid helium will immediately boil off. This can cause rapid suffocation and severe frostbite. Handle with care.&lt;br /&gt;
&lt;br /&gt;
* If you notice anything strange while doing an experiment (i.e., you suspect a helium leak), open the MSR and '''release the subject''' immediately. Do not leave the room with a subject in the MSR! Someone must be available for help if the subject suddenly has an attack of illness, or if something unexpected happens.&lt;br /&gt;
&lt;br /&gt;
* '''Do not bring ANY magnetic things''' (This includes belts, keys, watches, coins, bras, hair barrettes and pins, eyeglasses and pieces of clothing with magnetic parts.  Objects such as cell phones, pagers, cameras, flashlights, or any other electrical equipment are strictly forbidden.) into the MSR. Strong magnetic fields may cause damage to the MEG sensors.&lt;br /&gt;
&lt;br /&gt;
* Always check the subjects for any Magnetic material before taking them into the MEG chamber. &lt;br /&gt;
&lt;br /&gt;
* Subjects who may arrive unprepared will be issued non-magnetic clothing supplied by the hospital.&lt;br /&gt;
&lt;br /&gt;
* '''No food or beverage''' is allowed inside the MSR!! You may bring food/beverage into the lab, but do NOT bring them into the MSR.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Subject==&lt;br /&gt;
===Subject Preparation and Experimental Setup===&lt;br /&gt;
Before beginning any measurement, several steps must be taken to prepare the subject and the acquisition system. An overview of these steps is as follows:&lt;br /&gt;
====Consenting the Subject====&lt;br /&gt;
You MUST receive the subject’s consent before he or she can begin the study. Please make two copies of each of this document: one for the subject and one for the MEG lab. &lt;br /&gt;
====De-metalling====&lt;br /&gt;
Have the subject empty pockets, remove all jewelry, glasses, wire-bras, etc and take off shoes (see above). All subjects are required to wear hospital-issued pants, and if necessary (due to non-removable metal on shirts), subjects can be provided with tops and robes. Those subjects requiring glasses will be given special non-magnetic frames and lenses.  Experimenters should also de-metal to the extent of removing items from pockets, jewelry, ID tags, etc, and most importantly anything electronic. (It is not necessary to remove glasses so long as you do not bring your face especially close to the sensors).&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Getting_Started&amp;diff=12</id>
		<title>Getting Started</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Getting_Started&amp;diff=12"/>
		<updated>2019-05-24T20:11:10Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Getting Started in the MEG Lab=  Welcome to the MCW - Froedtert's MEG facility! If you would like to tour the facilities please contact our MEG Lab Manager Contacts|Dr. Jef...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Getting Started in the MEG Lab=&lt;br /&gt;
&lt;br /&gt;
Welcome to the MCW - Froedtert's MEG facility! If you would like to tour the facilities please contact our MEG Lab Manager [[Contacts|Dr. Jeff Stout]] or our MEG Engineer [[Contacts|Candida Jane Maria Ustine]]. If you would like to speak with someone about incorporating the MEG technique into your research work, please contact our Research Director, [[Contacts|Dr. Colin Humphries]].&lt;br /&gt;
&lt;br /&gt;
=Getting Trained=&lt;br /&gt;
Before new researchers can start using the MEG facility at Froedtert, they will have to be trained on how to use the system and also informed about the dos and donts in the lab. Please contact [[Contacts|Candida Ustine]] to arrange for a training session. &lt;br /&gt;
&lt;br /&gt;
Please read the page on [[MEG_Lab_Etiquette |MEG Lab Etiquette]] before you begin.&lt;br /&gt;
&lt;br /&gt;
=Reserving Measurement and Analysis Time=&lt;br /&gt;
Once you ready with your experiment and would like to start testing you will have to reserve the MEG machine for your study. &lt;br /&gt;
&lt;br /&gt;
All time requests for the MEG should be submitted directly to Robert Rohloff, rrohloff@mcw.edu&lt;br /&gt;
&lt;br /&gt;
===Tech Support===&lt;br /&gt;
&lt;br /&gt;
'''Possible tech-supported measurement times for Research purposes are: Weekdays from 1pm-5pm'''&lt;br /&gt;
&lt;br /&gt;
Weekend scanning can be arranged upon prior request and approval. &lt;br /&gt;
&lt;br /&gt;
Tuesdays are reserved for the helium fill. All Mornings are reserved for Clinical studies.&lt;br /&gt;
&lt;br /&gt;
=== MEG Calendar===&lt;br /&gt;
&lt;br /&gt;
See [[Getting_Access|MEG Calendar]] for more info.&lt;br /&gt;
&lt;br /&gt;
=Helpful References/Manuals=&lt;br /&gt;
Paper copies of the Elekta Neuromag manuals can be found in the cabinets located above the acquisition desk.  Various stimulus system manuals can also be found in the lab. Tech support will be available to all new users, but please '''familiarize yourself with the stimulus and Elekta Neuromag manuals''' (in addition to this introductory manual) before beginning any recordings.&lt;br /&gt;
&lt;br /&gt;
'''List of References:'''&lt;br /&gt;
&amp;lt;br&amp;gt; &lt;br /&gt;
# [http://www.unicog.org/pm/uploads/MEG/NM23065A%20Dacq-4.0_Users_Manual.pdf Elekta Neuromag Manual]&lt;br /&gt;
# [http://www.megwiki.org/images/a/aa/MaxFilter-2.0.pdf Maxfilter]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Freesurfer&amp;diff=11</id>
		<title>Freesurfer</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Freesurfer&amp;diff=11"/>
		<updated>2019-05-24T20:10:32Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;== Introduction ==  Freesurfer is a software package developed at the [http://www.nmr.mgh.harvard.edu/ Martinos Center for Biomedical Imaging] for performing surface-based ana...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Freesurfer is a software package developed at the [http://www.nmr.mgh.harvard.edu/ Martinos Center for Biomedical Imaging] for performing surface-based analyses of brain imaging data.&lt;br /&gt;
&lt;br /&gt;
== Documentation ==&lt;br /&gt;
&lt;br /&gt;
A comprehensive description of using the various tools in Freesurfer can be found at the [http://surfer.nmr.mgh.harvard.edu/fswiki Freesurfer Wiki].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
[[Creating a surface in Freesurfer]]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Brainstorm&amp;diff=10</id>
		<title>Brainstorm</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Brainstorm&amp;diff=10"/>
		<updated>2019-05-24T20:09:55Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Introduction= Brainstorm is a very user friendly software for MEEG data analysis, that is predominantly GUI driven. This page will give you information on how to use Brainsto...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Brainstorm is a very user friendly software for MEEG data analysis, that is predominantly GUI driven. This page will give you information on how to use Brainstorm to analyse your neuromag MEEG data collected at the MCW-Froedtert facility. &lt;br /&gt;
&lt;br /&gt;
=Download=&lt;br /&gt;
The software can be downloaded from the [http://neuroimage.usc.edu/bst/download.php Brainstorm Download] page. Instructions on how to install are also found there. NOTE that you will need to have MATLAB installed on your machine, but stand-alone versions of the software can also be installed. &lt;br /&gt;
&lt;br /&gt;
=Using Brainstorm with Neuromag= &lt;br /&gt;
TO BE COMPLETED&lt;br /&gt;
&lt;br /&gt;
=Creating your own pipleine=&lt;br /&gt;
TO BE COMPLETED&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=FieldTrip&amp;diff=9</id>
		<title>FieldTrip</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=FieldTrip&amp;diff=9"/>
		<updated>2019-05-24T20:09:28Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Introduction=   FieldTrip is a Free and Open Source MATLAB based toolbox for MEEG analysis. It is developed by the Donders Institute for Brain, Cognition and Behaviour. Field...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction= &lt;br /&gt;
&lt;br /&gt;
FieldTrip is a Free and Open Source MATLAB based toolbox for MEEG analysis. It is developed by the Donders Institute for Brain, Cognition and Behaviour. FieldTrip can read and work with all commercial MEG data formats. It can do all parts of analyses, preprocessing, artifact removal, averaging, source analyses and much more.&lt;br /&gt;
&lt;br /&gt;
=Importing Neuromag(*.fif) in FieldTrip=&lt;br /&gt;
&lt;br /&gt;
Fieldtrip can import neuromag data but there is a special way to do this. Follow the following commands to read and import your Neuromag306 data in fieldtrip and work on it as a matlab data structure. &lt;br /&gt;
&lt;br /&gt;
*hdr = ft_read_header('cu1_AudioRun1_raw.fif')&lt;br /&gt;
*dat = ft_read_data('cu1_AudioRun1_raw.fif')&lt;br /&gt;
*Fevents = ft_read_event('cu1_AudioRun1_raw.fif')&lt;br /&gt;
*cfg.headerfile = 'cu1_AudioRun1_raw.fif'&lt;br /&gt;
*cfg.inputfile = 'cu1_AudioRun1_raw.fif'&lt;br /&gt;
*cfg.dataset = 'cu1_AudioRun1_raw.fif'&lt;br /&gt;
*cfg = ft_definetrial(cfg)&lt;br /&gt;
*To define the trials&lt;br /&gt;
**F = []&lt;br /&gt;
**[len, ~] = size(Fevents);&lt;br /&gt;
**for i = 1:len&lt;br /&gt;
**   %disp(Fevents(i).sample);&lt;br /&gt;
**   F = [F, Fevents(i).sample];&lt;br /&gt;
**end&lt;br /&gt;
**F = F';&lt;br /&gt;
**endS = F(:,1);&lt;br /&gt;
**begS = F(:,1);&lt;br /&gt;
**endS = endS(2:len);&lt;br /&gt;
**begS = begS(1:len-1);&lt;br /&gt;
**offset = zeros(1,len-1)';&lt;br /&gt;
**samples = horzcat(begS, endS, offset)&lt;br /&gt;
*cfg.trl = samples&lt;br /&gt;
&lt;br /&gt;
=Artifact Removal= &lt;br /&gt;
==ICA Artifact Removal==&lt;br /&gt;
See the [http://fieldtrip.fcdonders.nl/example/use_independent_component_analysis_ica_to_remove_ecg_artifacts ICA for ECG] page for information on how to apply ICA projection on your raw data to remove ECG - heart beat artifact.&lt;br /&gt;
&amp;lt;br&amp;gt; Useful mailists answers: http://mailman.science.ru.nl/pipermail/fieldtrip/2012-April/005011.html&lt;br /&gt;
&lt;br /&gt;
=Converting FieldTrip to Neuromag Raw FIFF=&lt;br /&gt;
Once you are satisfied with the necessary data processing steps in the FieldTrip environment in MATLAB, you can write the raw data back to the Neuromag FIFF structure that can be read by mne. &lt;br /&gt;
&lt;br /&gt;
== Steps to Follow ==&lt;br /&gt;
* Open Matlab &lt;br /&gt;
* Have the data struct ready after you are done with FT processing(eg: ft_preprocessing, ft_resampledata etc.,)&lt;br /&gt;
* ft_defaults&lt;br /&gt;
* fifffile = [pathstr filesep name '.fif'];&lt;br /&gt;
* data   = ft_checkdata(data, 'datatype', {'raw', 'timelock'}, 'feedback', 'yes');&lt;br /&gt;
* info = data.hdr.orig; &lt;br /&gt;
* [outfid, cals] = fiff_start_writing_raw(fifffile, info);&lt;br /&gt;
* fiff_write_raw_buffer(outfid, data.trial, cals);&lt;br /&gt;
**NOTE that the channel data structures must match the buffer and the calibration struc obtained from the data.hdr struct&lt;br /&gt;
**Make sure you are writing all the trials into the raw fiff file. For this purpose, you can set one sample to hold the entire time period. &lt;br /&gt;
* fiff_finish_writing_raw(outfid);&lt;br /&gt;
&lt;br /&gt;
=Time Lock analysis = &lt;br /&gt;
When you have pre-processed your data and have run the ICA analysis to clean the data you are now ready to proceed to the sensor level analysis. This is done by calling the ft_timelockanalysis and ft_timelockgrandaverage commands in FieldTrip. Follow the commands below for computing the average across runs within a subject and for computing the average of a run for a specified trial condition.&lt;br /&gt;
&lt;br /&gt;
===Within Subject Average === &lt;br /&gt;
# cfg = []&lt;br /&gt;
# cfg.channel = meg&lt;br /&gt;
# cfg.vartrllength = 1 % Accept variable length trials&lt;br /&gt;
# tl_run1 = ft_timelockanalysis(cfg, run1.data_clean)&lt;br /&gt;
# tl_run2 = ft_timelockanalysis(cfg, run2.data_clean)&lt;br /&gt;
# cfg = []&lt;br /&gt;
# cfg.keepindividual = 'no'&lt;br /&gt;
# cfg.channel = meg&lt;br /&gt;
# cfg.method = 'within'&lt;br /&gt;
# cfg.parameter = 'avg'&lt;br /&gt;
# [tl_all] = ft_timelockgrandaverage(cfg, tl_run1, tl_run2)&lt;br /&gt;
&lt;br /&gt;
===Plotting Averages ===&lt;br /&gt;
# cfg = []&lt;br /&gt;
# cfg.showoutline = 'yes'&lt;br /&gt;
# cfg.layout = 'neuromag306mag.lay'&lt;br /&gt;
# cfg.xlim = [0.0 0.5] You can edit the time window here&lt;br /&gt;
# ft_multiplotER(cfg, tl_all)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Source Analyses= &lt;br /&gt;
==Preparing Anatomical and Spatial Information== &lt;br /&gt;
# ft_defaults&lt;br /&gt;
# [mri] = ft_read_mri('MPRAGE.nii')&lt;br /&gt;
&lt;br /&gt;
=Common Issues= &lt;br /&gt;
===1) ICA on Neuromag MEG: runica error===&lt;br /&gt;
Problem: surf, X, Y, Z, S cant be complex &lt;br /&gt;
&amp;lt;br&amp;gt;Solution: Do not include the Reference channel in the cfg or the other option is to specify the components to be 1 less than the number of channels you would like in the component analysis. Read the links below for more detailed info and for commands to included in your script. &lt;br /&gt;
&amp;lt;br&amp;gt;http://mailman.science.ru.nl/pipermail/fieldtrip/2013-October/007067.html&lt;br /&gt;
&amp;lt;br&amp;gt;http://fieldtrip.fcdonders.nl/faq/why_does_my_ica_output_contain_complex_numbers&lt;br /&gt;
&lt;br /&gt;
===2) fiff_start_file: Permission denied===&lt;br /&gt;
See here: http://mailman.science.ru.nl/pipermail/fieldtrip/2014-March/007748.html&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=MNE&amp;diff=8</id>
		<title>MNE</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=MNE&amp;diff=8"/>
		<updated>2019-05-24T20:08:58Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;Link to Page:    [http://martinos.org/mne/stable/index.html MNE Python Homepage]&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Link to Page: &lt;br /&gt;
 &lt;br /&gt;
[http://martinos.org/mne/stable/index.html MNE Python Homepage]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Anaconda&amp;diff=7</id>
		<title>Anaconda</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Anaconda&amp;diff=7"/>
		<updated>2019-05-24T20:08:29Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;  ==Install anaconda==  https://docs.continuum.io/anaconda/install  Open your .cshrc file and add the following lines depending on the version you downloaded   set path = (/ho...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Install anaconda==&lt;br /&gt;
&lt;br /&gt;
https://docs.continuum.io/anaconda/install&lt;br /&gt;
&lt;br /&gt;
Open your .cshrc file and add the following lines depending on the version you downloaded&lt;br /&gt;
&lt;br /&gt;
 set path = (/home/custine/anaconda2/bin $path)&lt;br /&gt;
&lt;br /&gt;
To use a specific version of python say for example Python version 2.7: (In Linux) &lt;br /&gt;
 &lt;br /&gt;
 conda create -n py27 python=2.7 anaconda&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Useful Webpages: &lt;br /&gt;
* https://docs.continuum.io/anaconda/faq#does-anaconda-include-python-2-or-python-3&lt;br /&gt;
&lt;br /&gt;
==Installing MNE python dependencies==&lt;br /&gt;
&lt;br /&gt;
 conda install scipy matplotlib scikit-learn mayavi ipython-notebook&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Data_Transfer&amp;diff=6</id>
		<title>Data Transfer</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Data_Transfer&amp;diff=6"/>
		<updated>2019-05-24T20:07:29Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;=Transfer of Data from the MEG Suite=  When you are done collecting data you will have to transfer the raw.fif datasets over to your own workstation outside of Froedtert. The...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Transfer of Data from the MEG Suite=&lt;br /&gt;
&lt;br /&gt;
When you are done collecting data you will have to transfer the raw.fif datasets over to your own workstation outside of Froedtert. The data data acquired at the MEG facility at Froedtert must be processed with SSS as the Suite has Active Shielding. &lt;br /&gt;
&lt;br /&gt;
The raw data is convereted into SSS raw data and then handed over to the Researcher. Please contact the [[Contacts|MEG engineer Candida Ustine]] for this purpose. As soon as you are done collecting data, the Engineer will do the initial processing and have the _raw.fif and _raw_sss.fif data ready for you. You will then have to transfer the data(sftp) over to your machine.&lt;br /&gt;
&lt;br /&gt;
==fileZilla==&lt;br /&gt;
&lt;br /&gt;
For the purpose of secure data transfer, the raw.fifs will be hosted in the Froedtert server for '''only 7 days'''. PLEASE be mindful that data will be refreshed every 7 days and any old data will be deleted. It is your responsibility to copy files over from the Froedtert server over to your local machine. &lt;br /&gt;
&lt;br /&gt;
As soon as you finish data collection, the raw.fif are converted to sss_raw.fif and saved under a folder hosted by the Froedtert server.The name of the folder will be the name of your institution. You will have to connect to this server from your local machine via the fileZilla client and then use the password assigned to your institution and copy the data over from the server over to your machine.&lt;br /&gt;
&lt;br /&gt;
Please contact [[Contacts|Candida Jane Maria Ustine]] for your secure Institutional password.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Contacts&amp;diff=5</id>
		<title>Contacts</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Contacts&amp;diff=5"/>
		<updated>2019-05-24T20:06:36Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;__NOTOC__  The MEG Lab and its Personnel are spread across the Medical College of Wisconsin and the Froedtert Hospital. Here are a list of Personnel who are involved in the ME...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
&lt;br /&gt;
The MEG Lab and its Personnel are spread across the Medical College of Wisconsin and the Froedtert Hospital. Here are a list of Personnel who are involved in the MEG Program. &lt;br /&gt;
&lt;br /&gt;
'''MCW PEOPLE DIRECTORY:''' If you are looking for someone not in this list, go to the [http://infoscope.mcw.edu/mcwephonebook.htm? MCW Directory] website. &lt;br /&gt;
&lt;br /&gt;
=At MCW=&lt;br /&gt;
&amp;lt;table style=&amp;quot;background: inherit;&amp;quot; border=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;20%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td style=&amp;quot;border: 1px solid gray&amp;quot; width=&amp;quot;33%&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manoj Raghavan, MD, PhD===&lt;br /&gt;
Medical Director&lt;br /&gt;
&amp;lt;br&amp;gt;mraghavan@mcw.edu&lt;br /&gt;
&lt;br /&gt;
===Colin Humphries, PhD===&lt;br /&gt;
Research Director &lt;br /&gt;
&amp;lt;br&amp;gt;chumphri@mcw.edu&lt;br /&gt;
&amp;lt;br&amp;gt;(414)-456-4660&lt;br /&gt;
&lt;br /&gt;
===Jeff Stout, PhD===&lt;br /&gt;
MEG Technical Manager&lt;br /&gt;
&amp;lt;br&amp;gt;jstout@mcw.edu&lt;br /&gt;
&amp;lt;br&amp;gt;(414)-805-1174&lt;br /&gt;
&lt;br /&gt;
===Candida Jane Maria Ustine, M.Eng===&lt;br /&gt;
MEG Engineer&lt;br /&gt;
&amp;lt;br&amp;gt;custine@mcw.edu&lt;br /&gt;
&amp;lt;br&amp;gt; (414) 955-7376&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Equipment&amp;diff=4</id>
		<title>Equipment</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Equipment&amp;diff=4"/>
		<updated>2019-05-24T20:05:39Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;&amp;lt;DIV align=&amp;quot;right&amp;quot;&amp;gt;Go back to: Main Page&amp;lt;/DIV&amp;gt;  =MEG= == Elekta Vectorview Scanner ==  Our Program is equipped with state-of-the-art MEG instrumentation.  * 306 MEG channe...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;DIV align=&amp;quot;right&amp;quot;&amp;gt;Go back to: [[Main Page]]&amp;lt;/DIV&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=MEG=&lt;br /&gt;
== Elekta Vectorview Scanner ==&lt;br /&gt;
&lt;br /&gt;
Our Program is equipped with state-of-the-art MEG instrumentation.&lt;br /&gt;
&lt;br /&gt;
* 306 MEG channels (204 planar gradiometers and 102 magnetometers)&lt;br /&gt;
* 60 simultaneous EEG channels&lt;br /&gt;
* Sampling up to 5 KHz&lt;br /&gt;
* Simultaneous ECG, EOG recordings&lt;br /&gt;
* Simultaneous recording of 8 analog channels (for e.g. audio, respiration, skin conductance, etc.)&lt;br /&gt;
* Magnetic shielding provided by a 7-tons magnetically-shielded room with active flux compensation (MaxShield™ technology, Elekta)&lt;br /&gt;
* Online head-movement monitoring and offline correction provided by MaxMove™ technology (Elekta)&lt;br /&gt;
* MEG measurements can be done in supine and seated position.&lt;br /&gt;
&lt;br /&gt;
=EEG=&lt;br /&gt;
64 channels&lt;br /&gt;
TO BE COMPLETED&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=MEG_at_the_Medical_College_of_Wisconsin&amp;diff=3</id>
		<title>MEG at the Medical College of Wisconsin</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=MEG_at_the_Medical_College_of_Wisconsin&amp;diff=3"/>
		<updated>2019-05-24T20:04:00Z</updated>

		<summary type="html">&lt;p&gt;Colin: Created page with &amp;quot;= About MEG =  Magnetoencephalography (MEG) is a non-invasive diagnostic tool that can help neurologists and neurosurgeons evaluate and map brain activity before surgery. MEG...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= About MEG =&lt;br /&gt;
&lt;br /&gt;
Magnetoencephalography (MEG) is a non-invasive diagnostic tool that can help neurologists and neurosurgeons evaluate and map brain activity before surgery. MEG offers a way to localize brain activity with a high spatial and temporal resolution, and represents a significant advance in the care of patients with brain tumors or severe epilepsy. A MEG scan is performed as an outpatient procedure.&lt;br /&gt;
&lt;br /&gt;
See the [http://www.mcw.edu/MEG/AboutMEG.htm MCW MEG Program] website for more detailed information on the MEG system, its physical significance and application.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=MEG system=&lt;br /&gt;
Froedtert &amp;amp; the Medical College of Wisconsin are the first in Wisconsin to offer MEG in a clinical (patient care) setting. In addition to clinical uses for neurosurgical planning, Froedtert &amp;amp; the Medical College conduct research studies using MEG to further develop this technology.  &lt;br /&gt;
&lt;br /&gt;
See [[Equipment]] for further information on the Instrumentation in the Building. &lt;br /&gt;
TO BE COMPLETED. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Location and Contact Info=&lt;br /&gt;
&lt;br /&gt;
The MEG lab is located in Froedtert Hospital at the Milwaukee Regional Medical campus.  Our address is:&lt;br /&gt;
&lt;br /&gt;
 MEG Laboratory&lt;br /&gt;
 Froedtert Hospital&lt;br /&gt;
 9200 W. Wisconsin Ave&lt;br /&gt;
 Milwaukee, WI, 63226&lt;br /&gt;
 Phone: +1 414 805 1106&lt;br /&gt;
 Fax: +1 414 805 1103&lt;br /&gt;
&lt;br /&gt;
For directions by car: [http://www.froedtert.com/locations/froedtert-directions See here]&lt;br /&gt;
&lt;br /&gt;
We are located on the lower level in the connector tunnel between Froedtert and Children’s Hospitals.  Patients and clinical subjects are scheduled through the Neurophysiology Lab: EEG, EMG, EVP and should check into that department before coming to the MEG lab for a scan.&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
	<entry>
		<id>https://www.neuro.mcw.edu/meg/index.php?title=Main_Page&amp;diff=2</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://www.neuro.mcw.edu/meg/index.php?title=Main_Page&amp;diff=2"/>
		<updated>2019-05-24T20:02:28Z</updated>

		<summary type="html">&lt;p&gt;Colin: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__NOTOC__&lt;br /&gt;
{| cellspacing=&amp;quot;5&amp;quot; cellpadding=&amp;quot;20&amp;quot; width=&amp;quot;100%&amp;quot; style=&amp;quot;border: 1px solid blue&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;DIV align=&amp;quot;left&amp;quot; style=&amp;quot;color: blue; FONT-size: 200%&amp;quot;&amp;gt;Welcome to the MCW MEG wiki!&amp;lt;/DIV&amp;gt;&lt;br /&gt;
These pages would give you an overview about MEG, its physics and how to record and analyse your datasets acquired here at MCW. Please feel free to [[Contacts|contact us]] with any updates or information you would like to share on this wiki page. Thanks and hope you would find this useful! &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;table style=&amp;quot;background: inherit;&amp;quot; border=&amp;quot;0&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;20%&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr valign=&amp;quot;top&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;td width=50%&amp;gt;&lt;br /&gt;
== SiteMap ==&lt;br /&gt;
&lt;br /&gt;
* [[MEG at the Medical College of Wisconsin]] &lt;br /&gt;
* [[Equipment|MEG/EEG Instrumentation]]&lt;br /&gt;
* [[MEG Physics]]&lt;br /&gt;
&lt;br /&gt;
==People==&lt;br /&gt;
*[[Contacts]]&lt;br /&gt;
 &lt;br /&gt;
==Computing==&lt;br /&gt;
*[[Data Transfer]]&lt;br /&gt;
*[[SQUIGGLES COMPUTER]]&lt;br /&gt;
&lt;br /&gt;
==Useful Websites==&lt;br /&gt;
* Official Medical College of Wisconsin MEG Website: [http://www.mcw.edu/MEG/AboutMEG.htm MEG Program at MCW]&lt;br /&gt;
* MEG Principles and Neuronal Basics: [http://www.mcw.edu/MEG/AboutMEG/MEGPrinciples/Physiologicalsourcesofelectromagneticfields.htm MEG Basics]&lt;br /&gt;
* MCW People Directory: [http://infoscope.mcw.edu/mcwephonebook.htm? Phone Book]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==MEG Lab News==&lt;br /&gt;
*[[News and Updates]]&lt;br /&gt;
*[[MEG Talks]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
*[[Anaconda]]&lt;br /&gt;
*[[MNE]]&lt;br /&gt;
*[[FieldTrip]]&lt;br /&gt;
*[[Brainstorm]]&lt;br /&gt;
*[[Freesurfer]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Information for New MEG studies==&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td valign=&amp;quot;top&amp;quot; width=50%&amp;gt;&lt;br /&gt;
'''Running MEG Studies at MCW'''&lt;br /&gt;
*[[Getting Started]]&lt;br /&gt;
*[[MEG Lab Etiquette]]&lt;br /&gt;
*[[Scanning Specifics]]&lt;br /&gt;
*[[MEG Acquisition]]&lt;br /&gt;
*[[Getting Access]]&lt;br /&gt;
*[[FAQs]]&lt;br /&gt;
*[[MRI Acquisition]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td valign=&amp;quot;top&amp;quot; width=50%&amp;gt;&lt;br /&gt;
'''Experimental Presentation and Trigger Information'''&lt;br /&gt;
&lt;br /&gt;
*[[Designing your Experiment | Experimental Setup]]&lt;br /&gt;
*[[Psychopy]]&lt;br /&gt;
*[[EPrime]]&lt;br /&gt;
*[[Sending/Receiving triggers through parallel port interface]]&lt;br /&gt;
&lt;br /&gt;
'''Data Quality'''&lt;br /&gt;
*[[Artifacts in MEG data]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Epilepsy Connectome Project==&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td valign=&amp;quot;top&amp;quot; width=50%&amp;gt;&lt;br /&gt;
'''MEG - Epilepsy Connectome at MCW'''&lt;br /&gt;
*[[Using GitLab]]&lt;br /&gt;
*[[Data Acquisition Protocol]]&lt;br /&gt;
*[[ECP Analysis Pipelines]]&lt;br /&gt;
*[[FAQs]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt; &amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MEG Analyses ==&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td valign=&amp;quot;top&amp;quot; width=50%&amp;gt;&lt;br /&gt;
'''Pipeline'''&lt;br /&gt;
*[[Scripts]]&lt;br /&gt;
*[[Pre-Processing]]&lt;br /&gt;
*[[MEG Artifact Correction]]&lt;br /&gt;
*[[Sensor Level]]&lt;br /&gt;
*[[Source Level]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;td valign=&amp;quot;top&amp;quot; width=&amp;quot;50%&amp;quot;&amp;gt;&lt;br /&gt;
'''Software''' &lt;br /&gt;
*[[MNE]]&lt;br /&gt;
*[[FieldTrip]]&lt;br /&gt;
*[[Brainstorm]]&lt;br /&gt;
*[[Freesurfer]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== MEG Tutorials ==&lt;br /&gt;
*[[EEG re-reference with Brainstorm]]&lt;/div&gt;</summary>
		<author><name>Colin</name></author>
	</entry>
</feed>