<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.ccn.ucla.edu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alhead</id>
	<title>Center for Cognitive Neuroscience - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.ccn.ucla.edu/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alhead"/>
	<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php/Special:Contributions/Alhead"/>
	<updated>2026-05-06T08:04:53Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Accessing_the_Cluster&amp;diff=2825</id>
		<title>Hoffman2:Accessing the Cluster</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Accessing_the_Cluster&amp;diff=2825"/>
		<updated>2014-11-20T19:21:58Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hoffman2|Back to all things Hoffman2]]&lt;br /&gt;
&lt;br /&gt;
Here are some of our favorite ways to access the Hoffman2 Cluster login nodes.&lt;br /&gt;
&lt;br /&gt;
==SSH - Command Line==&lt;br /&gt;
SSH stands for &#039;&#039;Secure Shell&#039;&#039; and is a method of remotely logging into a computer using an encrypted connection.  It is a command line tool and is available on most *nix-based operating systems with ports available for Windows.&lt;br /&gt;
&lt;br /&gt;
===Mac/Linux/Unix===&lt;br /&gt;
====Simple SSH====&lt;br /&gt;
Use the ssh command from a terminal:&lt;br /&gt;
 ssh login_id@hoffman2.idre.ucla.edu&lt;br /&gt;
where login_id is replaced by your cluster user name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====GUI-Enabled SSH [Recommended]====&lt;br /&gt;
Macs (post - Snow Leopard 10.6.x) no longer come with a X Window System Server pre-installed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Before doing the following steps, please install [http://xquartz.macosforge.org/ XQuartz] and restart your computer.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For more information about XQuartz, read [http://support.apple.com/kb/ht5293 here].&lt;br /&gt;
# Open up X11/XQuartz or Terminal.  Both are under &#039;&#039;Applications &amp;gt; Utilities&#039;&#039; on Macs.&lt;br /&gt;
# Type the command&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ssh -X [USERNAME]@hoffman2.idre.ucla.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: filling in your Hoffman2 username.&lt;br /&gt;
#: The &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt; is for X11 Forwarding so that any graphics that are rendered on Hoffman2 get forwarded to the screen of your computer.&lt;br /&gt;
# Press enter and type in your password when it asks for it.  No characters or asterisks will show up while you type.&lt;br /&gt;
# Provided your typing was good, you will be greeted by the Hoffman2 login message and have successfully SSH into a login node.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
# Go [http://hpc.ucla.edu/hoffman2/access/access.php here] and follow the instructions under &#039;&#039;Windows&#039;&#039;.  We recommend PuTTY or Cgywin.&lt;br /&gt;
# Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine&lt;br /&gt;
# TODO: [More information Coming]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NX Client - GUI==&lt;br /&gt;
: &#039;&#039;The official description of how to do this is found [http://hpc.ucla.edu/hoffman2/access/nx.php here]&#039;&#039;&lt;br /&gt;
The NX Client program allows you to set up a Virtual Network Computing (VNC)-like session with Hoffman2.  This session will keep running even if your Internet connection drops in and out (much like [[Using Screen|screen]] on the command line).&lt;br /&gt;
&lt;br /&gt;
===Mac OS X 10.7+ / Windows / Linux===&lt;br /&gt;
==== What You Need====&lt;br /&gt;
# Go to the No Machine website ([https://www.nomachine.com/download No Machine]) and download/install the No Machine for Mac OS X/Windows/Linux.&lt;br /&gt;
# Hoffman2 NX Client Public Key&lt;br /&gt;
#* To get the NX Client Public Key, follow the steps below or email support@ccn.ucla.edu&lt;br /&gt;
#** (OSX/Linux) Open up a Terminal and run the following command (replacing USERNAME with your Hoffman2 username)&lt;br /&gt;
#**:&amp;lt;code&amp;gt;$ scp USERNAME@hoffman2.idre.ucla.edu:/etc/nxserver/client.id_dsa.key ~/Documents/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** (Windows) Use a sftp program and download the file /etc/nxserver/client.id_dsa.key on Hoffman2 (hoffman2.idre.ucla.edu) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Setup====&lt;br /&gt;
# Open up No Machine in Application/Desktop and Click Continue.&lt;br /&gt;
# A window titled &amp;quot;New Connection&amp;quot; will appear.  Fill out the fields accordingly&lt;br /&gt;
#* Protocol -- SSH&lt;br /&gt;
#* Host -- &amp;quot;hoffman2.idre.ucla.edu&amp;quot;&lt;br /&gt;
#* Port -- 22&lt;br /&gt;
&lt;br /&gt;
#* Select &amp;quot;Use the NoMachine login&amp;quot;&lt;br /&gt;
#* Select Alternate Server Key and (...) - and find the file (client.id_dsa.key) you downloaded earlier (in your Documents folder).&lt;br /&gt;
#* Don&#039;t use a proxy&lt;br /&gt;
#* Name -- Something like &amp;quot;Hoffman2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Double click on the connection you just created (it should be the only one in the list).&lt;br /&gt;
# Enter your Hoffman2 username and password and click &amp;quot;OK&amp;quot; (You may also check the box labeled &amp;quot;Save this setting in the configuration file&amp;quot; to avoid retyping this in the future)&lt;br /&gt;
# Select &amp;quot;Create a new session&amp;quot;. or &amp;quot;New Virtual Desktop&amp;quot;&lt;br /&gt;
# In the next menu, select Create new &#039;&#039;&#039;GNOME&#039;&#039;&#039; virtual desktop.&lt;br /&gt;
# A virtual desktop should appear!&lt;br /&gt;
&lt;br /&gt;
Reconnections in this client are not currently supported for Hoffman2, so please make sure to logout and close your connections properly. [http://hpc.ucla.edu/hoffman2/access/nx.php#logout]&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
If your NX Client session freezes and you are unable to close it properly, open &#039;&#039;NX Session Administrator&#039;&#039; and disconnect your session from there. This freezing often occurs when your Internet connection is lost abruptly. Another possible cause for freezing is scrolling on certain Windows touchpads.&lt;br /&gt;
&lt;br /&gt;
For more Information [[http://hpc.ucla.edu/hoffman2/access/nx.php Hoffman2 NX Client]]&lt;br /&gt;
&lt;br /&gt;
If you are unable to open Firefox (&amp;quot;Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.&amp;quot;), deleting ~/.mozilla might fix the problem. &#039;&#039;Be warned:&#039;&#039; this will erase your profile, including bookmarks, history, saved passwords, etc! For instructions on backing up and restoring profile information, see [https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles Mozilla Support]. Make sure to perform these actions within No Machine, and not on your local system.&lt;br /&gt;
&lt;br /&gt;
== Change Passwords ==&lt;br /&gt;
Once you&#039;ve logged on and made sure its works, you can change your password to something more rememberable &lt;br /&gt;
To change passwords, logon and type:&lt;br /&gt;
 passwd&lt;br /&gt;
It should ask you for your old password and then new ones. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
*[http://hpc.ucla.edu/hoffman2/access/access.php Hoffman2 Access]&lt;br /&gt;
*[http://hpc.ucla.edu/hoffman2/access/nx.php Hoffman2 via NX Client]&lt;br /&gt;
*[[Hoffman2:Accessing_the_Cluster-Historical_Notes | Historical Notes]]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Accessing_the_Cluster&amp;diff=2824</id>
		<title>Hoffman2:Accessing the Cluster</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Accessing_the_Cluster&amp;diff=2824"/>
		<updated>2014-11-20T19:20:52Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* Troubleshooting */ Added information about firefox failing to open&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hoffman2|Back to all things Hoffman2]]&lt;br /&gt;
&lt;br /&gt;
Here are some of our favorite ways to access the Hoffman2 Cluster login nodes.&lt;br /&gt;
&lt;br /&gt;
==SSH - Command Line==&lt;br /&gt;
SSH stands for &#039;&#039;Secure Shell&#039;&#039; and is a method of remotely logging into a computer using an encrypted connection.  It is a command line tool and is available on most *nix-based operating systems with ports available for Windows.&lt;br /&gt;
&lt;br /&gt;
===Mac/Linux/Unix===&lt;br /&gt;
====Simple SSH====&lt;br /&gt;
Use the ssh command from a terminal:&lt;br /&gt;
 ssh login_id@hoffman2.idre.ucla.edu&lt;br /&gt;
where login_id is replaced by your cluster user name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====GUI-Enabled SSH [Recommended]====&lt;br /&gt;
Macs (post - Snow Leopard 10.6.x) no longer come with a X Window System Server pre-installed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Before doing the following steps, please install [http://xquartz.macosforge.org/ XQuartz] and restart your computer.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For more information about XQuartz, read [http://support.apple.com/kb/ht5293 here].&lt;br /&gt;
# Open up X11/XQuartz or Terminal.  Both are under &#039;&#039;Applications &amp;gt; Utilities&#039;&#039; on Macs.&lt;br /&gt;
# Type the command&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ssh -X [USERNAME]@hoffman2.idre.ucla.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: filling in your Hoffman2 username.&lt;br /&gt;
#: The &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt; is for X11 Forwarding so that any graphics that are rendered on Hoffman2 get forwarded to the screen of your computer.&lt;br /&gt;
# Press enter and type in your password when it asks for it.  No characters or asterisks will show up while you type.&lt;br /&gt;
# Provided your typing was good, you will be greeted by the Hoffman2 login message and have successfully SSH into a login node.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
# Go [http://hpc.ucla.edu/hoffman2/access/access.php here] and follow the instructions under &#039;&#039;Windows&#039;&#039;.  We recommend PuTTY or Cgywin.&lt;br /&gt;
# Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine&lt;br /&gt;
# TODO: [More information Coming]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NX Client - GUI==&lt;br /&gt;
: &#039;&#039;The official description of how to do this is found [http://hpc.ucla.edu/hoffman2/access/nx.php here]&#039;&#039;&lt;br /&gt;
The NX Client program allows you to set up a Virtual Network Computing (VNC)-like session with Hoffman2.  This session will keep running even if your Internet connection drops in and out (much like [[Using Screen|screen]] on the command line).&lt;br /&gt;
&lt;br /&gt;
===Mac OS X 10.7+ / Windows / Linux===&lt;br /&gt;
==== What You Need====&lt;br /&gt;
# Go to the No Machine website ([https://www.nomachine.com/download No Machine]) and download/install the No Machine for Mac OS X/Windows/Linux.&lt;br /&gt;
# Hoffman2 NX Client Public Key&lt;br /&gt;
#* To get the NX Client Public Key, follow the steps below or email support@ccn.ucla.edu&lt;br /&gt;
#** (OSX/Linux) Open up a Terminal and run the following command (replacing USERNAME with your Hoffman2 username)&lt;br /&gt;
#**:&amp;lt;code&amp;gt;$ scp USERNAME@hoffman2.idre.ucla.edu:/etc/nxserver/client.id_dsa.key ~/Documents/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** (Windows) Use a sftp program and download the file /etc/nxserver/client.id_dsa.key on Hoffman2 (hoffman2.idre.ucla.edu) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Setup====&lt;br /&gt;
# Open up No Machine in Application/Desktop and Click Continue.&lt;br /&gt;
# A window titled &amp;quot;New Connection&amp;quot; will appear.  Fill out the fields accordingly&lt;br /&gt;
#* Protocol -- SSH&lt;br /&gt;
#* Host -- &amp;quot;hoffman2.idre.ucla.edu&amp;quot;&lt;br /&gt;
#* Port -- 22&lt;br /&gt;
&lt;br /&gt;
#* Select &amp;quot;Use the NoMachine login&amp;quot;&lt;br /&gt;
#* Select Alternate Server Key and (...) - and find the file (client.id_dsa.key) you downloaded earlier (in your Documents folder).&lt;br /&gt;
#* Don&#039;t use a proxy&lt;br /&gt;
#* Name -- Something like &amp;quot;Hoffman2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Double click on the connection you just created (it should be the only one in the list).&lt;br /&gt;
# Enter your Hoffman2 username and password and click &amp;quot;OK&amp;quot; (You may also check the box labeled &amp;quot;Save this setting in the configuration file&amp;quot; to avoid retyping this in the future)&lt;br /&gt;
# Select &amp;quot;Create a new session&amp;quot;. or &amp;quot;New Virtual Desktop&amp;quot;&lt;br /&gt;
# In the next menu, select Create new &#039;&#039;&#039;GNOME&#039;&#039;&#039; virtual desktop.&lt;br /&gt;
# A virtual desktop should appear!&lt;br /&gt;
&lt;br /&gt;
Reconnections in this client are not currently supported for Hoffman2, so please make sure to logout and close your connections properly. [http://hpc.ucla.edu/hoffman2/access/nx.php#logout]&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
If your NX Client session freezes and you are unable to close it properly, open &#039;&#039;NX Session Administrator&#039;&#039; and disconnect your session from there. This freezing often occurs when your Internet connection is lost abruptly. Another possible cause for freezing is scrolling on certain Windows touchpads.&lt;br /&gt;
&lt;br /&gt;
For more Information [[http://hpc.ucla.edu/hoffman2/access/nx.php Hoffman2 NX Client]]&lt;br /&gt;
&lt;br /&gt;
If you are unable to open Firefox (&amp;quot;Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.&amp;quot;), deleting ~/.mozilla might fix the problem. &#039;&#039;Be warned:&#039;&#039; this will erase your profile, including bookmarks, history, saved passwords, etc! For instructions on backing up and restoring profile information, see [https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles Mozilla Support].&lt;br /&gt;
&lt;br /&gt;
== Change Passwords ==&lt;br /&gt;
Once you&#039;ve logged on and made sure its works, you can change your password to something more rememberable &lt;br /&gt;
To change passwords, logon and type:&lt;br /&gt;
 passwd&lt;br /&gt;
It should ask you for your old password and then new ones. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
*[http://hpc.ucla.edu/hoffman2/access/access.php Hoffman2 Access]&lt;br /&gt;
*[http://hpc.ucla.edu/hoffman2/access/nx.php Hoffman2 via NX Client]&lt;br /&gt;
*[[Hoffman2:Accessing_the_Cluster-Historical_Notes | Historical Notes]]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Accessing_the_Cluster&amp;diff=2823</id>
		<title>Hoffman2:Accessing the Cluster</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Accessing_the_Cluster&amp;diff=2823"/>
		<updated>2014-11-19T17:43:39Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* NX Client - GUI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hoffman2|Back to all things Hoffman2]]&lt;br /&gt;
&lt;br /&gt;
Here are some of our favorite ways to access the Hoffman2 Cluster login nodes.&lt;br /&gt;
&lt;br /&gt;
==SSH - Command Line==&lt;br /&gt;
SSH stands for &#039;&#039;Secure Shell&#039;&#039; and is a method of remotely logging into a computer using an encrypted connection.  It is a command line tool and is available on most *nix-based operating systems with ports available for Windows.&lt;br /&gt;
&lt;br /&gt;
===Mac/Linux/Unix===&lt;br /&gt;
====Simple SSH====&lt;br /&gt;
Use the ssh command from a terminal:&lt;br /&gt;
 ssh login_id@hoffman2.idre.ucla.edu&lt;br /&gt;
where login_id is replaced by your cluster user name.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====GUI-Enabled SSH [Recommended]====&lt;br /&gt;
Macs (post - Snow Leopard 10.6.x) no longer come with a X Window System Server pre-installed.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Before doing the following steps, please install [http://xquartz.macosforge.org/ XQuartz] and restart your computer.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For more information about XQuartz, read [http://support.apple.com/kb/ht5293 here].&lt;br /&gt;
# Open up X11/XQuartz or Terminal.  Both are under &#039;&#039;Applications &amp;gt; Utilities&#039;&#039; on Macs.&lt;br /&gt;
# Type the command&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ssh -X [USERNAME]@hoffman2.idre.ucla.edu&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: filling in your Hoffman2 username.&lt;br /&gt;
#: The &amp;lt;code&amp;gt;-X&amp;lt;/code&amp;gt; is for X11 Forwarding so that any graphics that are rendered on Hoffman2 get forwarded to the screen of your computer.&lt;br /&gt;
# Press enter and type in your password when it asks for it.  No characters or asterisks will show up while you type.&lt;br /&gt;
# Provided your typing was good, you will be greeted by the Hoffman2 login message and have successfully SSH into a login node.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
# Go [http://hpc.ucla.edu/hoffman2/access/access.php here] and follow the instructions under &#039;&#039;Windows&#039;&#039;.  We recommend PuTTY or Cgywin.&lt;br /&gt;
# Once you have that setup, the process is the same as if you were on a Mac or Linux/Unix machine&lt;br /&gt;
# TODO: [More information Coming]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==NX Client - GUI==&lt;br /&gt;
: &#039;&#039;The official description of how to do this is found [http://hpc.ucla.edu/hoffman2/access/nx.php here]&#039;&#039;&lt;br /&gt;
The NX Client program allows you to set up a Virtual Network Computing (VNC)-like session with Hoffman2.  This session will keep running even if your Internet connection drops in and out (much like [[Using Screen|screen]] on the command line).&lt;br /&gt;
&lt;br /&gt;
===Mac OS X 10.7+ / Windows / Linux===&lt;br /&gt;
==== What You Need====&lt;br /&gt;
# Go to the No Machine website ([https://www.nomachine.com/download No Machine]) and download/install the No Machine for Mac OS X/Windows/Linux.&lt;br /&gt;
# Hoffman2 NX Client Public Key&lt;br /&gt;
#* To get the NX Client Public Key, follow the steps below or email support@ccn.ucla.edu&lt;br /&gt;
#** (OSX/Linux) Open up a Terminal and run the following command (replacing USERNAME with your Hoffman2 username)&lt;br /&gt;
#**:&amp;lt;code&amp;gt;$ scp USERNAME@hoffman2.idre.ucla.edu:/etc/nxserver/client.id_dsa.key ~/Documents/&amp;lt;/code&amp;gt;&lt;br /&gt;
#** (Windows) Use a sftp program and download the file /etc/nxserver/client.id_dsa.key on Hoffman2 (hoffman2.idre.ucla.edu) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Setup====&lt;br /&gt;
# Open up No Machine in Application/Desktop and Click Continue.&lt;br /&gt;
# A window titled &amp;quot;New Connection&amp;quot; will appear.  Fill out the fields accordingly&lt;br /&gt;
#* Protocol -- SSH&lt;br /&gt;
#* Host -- &amp;quot;hoffman2.idre.ucla.edu&amp;quot;&lt;br /&gt;
#* Port -- 22&lt;br /&gt;
&lt;br /&gt;
#* Select &amp;quot;Use the NoMachine login&amp;quot;&lt;br /&gt;
#* Select Alternate Server Key and (...) - and find the file (client.id_dsa.key) you downloaded earlier (in your Documents folder).&lt;br /&gt;
#* Don&#039;t use a proxy&lt;br /&gt;
#* Name -- Something like &amp;quot;Hoffman2&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Double click on the connection you just created (it should be the only one in the list).&lt;br /&gt;
# Enter your Hoffman2 username and password and click &amp;quot;OK&amp;quot; (You may also check the box labeled &amp;quot;Save this setting in the configuration file&amp;quot; to avoid retyping this in the future)&lt;br /&gt;
# Select &amp;quot;Create a new session&amp;quot;. or &amp;quot;New Virtual Desktop&amp;quot;&lt;br /&gt;
# In the next menu, select Create new &#039;&#039;&#039;GNOME&#039;&#039;&#039; virtual desktop.&lt;br /&gt;
# A virtual desktop should appear!&lt;br /&gt;
&lt;br /&gt;
Reconnections in this client are not currently supported for Hoffman2, so please make sure to logout and close your connections properly. [http://hpc.ucla.edu/hoffman2/access/nx.php#logout]&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
If your NX Client session freezes and you are unable to close it properly, open &#039;&#039;NX Session Administrator&#039;&#039; and disconnect your session from there. This freezing often occurs when your Internet connection is lost abruptly. Another possible cause for freezing is scrolling on certain Windows touchpads.&lt;br /&gt;
&lt;br /&gt;
For more Information [[http://hpc.ucla.edu/hoffman2/access/nx.php Hoffman2 NX Client]]&lt;br /&gt;
&lt;br /&gt;
== Change Passwords ==&lt;br /&gt;
Once you&#039;ve logged on and made sure its works, you can change your password to something more rememberable &lt;br /&gt;
To change passwords, logon and type:&lt;br /&gt;
 passwd&lt;br /&gt;
It should ask you for your old password and then new ones. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
*[http://hpc.ucla.edu/hoffman2/access/access.php Hoffman2 Access]&lt;br /&gt;
*[http://hpc.ucla.edu/hoffman2/access/nx.php Hoffman2 via NX Client]&lt;br /&gt;
*[[Hoffman2:Accessing_the_Cluster-Historical_Notes | Historical Notes]]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=MR&amp;diff=2750</id>
		<title>MR</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=MR&amp;diff=2750"/>
		<updated>2014-09-29T19:04:30Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* Tutorials */  Added eternal link to the FSL tutorial&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A collection of information about MR data from collection to processing/analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Collection==&lt;br /&gt;
How does one collect MR data?&lt;br /&gt;
&lt;br /&gt;
===Staglin===&lt;br /&gt;
The [http://www.semel.ucla.edu/staglin Staglin IMHRO Center for Cognitive Neuroscience] is one of our main data collection facilities.&lt;br /&gt;
*[[StaglinCenter:MR]]&lt;br /&gt;
&lt;br /&gt;
===EEG/FMRI===&lt;br /&gt;
Concurrent data collection of EEG and FMRI is possible at the Staglin Center.&lt;br /&gt;
*[[StaglinCenter:EEG-FMRI]]&lt;br /&gt;
&lt;br /&gt;
===Transfer===&lt;br /&gt;
Data is automatically transferred from a DICOM server to our processing server ([[Hoffman2]]) nightly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Directory Structure==&lt;br /&gt;
Standards are important.  And we&#039;ve got standards about how our MR data should be kept.&lt;br /&gt;
*[[MR:DirectoryStructure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Processing==&lt;br /&gt;
How to process MR data.&lt;br /&gt;
&lt;br /&gt;
===Tutorials===&lt;br /&gt;
Some helpful tutorials about how to process MR data.&lt;br /&gt;
&lt;br /&gt;
*[http://fsl.fmrib.ox.ac.uk/fslcourse/ FSL and FreeSurfer Course]&lt;br /&gt;
&lt;br /&gt;
===Preprocessing===&lt;br /&gt;
Certain preprocessing steps are done to all data.  This is facilitated by an automated script.&lt;br /&gt;
*[[MR:Processing:Preprocessing]]&lt;br /&gt;
&lt;br /&gt;
===DTI===&lt;br /&gt;
*[[MR:Processing:DTI]]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Basic_Preprocessing_and_ICA_in_EEGLAB&amp;diff=2274</id>
		<title>Basic Preprocessing and ICA in EEGLAB</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Basic_Preprocessing_and_ICA_in_EEGLAB&amp;diff=2274"/>
		<updated>2013-04-16T23:32:48Z</updated>

		<summary type="html">&lt;p&gt;Alhead: This page has no content, so I linked to the binica instructions.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Agatha will set up this page.&lt;br /&gt;
&lt;br /&gt;
For now, see [[Hoffman2:MATLAB:EEGLAB#binica|ICA on Hoffman2]].&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=475</id>
		<title>EEG Net Names</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=475"/>
		<updated>2013-04-09T01:48:32Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EEG|Back to all things EEG]]&lt;br /&gt;
&lt;br /&gt;
Users can identify individual EEG nets by serial number or by nickname. In the interests of fun and science, the nets are named after constellations. The names for different categories of nets come from different constellation families.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EEG Only==&lt;br /&gt;
These net names come from the Ursa Major family. Go Bruins!&lt;br /&gt;
&lt;br /&gt;
*Cohen 54-56 cm: Ursa Minor&lt;br /&gt;
&lt;br /&gt;
*Cohen 58-61 cm: Ursa Major&lt;br /&gt;
&lt;br /&gt;
*Feusner 54-56 cm: Lynx&lt;br /&gt;
&lt;br /&gt;
*Feusner 56-58 cm: Boötes&lt;br /&gt;
&lt;br /&gt;
*Feusner 58-61 cm: Draco&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MR Safe==&lt;br /&gt;
These net names come from the signs of the zodiac.&lt;br /&gt;
&lt;br /&gt;
*Older 54-56 cm: Gemini&lt;br /&gt;
&lt;br /&gt;
*Older 56-58 cm: Libra&lt;br /&gt;
&lt;br /&gt;
*Older 56-58 cm: Scorpio&lt;br /&gt;
&lt;br /&gt;
*Newer 58-61 cm: Taurus&lt;br /&gt;
&lt;br /&gt;
*Newer 58-61 cm: Cancer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Modified MR Safe==&lt;br /&gt;
These net names come from the Orion family.&lt;br /&gt;
&lt;br /&gt;
*54-56 cm: Lepus&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Canis Minor&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Canis Major&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Orion&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=474</id>
		<title>EEG Net Names</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=474"/>
		<updated>2013-04-09T01:41:36Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Added a link back to the main EEG page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[EEG|Back to all things EEG]]&lt;br /&gt;
&lt;br /&gt;
Users can identify individual EEG nets by serial number or by nickname. In the interests of fun and science, the nets are named after constellations. The names for different categories of nets come from different constellation families.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EEG Only==&lt;br /&gt;
These net names come from the Ursa Major family. Go Bruins!&lt;br /&gt;
&lt;br /&gt;
*Cohen 54-56 cm: Ursa Minor&lt;br /&gt;
&lt;br /&gt;
*Cohen 58-61 cm: Ursa Major&lt;br /&gt;
&lt;br /&gt;
*Feusner 54-56 cm: Lynx&lt;br /&gt;
&lt;br /&gt;
*Feusner 56-58 cm: Boötes&lt;br /&gt;
&lt;br /&gt;
*Feusner 58-61 cm: Draco&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MR Safe==&lt;br /&gt;
These net names come from the signs of the zodiac.&lt;br /&gt;
&lt;br /&gt;
*Older 54-56 cm: Gemini&lt;br /&gt;
&lt;br /&gt;
*Older 56-58 cm: Libra&lt;br /&gt;
&lt;br /&gt;
*Older 56-58 cm: Scorpio&lt;br /&gt;
&lt;br /&gt;
*Newer 58-61 cm: Taurus.&lt;br /&gt;
&lt;br /&gt;
*Newer 58-61 cm: Cancer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Modified MR Safe==&lt;br /&gt;
These net names come from the Orion family.&lt;br /&gt;
&lt;br /&gt;
*54-56 cm: Lepus&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Canis Minor&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Canis Major&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Orion&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=EEG&amp;diff=460</id>
		<title>EEG</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=EEG&amp;diff=460"/>
		<updated>2013-04-09T01:37:56Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* History */  Linked to the new page on EEG net names&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A collection of information about EEG data from collection to processing/analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Collection==&lt;br /&gt;
How do you even get EEG data?&lt;br /&gt;
&lt;br /&gt;
===Staglin===&lt;br /&gt;
The [http://www.semel.ucla.edu/staglin Staglin IMHRO Center for Cognitive Neuroscience] is our main EEG data collection facility. Go here to learn how data collection works at the Staglin Center.&lt;br /&gt;
*[[StaglinCenter:EEG]]&lt;br /&gt;
&lt;br /&gt;
===EEG/FMRI===&lt;br /&gt;
Concurrent data collection of EEG and FMRI is possible at the Staglin Center.&lt;br /&gt;
*[[StaglinCenter:EEG-FMRI]]&lt;br /&gt;
&lt;br /&gt;
===Transfer===&lt;br /&gt;
For now you have to move data by sneaker-net from the acquisition computers to your computer.  We may automate this process in the future.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Directory Structure==&lt;br /&gt;
Standards are important.  And we&#039;re hoping to have standards about how our EEG data is kept?&lt;br /&gt;
*[[EEG:DirectoryStructure]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Processing==&lt;br /&gt;
How to process EEG data.&lt;br /&gt;
&lt;br /&gt;
===Preprocessing===&lt;br /&gt;
Certain preprocessing steps should be done to all data.&lt;br /&gt;
*[[EEG:Processing:Preprocessing]]&lt;br /&gt;
&lt;br /&gt;
===ICA===&lt;br /&gt;
Independent Component Analysis&lt;br /&gt;
*[[EEG:Processing:ICA]]&lt;br /&gt;
&lt;br /&gt;
===Source===&lt;br /&gt;
Source localization.&lt;br /&gt;
*[[EEG:Processing:Source]]&lt;br /&gt;
&lt;br /&gt;
Under construction&lt;br /&gt;
*[[Basic Preprocessing in NetStation]]&lt;br /&gt;
*[[Basic Preprocessing and ICA in EEGLAB]]&lt;br /&gt;
*[[Time-Frequency Analyses - Matlab/EEGLAB]]&lt;br /&gt;
*[[Source Analysis]]&lt;br /&gt;
*[[Machine Learning]]&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
&lt;br /&gt;
*[[EEG fMRI noise 2011]]&lt;br /&gt;
*[[EEG Net Names]]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=473</id>
		<title>EEG Net Names</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=473"/>
		<updated>2013-04-09T01:36:51Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Formatting change&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Users can identify individual EEG nets by serial number or by nickname. In the interests of fun and science, the nets are named after constellations. The names for different categories of nets come from different constellation families.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EEG Only==&lt;br /&gt;
These net names come from the Ursa Major family. Go Bruins!&lt;br /&gt;
&lt;br /&gt;
*Cohen 54-56 cm: Ursa Minor&lt;br /&gt;
&lt;br /&gt;
*Cohen 58-61 cm: Ursa Major&lt;br /&gt;
&lt;br /&gt;
*Feusner 54-56 cm: Lynx&lt;br /&gt;
&lt;br /&gt;
*Feusner 56-58 cm: Boötes&lt;br /&gt;
&lt;br /&gt;
*Feusner 58-61 cm: Draco&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MR Safe==&lt;br /&gt;
These net names come from the signs of the zodiac.&lt;br /&gt;
&lt;br /&gt;
*Older 54-56 cm: Gemini&lt;br /&gt;
&lt;br /&gt;
*Older 56-58 cm: Libra&lt;br /&gt;
&lt;br /&gt;
*Older 56-58 cm: Scorpio&lt;br /&gt;
&lt;br /&gt;
*Newer 58-61 cm: Taurus.&lt;br /&gt;
&lt;br /&gt;
*Newer 58-61 cm: Cancer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Modified MR Safe==&lt;br /&gt;
These net names come from the Orion family.&lt;br /&gt;
&lt;br /&gt;
*54-56 cm: Lepus&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Canis Minor&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Canis Major&lt;br /&gt;
&lt;br /&gt;
*56-58 cm: Orion&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=472</id>
		<title>EEG Net Names</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=EEG_Net_Names&amp;diff=472"/>
		<updated>2013-04-09T01:35:10Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Created a page listing the net sizes along with their individual nicknames.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Users can identify individual EEG nets by serial number or by nickname. In the interests of fun and science, the nets are named after constellations. The names for different categories of nets come from different constellation families.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==EEG Only==&lt;br /&gt;
These net names come from the Ursa Major family. Go Bruins!&lt;br /&gt;
&lt;br /&gt;
Cohen 54-56 cm: Ursa Minor&lt;br /&gt;
&lt;br /&gt;
Cohen 58-61 cm: Ursa Major&lt;br /&gt;
&lt;br /&gt;
Feusner 54-56 cm: Lynx&lt;br /&gt;
&lt;br /&gt;
Feusner 56-58 cm: Boötes&lt;br /&gt;
&lt;br /&gt;
Feusner 58-61 cm: Draco&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==MR Safe==&lt;br /&gt;
These net names come from the signs of the zodiac.&lt;br /&gt;
&lt;br /&gt;
Older 54-56 cm: Gemini&lt;br /&gt;
&lt;br /&gt;
Older 56-58 cm: Libra&lt;br /&gt;
&lt;br /&gt;
Older 56-58 cm: Scorpio&lt;br /&gt;
&lt;br /&gt;
Newer 58-61 cm: Taurus.&lt;br /&gt;
&lt;br /&gt;
Newer 58-61 cm: Cancer&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Modified MR Safe==&lt;br /&gt;
These net names come from the Orion family.&lt;br /&gt;
&lt;br /&gt;
54-56 cm: Lepus&lt;br /&gt;
&lt;br /&gt;
56-58 cm: Canis Minor&lt;br /&gt;
&lt;br /&gt;
56-58 cm: Canis Major&lt;br /&gt;
&lt;br /&gt;
56-58 cm: Orion&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:MATLAB:EEGLAB&amp;diff=866</id>
		<title>Hoffman2:MATLAB:EEGLAB</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:MATLAB:EEGLAB&amp;diff=866"/>
		<updated>2013-03-12T03:20:59Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Changed the recommended 12 hours for ICA to 8 hours. This should still be plenty of extra time: my 25-minute recordings finished in under 5 hours.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hoffman2|Back to all things Hoffman2]]&lt;br /&gt;
&lt;br /&gt;
[[Hoffman2:MATLAB|Back to all things MATLAB]]&lt;br /&gt;
&lt;br /&gt;
The three of the most recent versions of EEGLAB are maintained on Hoffman2 for the FMRI group in the directory&lt;br /&gt;
 /u/home/FMRI/apps/eeglab&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding EEGLAB to your MATLAB path==&lt;br /&gt;
Choose one of the versions from&lt;br /&gt;
 /u/home/FMRI/apps/eeglab&lt;br /&gt;
and add it to your MATLAB path by doing.&lt;br /&gt;
&lt;br /&gt;
# [[Hoffman2:MATLAB#GUI|Start MATLAB on Hoffman2]]&lt;br /&gt;
# Go to&lt;br /&gt;
#: &#039;&#039;&amp;quot;File&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Set Path...&amp;quot;&#039;&#039;&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Add with Subfolders...&amp;quot;&#039;&#039;&lt;br /&gt;
#* Navigate to &lt;br /&gt;
#*: &amp;lt;pre&amp;gt;/u/home/FMRI/apps/eeglab&amp;lt;/pre&amp;gt;&lt;br /&gt;
#*: choose which version you&#039;d like to use and click on it.&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Ok&amp;quot;&#039;&#039;&lt;br /&gt;
#* To save this for future sessions, click &#039;&#039;&amp;quot;Save.&amp;quot;&#039;&#039;&lt;br /&gt;
#* If you don&#039;t want to save this path, click &#039;&#039;&amp;quot;Close&amp;quot;&#039;&#039; and then click &#039;&#039;&amp;quot;No&amp;quot;&#039;&#039; on the window that pops up.&lt;br /&gt;
# Go to the MATLAB command line and start EEGLAB by typing&lt;br /&gt;
#: &amp;lt;pre&amp;gt;&amp;gt;&amp;gt; eeglab&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==CIDAR ADHD==&lt;br /&gt;
For steps on how to process CIDAR data in EEGLAB, [[Hoffman2:MATLAB:EEGLAB:CIDAR|click here]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==binica==&lt;br /&gt;
If you want to run ICA decomposition on your data, it can often be a very time-intensive process.  Doing this through the EEGLAB GUI (runica) is almost an order of magnitude slower than doing it with &amp;lt;code&amp;gt;binica&amp;lt;/code&amp;gt; or via command line.  So let&#039;s walk through how to do this the fastest (most parallelizable) way by submitting jobs on Hoffman2.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Export your data from NetStation===&lt;br /&gt;
# If you are going to preprocess your data in NetStation, do so first.&lt;br /&gt;
# Export your data in the &#039;&#039;&#039;NetStation simple binary&#039;&#039;&#039; format which produces files with the &#039;&#039;.raw&#039;&#039; extension.  [[Hoffman2:Data Transfer|Upload this to Hoffman2 by your choice method]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Prep your data for ICA===&lt;br /&gt;
# [[Hoffman2:MATLAB|Start up MATLAB on Hoffman2]] and start EEGLAB&lt;br /&gt;
# Go to&lt;br /&gt;
#: &#039;&#039;&amp;quot;File&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Import data&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;From Netstation binary simple file&amp;quot;&#039;&#039;&lt;br /&gt;
#* Find your &#039;&#039;.raw&#039;&#039; file and select it.&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Ok&amp;quot;&#039;&#039; on the first pop up window, and in the second give your dataset a name before clicking &#039;&#039;&amp;quot;Ok.&amp;quot;&amp;quot;&lt;br /&gt;
# When EEGLAB finishes importing your data &#039;&#039;Done&#039;&#039; will appear above the command line.&lt;br /&gt;
# At this time, do any preprocessing you&#039;d like on the data in EEGLAB/MATLAB.&lt;br /&gt;
# Add this special directory to your MATLAB path,&lt;br /&gt;
#: &amp;lt;pre&amp;gt;&amp;gt;&amp;gt; addpath(&#039;/u/home/FMRI/apps/examples/binica&#039;);&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Use the command,&lt;br /&gt;
#: &amp;lt;pre&amp;gt;&amp;gt;&amp;gt; prep4binica(ALLEEG.data, ALLEEG.nbchan, ALLEEG.trials*ALLEEG.pnts, &#039;verbose&#039;, &#039;on&#039;, &#039;filenum&#039;, FILENAME);&amp;lt;/pre&amp;gt;&lt;br /&gt;
# This will save out the necessary files to run ICA:&lt;br /&gt;
#* data in a float-point file, &#039;&#039;.fdt&#039;&#039;&lt;br /&gt;
#* parameters for ICA in a configuration file, &#039;&#039;.sc&#039;&#039;&lt;br /&gt;
# Exit out of EEGLAB (&#039;&#039;&amp;quot;File&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Quit&amp;quot;&#039;&#039;).&lt;br /&gt;
# Exit out of MATLAB&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Run ICA===&lt;br /&gt;
If you prepared multiple datasets for ICA, you could submit many jobs in parallel to speed up the processing time.&lt;br /&gt;
# Use a [[Text Editors|text editor]] to make a script (e.g. icaScript.sh) on Hoffman2 with the following contents&lt;br /&gt;
#: &amp;lt;pre&amp;gt;#!/bin/bash&amp;amp;#10;&amp;amp;#13;/u/home/FMRI/apps/eeglab/current/functions/resources/ica_linux &amp;lt; path/to/sc/file &amp;lt;/pre&amp;gt;&lt;br /&gt;
#: where you replace &#039;&#039;&#039;/path/to/sc/file&#039;&#039;&#039; with the full path to the &#039;&#039;.sc&#039;&#039; file created by &amp;lt;code&amp;gt;prep4binica&amp;lt;/code&amp;gt;.&lt;br /&gt;
# Make the script executable&lt;br /&gt;
#: &amp;lt;pre&amp;gt;chmod 750 /path/to/script&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: replacing &#039;&#039;&#039;/path/to/script&#039;&#039;&#039; with the path to your script file.&lt;br /&gt;
# [[Hoffman2:Submitting Jobs|Submit this script as a job]], we recommend demanding at least 8 hours (&amp;lt;code&amp;gt;time=8:00:00&amp;lt;/code&amp;gt;) and 2GB of RAM (&amp;lt;code&amp;gt;mem=2048M&amp;lt;/code&amp;gt;) for your job.&lt;br /&gt;
# Wait for the script to complete.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Import ICA data back to EEGLAB===&lt;br /&gt;
# [[Hoffman2:MATLAB|Start up MATLAB on Hoffman2]] and start EEGLAB&lt;br /&gt;
# Go to&lt;br /&gt;
#: &#039;&#039;&amp;quot;File&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Import data&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;From Netstation binary simple file&amp;quot;&#039;&#039;&lt;br /&gt;
#* Find your &#039;&#039;.raw&#039;&#039; file and select it.&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Ok&amp;quot;&#039;&#039; on the first pop up window, and in the second give your dataset a name before clicking &#039;&#039;&amp;quot;Ok.&amp;quot;&amp;quot;&lt;br /&gt;
# When EEGLAB finishes importing your data &#039;&#039;Done&#039;&#039; will appear above the command line.&lt;br /&gt;
# Go to &lt;br /&gt;
#: &#039;&#039;&amp;quot;Edit&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Dataset into&amp;quot;&#039;&#039;&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Browse&amp;quot;&#039;&#039; next to &#039;&#039;&amp;quot;ICA weights array or text/binary file (if any):&amp;quot;&#039;&#039; and find the ICA weight file (&#039;&#039;.wts&#039;&#039; extension).&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Browse&amp;quot;&#039;&#039; next to &#039;&#039;&amp;quot;ICA sphere array or text/binary file (if any):&amp;quot;&#039;&#039; and find the ICA sphere file (&#039;&#039;.sph&#039;&#039; extension).&lt;br /&gt;
#* Click &#039;&#039;&amp;quot;Ok&amp;quot;&#039;&#039;.&lt;br /&gt;
# You should now be able to view the ICA information within EEGLAB.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Only Using EGI&#039;s &amp;quot;Good&amp;quot; Segments in EEGLAB==&lt;br /&gt;
NetStation preprocessing has built in methods of classifying data segments as &amp;quot;good&amp;quot; or &amp;quot;bad&amp;quot; depending on a variety of criteria related to noise measurements.  Please refer to their pertinent documentation to understand how this is done.  In the case where you do your preprocessing in NetStation but would like to use EEGLAB&#039;s ICA tool, you probably don&#039;t want all those &amp;quot;bad&amp;quot; segments to be used for ICA calculations or other work.&lt;br /&gt;
&lt;br /&gt;
Sadly, your only options for exporting only the &amp;quot;good&amp;quot; segments from NetStation directly to MATLAB is in the form of a &#039;&#039;.mat&#039;&#039; file.  &#039;&#039;&#039;But EEGLAB doesn&#039;t play nicely with these files!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In comes the tedious translation process to make your data usable...&lt;br /&gt;
# Export your preprocessed data from NetStation as a &amp;quot;Net Station Simple Binary&amp;quot; file.&lt;br /&gt;
#: &#039;&#039;&#039;Do not export them as &amp;quot;Net Station Simple Binary (Ignore Events)&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
#: &#039;&#039;&#039;Do not export them as &amp;quot;Net Station Simple Binary (Epoch Marked)&amp;quot;&#039;&#039;&#039;&lt;br /&gt;
# Import the data file into EEGLAB&lt;br /&gt;
# Open NetStation, and in the top menu bar go to &#039;&#039;&amp;quot;Tools&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Browse Files...&amp;quot;&#039;&#039; which will open a new data explorer window.&lt;br /&gt;
# In Finder, locate your final preprocessed data (the one that you ran the Export tool on earlier).&lt;br /&gt;
# Drag this file into the left had bar labeled &#039;&#039;&amp;quot;Source Files.&amp;quot;&#039;&#039;&lt;br /&gt;
# In the top right area of the window, click on the &#039;&#039;&amp;quot;Categories and Subjects&amp;quot;&#039;&#039; tab and you should see a grid of numbers and labels.&lt;br /&gt;
#: The segment types will have their labels at the beginning of each row (e.g. Belief, Disbelief)&lt;br /&gt;
#: Each source file will have a dedicated column labeled with something (I believe it to be the subject linked to the recording).&lt;br /&gt;
# Click on the first segment type label and in the bottom right area of the window you will see a list of all segments of that type.&lt;br /&gt;
# If you click on the column label &#039;&#039;&amp;quot;Time&amp;quot;&#039;&#039; it will order the segments chronologically which is the same way they are ordered when you export them as a &amp;quot;Net Station Simple Binary&amp;quot; file.&lt;br /&gt;
# Back in EEGLAB, use the menu to go to &#039;&#039;&amp;quot;Edit&amp;quot;&#039;&#039; &amp;gt; &#039;&#039;&amp;quot;Select data&amp;quot;&#039;&#039; which opens another window.&lt;br /&gt;
#: In this window, you can use different criteria for selecting portions of data.  The method pertinent here is by &#039;&#039;&amp;quot;Epoch range.&amp;quot;&#039;&#039;&lt;br /&gt;
#: I would recommend clicking the little check box to the right of the input box for &#039;&#039;&amp;quot;Epoch range&amp;quot;&#039;&#039; so you only have to specify which epochs you want removed.  &#039;&#039;&#039;There should be fewer epochs to remove than there are epochs you want to keep...otherwise your data is really messy and using it might not be recommended...&#039;&#039;&#039;&lt;br /&gt;
# Have fun counting your way down the lines of the NetStation File Browser to determine exactly which segments are &amp;quot;bad.&amp;quot;&lt;br /&gt;
# Say the sixth segment of the first category is bad (these are the ones with a red circle and line through them at the beginning of the line instead of a green circle).  In the EEGLAB data selection window, you need to add &#039;&#039;&amp;quot;6&amp;quot;&#039;&#039; to the &#039;&#039;&amp;quot;Epoch range&amp;quot;&#039;&#039; input box.&lt;br /&gt;
# Once you&#039;ve gone through and told EEGLAB all the epochs you want removed, click the &#039;&#039;&amp;quot;Ok&amp;quot;&#039;&#039; button and it will start making a new dataset.&lt;br /&gt;
# Run [[Hoffman2:MATLAB:EEGLAB#Prep_your_data_for_ICA|prep4binica]] on the resulting dataset.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Pro Tip===&lt;br /&gt;
If you have two or more types of segments in NetStation, counting and adding can be a dangerous game.  So make use of MATLAB to simplify things.&lt;br /&gt;
&lt;br /&gt;
e.g.&lt;br /&gt;
* You have two segment types: B and D&lt;br /&gt;
* There are 40 type B segments, of which Net Station claims only 37 are good.&lt;br /&gt;
* There are 60 type D segments, of which Net Station claims only 50 are good.&lt;br /&gt;
* In the EEGLAB &#039;&#039;&amp;quot;Select data&amp;quot;&#039;&#039; window, you make sure to click the check box to the right of the &#039;&#039;&amp;quot;Epoch range&amp;quot;&#039;&#039; input box so that you only have to list the epochs you want removed from the dataset.&lt;br /&gt;
* In the NetStation you click on the &amp;quot;B&amp;quot; category and scrolling through the segments you find that segments 1, 21, and 37 have the little red crossed circle indicating they are bad.&lt;br /&gt;
* In the EEGLAB &#039;&#039;&amp;quot;Select data&amp;quot;&#039;&#039; window&#039;s &#039;&#039;&amp;quot;Epoch range&amp;quot;&#039;&#039; input box you type&lt;br /&gt;
 1 21 37&lt;br /&gt;
* In the NetStation you then click on the &amp;quot;D&amp;quot; category (since it would be the second category).  Scrolling through the segments you find that the 40th through the 49th listed segments all have the red crossed circle indicating they are bad.&lt;br /&gt;
* In the EEGLAB &#039;&#039;&amp;quot;Select data&amp;quot;&#039;&#039; window&#039;s &#039;&#039;&amp;quot;Epoch range&amp;quot;&#039;&#039; input box, you then edit it to read&lt;br /&gt;
 1 21 37 40+[40:49]&lt;br /&gt;
* This will work because MATLAB is going to process these numbers and see&lt;br /&gt;
 1 21 37 80 81 82 83 84 85 86 87 88 89&lt;br /&gt;
* The &amp;quot;40+[&amp;quot; part is important because the first &amp;quot;D&amp;quot; category segment is actually the 41st segment overall.  If you have more than two categories, you&#039;d have to do similar arithmetic to properly indicate which epochs you want removed.&lt;br /&gt;
&lt;br /&gt;
Happy counting.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
*[http://sccn.ucsd.edu/eeglab/allfunctions/binica.html binica]&lt;br /&gt;
*[http://sccn.ucsd.edu/wiki/A01:_Importing_Continuous_and_Epoched_Data#Importing_Netstation.2FEGI_files What type of EGI files EEGLAB understands]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Compiling_MATLAB&amp;diff=761</id>
		<title>Hoffman2:Compiling MATLAB</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Hoffman2:Compiling_MATLAB&amp;diff=761"/>
		<updated>2013-03-06T01:40:01Z</updated>

		<summary type="html">&lt;p&gt;Alhead: added a line for loading modules prior to calling &amp;quot;module load matlab&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Hoffman2|Back to all things Hoffman2]]&lt;br /&gt;
&lt;br /&gt;
Running the MATLAB GUI is not always desirable.  If you already know that your code works and no visuals or user interaction are needed, then using the MATLAB GUI is unnecessary and adds extra work for the computer.  Instead, it may be better to compile your MATLAB code into an executable that can be submitted as a job on Hoffman2.&lt;br /&gt;
&lt;br /&gt;
Furthermore, if you need to run the same MATLAB script on multiple subjects and would like to do so in parallel, you will find that you can&#039;t simply open up multiple instances of MATLAB on Hoffman2.  This is because each user is only allotted one MATLAB license.  To parallelize your processing, it would be better to compile your MATLAB script and submit a job for each subject using the compiled code.  &#039;&#039;&#039;Compiled code does not require a MATLAB license in order to run.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Version Notice - 2012.04.23==&lt;br /&gt;
&#039;&#039;&#039;As of 2012.04.23 ATS updated the default MATLAB version from 7.11 (R2010b) to 7.14 (R2012a).&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This means that any MATLAB code previously compiled will need to load the old MATLAB module in order to run. e.g.&lt;br /&gt;
 $ module load matlab/7.11&lt;br /&gt;
 $ /path/to/my/old/compiled/code&lt;br /&gt;
&lt;br /&gt;
And the &amp;lt;code&amp;gt;matexe.q&amp;lt;/code&amp;gt; tool will be using the newer MATLAB module.  Which means you can&#039;t use it to submit previously compiled code.  Please recompile your code to work with the new MATLAB version before submitting jobs with this tool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compiling==&lt;br /&gt;
There is a handy tool, &amp;lt;code&amp;gt;mcc&amp;lt;/code&amp;gt;, which can take a MATLAB .m file and compile it into an executable that can be run outside of MATLAB.  It is expensive to buy, but luckily Hoffman2 has already done the purchasing for you.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Remember that to use &amp;lt;code&amp;gt;mcc&amp;lt;/code&amp;gt;, you need an open MATLAB license.  If you are running MATLAB already and open up a new Hoffman2 session intending to compile something with &amp;lt;code&amp;gt;mcc&amp;lt;/code&amp;gt;, know that you will see errors and compilation will fail because you are already using your one allotted MATLAB license.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We have two example MATLAB scripts:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/u/home/FMRI/apps/examples/mcc/subfunctions/exampleSubfunction.m&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
This function can take any number of arguments and the text it prints out is based on the type of variables it receives.  It is kept in a separate directory from the exampleMatlabScript.m file to illustrate how to work with dependent files in different parts of the filesystem.&lt;br /&gt;
&lt;br /&gt;
 function exampleSubfunction(varargin)&lt;br /&gt;
 &lt;br /&gt;
 fprintf(&#039;This is a MATLAB function that takes input arguments.\n&#039;);&lt;br /&gt;
 &lt;br /&gt;
 for i=1:length(varargin)&lt;br /&gt;
     if( ~isempty(varargin{i}) )&lt;br /&gt;
         switch class(varargin{i})&lt;br /&gt;
             case &#039;double&#039;&lt;br /&gt;
                 fprintf(&#039;Argument #%d\t -- %s -- is a double\n&#039;, i, varargin{i});&lt;br /&gt;
             case &#039;char&#039;&lt;br /&gt;
                 fprintf(&#039;Argument #%d\t -- %s -- is a char\n&#039;, i, varargin{i});&lt;br /&gt;
             otherwise&lt;br /&gt;
                 fprintf(&#039;Argument #%d\t -- is an unknown\n&#039;, i);&lt;br /&gt;
         end&lt;br /&gt;
     else&lt;br /&gt;
         fprintf(&#039;Argument #%d\t -- is empty\n&#039;, i);&lt;br /&gt;
     end&lt;br /&gt;
 end&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;/u/home/FMRI/apps/examples/mcc/exampleMatlabScript.m&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Makes use of the exampleSubfunction() function.&lt;br /&gt;
 function matlabScript(varargin)&lt;br /&gt;
 &lt;br /&gt;
 fprintf(&#039;Passing numbers to the subfunction...\n&#039;);&lt;br /&gt;
 subfunction(1, 2, 3);&lt;br /&gt;
 &lt;br /&gt;
 fprintf(&#039;Passing characters to the subfunction...\n&#039;);&lt;br /&gt;
 subfunction(&#039;a&#039;, &#039;b&#039;, &#039;c&#039;);&lt;br /&gt;
 &lt;br /&gt;
 fprintf(&#039;Passing whatever arguments you gave me on to the subfunction...\n&#039;);&lt;br /&gt;
 for i=1:length(varargin)&lt;br /&gt;
     subfunction(varargin{i});&lt;br /&gt;
 end&lt;br /&gt;
 &lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To compile this example script, first [[Hoffman2:Interactive Sessions|check out an interactive node]] &#039;&#039;&#039;because this can be a computational intensive process&#039;&#039;&#039;. Then run the following commands&lt;br /&gt;
 $ mkdir ~/mccExample&lt;br /&gt;
 $ cd ~/mccExample&lt;br /&gt;
 $ mcc -m /u/home/FMRI/apps/examples/mcc/exampleMatlabScript.m -R -singleCompThread -I /u/home/FMRI/apps/examples/mcc/subfunctions&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;code&amp;gt;-m /u/home/FMRI/apps/examples/mcc/exampleMatlabScript.m&amp;lt;/code&amp;gt;&lt;br /&gt;
: This flag is used to indicate which file is to be compiled.&lt;br /&gt;
; &amp;lt;code&amp;gt;-R -singleCompThread&amp;lt;/code&amp;gt;&lt;br /&gt;
: This flag indicates what resources are needed. Default is to ask for all available cores, but by only requesting a single core you allow yourself more flexibility. If your code needed all the cores on a node, any jobs you submit to the queue will probably wait much longer to execute. If your code only needs one core, you job can be more flexible in scheduling and will probably execute sooner.&lt;br /&gt;
; &amp;lt;code&amp;gt;-I /u/home/FMRI/apps/examples/mcc/subfunctions&amp;lt;/code&amp;gt;&lt;br /&gt;
: This flag is used to indicate the subdirectories where any support files are located so that they can be included in the compiling.  If you had support .m files in multiple directories, you would need to include each separately e.g. &lt;br /&gt;
:: &amp;lt;pre&amp;gt;mcc -m /path/to/main/file -R -singleCompThread -I /path/to/file/one -I /path/to/file/two -I /path/to/file/three&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output will probably start with&lt;br /&gt;
 Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.&lt;br /&gt;
 Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.&lt;br /&gt;
 Ifconfig is obsolete! For replacement check ip.&lt;br /&gt;
which can be ignored and will be followed by any other messages related to the compiling, or error messages if something went wrong.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Testing==&lt;br /&gt;
Now that you&#039;ve compiled your code, you should test it to make sure it works before submitting 100,000 jobs using it.&lt;br /&gt;
&lt;br /&gt;
# [[Hoffman2:Interactive Sessions|Check out an interactive node]]&lt;br /&gt;
# Execute&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ module load matlab&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: so that the computing node knows how to speak MATLAB&lt;br /&gt;
# Then change to the directory where the compiled code is&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ cd ~/mccExample&amp;lt;/pre&amp;gt;&lt;br /&gt;
# And run your compiled code&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ./exampleMatlabScript &amp;lt;/pre&amp;gt;&lt;br /&gt;
#: Feel free to add any arguments to your function call, e.g.&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ./exampleMatlabScript ARG1 2 3 4&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: to see how the output changes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Submitting==&lt;br /&gt;
You&#039;ve compiled code and tested that it works.  Time to submit it as a job.&lt;br /&gt;
&lt;br /&gt;
===matexe.q===&lt;br /&gt;
ATS has a tool for this (similar to [[Hoffman2:Submitting Jobs#job.q|job.q]]) called &amp;lt;code&amp;gt;matexe.q&amp;lt;/code&amp;gt;.  It&#039;s a step-by-step tool that&#039;s pretty self explanatory, but we provided an example anyway.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
# Once on Hoffman2, you&#039;ll need to edit one file so pull out your favorite [[Text Editors|text editor]] and edit the file&lt;br /&gt;
#: &amp;lt;pre&amp;gt;~/.queuerc&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Add the line (if it isn&#039;t already there)&lt;br /&gt;
#: &amp;lt;pre&amp;gt;set qqodir = ~/job-output&amp;lt;/pre&amp;gt;&lt;br /&gt;
# You&#039;ve just set the default directory where your job command files will be created. Save the configuration file and close your text editor.&lt;br /&gt;
# Make that directory using the command&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ mkdir ~/job-output&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Now run&lt;br /&gt;
#:&amp;lt;pre&amp;gt;$ matexe.q&amp;lt;/pre&amp;gt;&lt;br /&gt;
# Press enter to acknowledge any messages that may appear (READ IT FIRST THOUGH).&lt;br /&gt;
# Type &#039;&#039;Build &amp;lt;ENTER&amp;gt;&#039;&#039; to begin creating an SGE command file.&lt;br /&gt;
# The program now asks you which script you&#039;d like to run, enter the following text to use our example script&lt;br /&gt;
#: &amp;lt;pre&amp;gt;~/mccExample/exampleMatlabScript&amp;lt;/pre&amp;gt;&lt;br /&gt;
# The program now asks how much memory the job will need (in [http://en.wikipedia.org/wiki/Megabyte Megabytes]).  This script is really simple, but let&#039;s go with the default 1024.&lt;br /&gt;
# The program now asks how long will the job take (in hours). Go with the minimum 1 hour; it will complete in much less than this.&lt;br /&gt;
# The program now asks if your job should be limited to only your resource group&#039;s cores. Answer &#039;&#039;n&#039;&#039; because you do not need to be limiting yourself here and the job is not going to be running for more than 24 hours.&lt;br /&gt;
# It will ask for any arguments you&#039;d like to supply.  Feel free to put random values here or nothing at all to see how the example script treats your arguments.&lt;br /&gt;
# Soon, the program will tell you that &#039;&#039;exampleMatlabScript.cmd&#039;&#039; has been built and saved.&lt;br /&gt;
# When it asks you if you would like to submit your job, say no.  Then type &#039;&#039;Quit &amp;lt;ENTER&amp;gt;&#039;&#039; to leave the program.&lt;br /&gt;
# Now you should be able to run&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ls ~/job-output&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: and see &#039;&#039;exampleMatlabScript.cmd&#039;&#039;.  This file will stay there until you delete it and can be run over and over again.  Making a command file like this is especially useful if there is a task you&#039;ll be running repeatedly on Hoffman2.  But if this is something you only need to run once, you should delete the file so you don&#039;t needlessly approach your [[Hoffman2:Quotas|quota]].&lt;br /&gt;
# The time has come to actually run the program (thought we&#039;d never get to that, didn&#039;t you?). Type&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ qsub job-output/exampleMatlabScript.cmd&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: and after hitting enter, a message similar to this will pop up:&lt;br /&gt;
#: &amp;lt;pre&amp;gt;Your job 1882940 (&amp;quot;exampleMatlabScript.cmd&amp;quot;) has been submitted&amp;lt;/pre&amp;gt;&lt;br /&gt;
#: where the number is your JobID, a unique numerical identifier for the computer job you have submitted to the queue.&lt;br /&gt;
# Now you can check if the job has finished running by doing&lt;br /&gt;
#: &amp;lt;pre&amp;gt;$ ls ~/job-output&amp;lt;/pre&amp;gt;&lt;br /&gt;
# When two files named &#039;&#039;exampleMatlabScript.output.[JOBID]&#039;&#039; and &#039;&#039;exampleMatlabScript.joblog.[JOBID]&#039;&#039; (where JOBID is your job&#039;s unique identifier) appear, your job has run.&lt;br /&gt;
#: &#039;&#039;exampleMatlabScript.output.[JOBID]&#039;&#039;&lt;br /&gt;
#:: This file has all the standard output generated by your script.  In this case it will be something like&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Passing numbers to the subfunction...&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  --  -- is a double&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #2  --  -- is a double&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #3  --  -- is a double&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Passing characters to the subfunction...&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- a -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #2  -- b -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #3  -- c -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Passing whatever arguments you gave me on to the subfunction...&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- 1 -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- a -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- 2 -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- b -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- 3 -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;This is a MATLAB function that takes input arguments.&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Argument #1  -- c -- is a char&amp;lt;/code&amp;gt;&lt;br /&gt;
#::: &amp;lt;code&amp;gt;Warning: No display specified.  You will not be able to display graphics on the screen.&amp;lt;/code&amp;gt;&lt;br /&gt;
#: &#039;&#039;exampleMatlabScript.joblog.[JOBID]&#039;&#039;&lt;br /&gt;
#:: This file has all the details about when, where, and how your job was processed. Useful information if you are going to be running this job over and over and need to fine tune the resources it uses.&lt;br /&gt;
# Better ways of checking on your job can be found [[Hoffman2:Monitoring Jobs|here]].&lt;br /&gt;
# Finally, go check the inbox of the email you used to sign up for your Hoffman2 account.  There will be two emails from &amp;quot;root@mail.hoffman2.idre.ucla.edu&amp;quot; that indicate when the job was started and when the job was completed.  This is one of the neat features of the queue so that you can be alerted about the progress of your job without having to stay logged into Hoffman2 and checking on it constantly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===By hand===&lt;br /&gt;
You could also make a shell script that contains&lt;br /&gt;
 #!/bin/bash&lt;br /&gt;
 source /u/local/Modules/default/init/modules.sh&lt;br /&gt;
 module load matlab&lt;br /&gt;
 /path/to/compiled/matlab/script&lt;br /&gt;
and submit this shell script using [[Hoffman2:Submitting Jobs#qsub|qsub]] or [[Hoffman2:Submitting Jobs#q.sh|q.sh]] to achieve similar results.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==About those arguments==&lt;br /&gt;
If you played around with submitting different arguments to the sample script we compiled above, you will have noticed that &#039;&#039;&#039;compiled MATLAB treats all arguments as if they are strings.&#039;&#039;&#039;  So if you plan to leverage arguments in your code to make your functions more useful, and we recommend that you do, you may need to make use of the command&lt;br /&gt;
 str2num()&lt;br /&gt;
to convert certain arguments into usable numbers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Known Issues==&lt;br /&gt;
* The official mcc documentation cites a &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt; flag for including a directory and all of its subdirectories recursively.  We haven&#039;t found this flag to work very effectively and strongly suggest you use &amp;lt;code&amp;gt;-I&amp;lt;/code&amp;gt; to explicitly name all the directories that have .m files your code depends on.&lt;br /&gt;
* Compiling EEGLAB has thus far failed on Hoffman2.  Compiling SPM5 or SPM8 may fail similarly.  If you figure out how to do this, let us know.&lt;br /&gt;
* You cannot compile something while you have another MATLAB session open.  Each Hoffman2 user is allotted one MATLAB license at a time, and &amp;lt;code&amp;gt;mcc&amp;lt;/code&amp;gt; requires a license to run.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==External Links==&lt;br /&gt;
*[http://www.mathworks.com/support/solutions/en/data/1-18448/?solution=1-18448 How to pass variables to compiled MATLAB code]&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_B_-_2012&amp;diff=1137</id>
		<title>Principles of Neuroimaging B - 2012</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_B_-_2012&amp;diff=1137"/>
		<updated>2012-03-07T22:25:22Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* Friday 3/9/12 - TOPIC. &amp;quot;Speaker&amp;quot; */  Added handout pdf&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Principles of Neuroimaging B, Winter, 2012 - Class Schedule and Syllabus=&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_-_2011-2012 | Main course page for Principles of Neuroimaging (2010-11)]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_A_-_2011 | M284A Principles of Neuroimaging A]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
*[[Notes for Instructors]]&lt;br /&gt;
&lt;br /&gt;
=Lecture Videos=&lt;br /&gt;
*[[Media:1_3_11_mark_cohen_mri.mp4|Friday 1-3-11 - MR Signals and Contrast, Speaker Mark Cohen]]&lt;br /&gt;
*[[Media:1_5_11_mark_cohen_mri_p1.mp4|Wednesday 1-5-11 - MR Spatial Encoding I, Speaker Mark Cohen]]&lt;br /&gt;
*[[Media:1_5_11_mark_cohen_mri_p2.mov|Wednesday 1-5-11 - MR Spatial Encoding II, Speaker Mark Cohen]]&lt;br /&gt;
*[[Media:1_10_11_mark_cohen_mri.mp4|Friday 1-10-11 - fMRI and Diffusion, Speaker Mark Cohen]]&lt;br /&gt;
*[[Media:1_12_11_mark_cohen_mri.mp4|Wednesday 1-12-11 - fMRI Image Quality and Artifacts, Speaker Mark Cohen]]&lt;br /&gt;
*[[Media:1_24_11_susan_bookheimer_exp_design_p1.mp4|Friday 1-24-11 - Experimental Design I, Speaker Susan Bookheimer]]&lt;br /&gt;
*[[Media:1_24_11_susan_bookheimer_exp_design_p2.mov|Friday 1-24-11 - Experimental Design II, Speaker Susan Bookheimer]]&lt;br /&gt;
*[[Media:1_26_11_nathan_hageman_dti.mp4|Wednesday 1-26-11 - DTI, Speaker Nathan Hageman]]&lt;br /&gt;
*[[Media:1_31_11_gregory_simpson_meg_eeg.mp4|Friday 1-31-11 - MEG/EEG, Speaker Gregory Simpson]]&lt;br /&gt;
*[[Media:2_2_11_low_field_mri.mp4|Wednesday 2-2-11 - Ultra Low Field MRI, Speaker Konstantin Penanen]]&lt;br /&gt;
*[[Media:2_9_11_allan_wu_tms.mp4|Wednesday 2-9-11 - TMS, Speaker Allan Wu]]&lt;br /&gt;
*[[Media:2_14_11_jeff_algers_mrs.mp4|Friday 2-14-11 - MRS, Speaker Jeff Algers]]&lt;br /&gt;
&lt;br /&gt;
=Week 1 Magnetic Resonance Imaging=&lt;br /&gt;
Magnetic Resonance Imaging (MRI) is probably the most influential and most felxible current means of imaging the human brain. It features a vast number of separable contrast mechanisms, and a near ideal combination of non-invasiveness, safety, resolution and metric accuracy. However, it is extraordinarily expensive and has limited temporal resolution, especially for functional studies&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 1/11/12&#039;&#039; - MRI. &#039;&#039;Speaker&#039;&#039;:  [http://www.brainmapping.org/MarkCohen Cohen]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:MRIforPNIB.pdf‎ | MRI Slides]]&lt;br /&gt;
:*[http://www.cis.rit.edu/htbooks/mri/ These notes] by Joseph Hornak are highly professional and complete coverage of MRI.&lt;br /&gt;
:*[http://www.imaios.com/en/e-Courses/e-MRI eMRI] is another excellent online MRI learning resource&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Hahn1950.pdf Erwin Hahn - Spin Echoes: &#039;&#039;Essential reading for the MRI community&#039;&#039;]&lt;br /&gt;
[[Image:HahnFig1.png]]&lt;br /&gt;
&#039;&#039;above&#039;&#039;: Figure 1 from Hahn, 1950&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
[[image:PSatSeq.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 1/13/12&#039;&#039; - MRI II. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Cohen]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:MRIforPNIB.pdf‎ | MRI Slides (same as 1/4/12)]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
:*[[media:PS1-PNIB2011.pdf | Problem Set 1]]&lt;br /&gt;
&lt;br /&gt;
WEEKLY SUMMARY&lt;br /&gt;
&lt;br /&gt;
=Week 2 MRI Applications=&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 1/18/12&#039;&#039; - Connectivity. &#039;&#039;Speaker&#039;&#039;: [http://ccn.ucla.edu/~jbrown/ Jesse Brown]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[[Media:DTIHageman.pdf | Hageman DTI Slides]]&lt;br /&gt;
:*[[Media:NICourse_DTILecture4Post_11-01-26.pdf | Hageman DTI Notes 2/26/12]]&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pubmed/15037456?dopt=Citation Diffusion tensor imaging of cerebral white matter: a pictorial review of physics, fiber tract anatomy, and tumor imaging patterns AJNR Am J Neuroradiol. 2004 Mar;25(3):356-69]&lt;br /&gt;
&lt;br /&gt;
:Sadly, the library does not have a subscription for the journals below (Mark has copies on reserve in his office):&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pubmed/8661285?dopt=Citation Microstructural and physiological features of tissues elucidated by quantitative-diffusion-tensor MRI. J Magn Reson B. 1996 Jun;111(3):209-19]&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pubmed/16950152?dopt=Citation Principles of diffusion tensor imaging and its applications to basic neuroscience research. Neuron. 2006 Sep 7;51(5):527-39]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 1/20/12&#039;&#039; - Advanced MRI Pulse Sequences. &#039;&#039;Speaker&#039;&#039;: [http://www.radiology.ucla.edu/dcvi/html/people/Ennis.html Daniel Ennis]==&lt;br /&gt;
&lt;br /&gt;
=Week 3 Advanced MRI Applications and TMS=&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 1/25/12&#039;&#039; - Diffusion. &#039;&#039;Speaker&#039;&#039;: [http://faculty.bri.ucla.edu/institution/personnel?personnel_id=45540 Jeffry Alger]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
[[image:Bandwidth.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:ALGER_PrinciplesNeuroImaging2012DTI.pdf‎ | DTI lecture notes]] &lt;br /&gt;
:*[[media:Alger_PrinciplesNeuroImaging2012MRS.pdf‎ | Spectroscopy lecture notes.]]&lt;br /&gt;
&#039;Suggested Readings&#039;&#039;&lt;br /&gt;
&amp;lt;!--Also uploaded as Lanyon-DTIBasicsAndFuture.pdf--&amp;gt;&lt;br /&gt;
:*[http://www.intechopen.com/source/pdfs/28790/InTech-Diffusion_tensor_imaging_structural_connectivity_insights_limitations_and_future_directions.pdf DTI basics and future directions]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 1/27/12&#039;&#039; -  TMS (tentative). &#039;&#039;Speakers&#039;&#039;: [http://faculty.bri.ucla.edu/institution/personnel?personnel_id=121107 Allan Wu], ==&lt;br /&gt;
Transcranial Magnetostimulation is fundamentally different than the other technologies we have explored, in that it is used specifically to &#039;&#039;alter&#039;&#039; ongoing brain activity. While not exactly an imaging method, the TMS instrument is image-guided and uses tomographic placement.&lt;br /&gt;
&lt;br /&gt;
&#039;Required Readings&#039;&#039;&lt;br /&gt;
:* [[media:TMS_Wu_2011.pdf | Wu 2011 Lecture slides]]&lt;br /&gt;
:* [[media:TMSSafetyAndEthics-Rossi.pdf | TMS Safety and Ethics - Rossi, 2009]]&lt;br /&gt;
:* [http://www.sciencedirect.com/science?_ob=ArticleURL&amp;amp;_udi=B6T0J-50CV801-1&amp;amp;_user=4423&amp;amp;_coverDate=01%2F31%2F2011&amp;amp;_rdoc=1&amp;amp;_fmt=high&amp;amp;_orig=search&amp;amp;_origin=search&amp;amp;_sort=d&amp;amp;_docanchor=&amp;amp;view=c&amp;amp;_acct=C000059605&amp;amp;_version=1&amp;amp;_urlVersion=0&amp;amp;_userid=4423&amp;amp;md5=f9fa3c7d63942dfb3c74e047a1f848bc&amp;amp;searchtype=a | M Sandrini, C Umilta and E Rusconi, “&#039;&#039;The use of transcranial magnetic stimulation in cognitive neuroscience: a new synthesis of methodological issues.&#039;&#039;” &#039;&#039;&#039;Neurosci Biobehav Rev&#039;&#039;&#039;,  &#039;&#039;&#039;35&#039;&#039;&#039;(3): p. 516-536. 2011]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:* [[media:WuTMS-05-04-10.pdf | Handout for Wu TMS Lecture, 2010]]&lt;br /&gt;
&lt;br /&gt;
Once upon a time we demonstrated that this sort of magnetic stimulation can take place in the MRI machines:&lt;br /&gt;
:*[http://onlinelibrary.wiley.com/doi/10.1002/mrm.1910140226/pdf MS Cohen, RM Weisskoff, RR Rzedzian and HL Kantor, “Sensory stimulation by time-varying magnetic fields.” Magnetic Resonance in Medicine,  14(2): p. 409-414. 1990]&lt;br /&gt;
&lt;br /&gt;
=Week 4 PET=&lt;br /&gt;
==&#039;&#039;Wednesday 2/1/12&#039;&#039; -  Positron Emission Tomography (PET). &#039;&#039;Speaker&#039;&#039;: [http://faculty.pharmacology.ucla.edu/institution/personnel?personnel_id=45558 Magnus Dahlbom]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
[[image:ParallaxError.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:PET_2010.pdf | PET Imaging handout]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 2/3/12&#039;&#039;- Positron Emission Tomography (PET) Applications. &#039;&#039;Speaker&#039;&#039;: [http://www.semel.ucla.edu/profile/edythe-london Edythe London]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
[[image:SmokerStroop.png|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:PET_applications2-08-12SM.pdf‎| PET Applications handout]]&lt;br /&gt;
:* [http://www.ncbi.nlm.nih.gov/pubmed/3099392?dopt=Citation “Mapping human brain monoamine oxidase A and B with &amp;lt;sup&amp;gt;&amp;lt;small&amp;gt;11&amp;lt;/small&amp;gt;&amp;lt;/sup&amp;gt;C-labeled suicide inactivators and PET.” Science,  235(4787): p. 481-485. 1987.]&lt;br /&gt;
:* [[media:MukherjeeRadiopharmaceuticals.pdf | Mukherjee: Radiopharmaceuticals for Brain Imaging]]&lt;br /&gt;
:* [[media:Martinez_Drugs_of_Abuse.pdf | Imaging Neurotransmitter Release by Drugs of Abuse, Diana Martinez and Rajesh Narendran]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*n/a&lt;br /&gt;
&lt;br /&gt;
=Week 5 fMRI and Ultrasound=&lt;br /&gt;
==&#039;&#039;Wednesday 2/8/12&#039;&#039; - Multimodal imaging. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Cohen]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:MultiModalNITP2012SM.pdf‎ | Multimodal imaging handout]]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 2/10/12&#039;&#039; - Ultrasound (&#039;&#039;tentative&#039;&#039;). &#039;&#039;Speaker&#039;&#039;: [http://casit.ucla.edu/body.cfm?id=129 Martin Culjat]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&lt;br /&gt;
Ultrasound is one of the earliest means of seeing into the body. Until recently, however, seeing into the brain has been very poor. Recent advances are improving on this.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://www.jultrasoundmed.org/content/24/12/1671.full.pdf+html “Intraoperative sonography for neurosurgery.” J Ultrasound Med,  24(12): p. 1671-1682. 2005&lt;br /&gt;
]&lt;br /&gt;
:*[http://folk.ntnu.no/htorp/Undervisning/MEDT8002/litteratur/NURO51020402.pdf Brain operations guided by real-time two-dimensional ultrasound: new possibilities as a result of improved image quality.” Neurosurgery,  51(2): p. 402-411; discussion 411-402. 2002]&lt;br /&gt;
:*[[media:biomed298 | Biomed 298 Design of Medical Ultrasound]]&lt;br /&gt;
&lt;br /&gt;
=Week 6 =&lt;br /&gt;
&lt;br /&gt;
==Wednesday 2/15/12 - Connectivity. &amp;quot;Jesse Brown&amp;quot;==&lt;br /&gt;
OUTLINE&amp;lt;br&amp;gt;&lt;br /&gt;
Connectivity in neuroimaging is a broad subject. These slides focus on resting state fMRI and DTI based connectivity methods and results.&lt;br /&gt;
[[Media:nitp_connectivity_02142012.pdf]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:Bullmore_Sporns_NatRevNeuro_2009.pdf | Review of connectivity]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*&amp;lt;i&amp;gt;Networks of the Brain&amp;lt;/i&amp;gt; by Olaf Sporns&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Links of interest&#039;&#039;&lt;br /&gt;
:*[http://fcon_1000.projects.nitrc.org/ INDI]: the International Neuroimaging Data-sharing Initiative. A very useful source of publicly available fMRI and DTI data.&lt;br /&gt;
:*[http://www.humanconnectome.org/ Human Connectome Project]: The WashU-UMinn consortium will scan 1200 individuals with resting state fMRI, DSI, and structural MRI, along with MEG and 7-Tesla scanning in some cases.&lt;br /&gt;
:*[http://umcd.humanconnectomeproject.org/ UMCD]: The UCLA Multimodal Connectivity Database, a web-based repository for brain network analysis and data sharing.&lt;br /&gt;
&lt;br /&gt;
==Friday 2/17/12 - Brain Stimulation. &amp;quot;Alexander Bystritsky&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[media:Brainstimulation2012AB.pdf | Brain Stimulation]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
=Week 7 =&lt;br /&gt;
&lt;br /&gt;
==Wednesday 2/22/12 - Methods of Dimension Reduction. &amp;quot;Ariana Anderson&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==Friday 2/25/12 - Bayesian Statistics. &amp;quot;Donatello Telesca&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 8 =&lt;br /&gt;
&lt;br /&gt;
==Wednesday 2/29/12 - CLASS IS CANCELLED FOR TODAY. SORRY==&lt;br /&gt;
&lt;br /&gt;
==Friday 3/2/12 - TOPIC. &amp;quot;Speaker&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 9 =&lt;br /&gt;
&lt;br /&gt;
==Wednesday 3/7/12 - TOPIC. &amp;quot;Speaker&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==Friday 3/9/12 - TOPIC. &amp;quot;Speaker&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
Compressed sensing lecture by Dr. Kevin Kelly of Rice University.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
*[[media:Compressed_imaging_tutorial.pdf | Compressed imaging handout]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
=Week 10 =&lt;br /&gt;
&lt;br /&gt;
==Wednesday 3/14/12 - TOPIC. &amp;quot;Speaker&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==Friday 3/16/12 - TOPIC. &amp;quot;Speaker&amp;quot;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
=FINALS=&lt;br /&gt;
3/19-23/12&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 1//12&#039;&#039; - fMRI. &#039;&#039;Speaker&#039;&#039;: &lt;br /&gt;
[http://www.brainmapping.org/MarkCohen Cohen]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/MRIforNITP.pdf slides (same as 1/3/12)]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
Dr. Simpson is a leading expert in the use of scalp electrophysiology (EEG and MEG) to explore the dynamical processes of the human brain, and the integration of activity across cortex in complex human behaviors. Notably, the MEG instrument also uses the SQUID technology&lt;br /&gt;
&lt;br /&gt;
Konstantin Penanen, together with Inseob Hahn and Byeong Ho Eom, have created a highly unusual MR imaging instrument that collects data in a magnetic field less than that of the earth. The tool uses &#039;&#039;&#039;S&#039;&#039;&#039;uperconductin &#039;&#039;&#039;QU&#039;&#039;&#039;antum &#039;&#039;&#039;I&#039;&#039;&#039;nterference &#039;&#039;&#039;D&#039;&#039;&#039;evices (SQUIDs) that detect the magnetic resonance imaging signal by direct magnetometry, rather than by induction.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 1/31/12&#039;&#039; - MEG and EEG. &#039;&#039;Speaker&#039;&#039;: [http://www.labome.org/expert/usa/university/simpson/gregory-v-simpson-1030707.html Greg Simpson]==&lt;br /&gt;
[http://books.google.com/books?id=_UXLRzqrkrQC&amp;amp;pg=PA26&amp;amp;lpg=PA26&amp;amp;dq=greg+simpson+eeg&amp;amp;source=bl&amp;amp;ots=3w1w34NL5x&amp;amp;sig=M7mdZRODLpmSpqnsnLkioBGcEQo&amp;amp;hl=en&amp;amp;ei=hT6eTP_2GJHksQPu_JXWAQ&amp;amp;sa=X&amp;amp;oi=book_result&amp;amp;ct=result&amp;amp;resnum=2&amp;amp;ved=0CBYQ6AEwAQ#v=onepage&amp;amp;q=greg%20simpson%20eeg&amp;amp;f=false A story]&lt;br /&gt;
&lt;br /&gt;
Suggested Reading&lt;br /&gt;
&lt;br /&gt;
[http://www.ncbi.nlm.nih.gov/pubmed/18701689?dopt=Citation  J Neurosci. 2008 Aug 13;28(33):8268-72. &amp;quot;Very slow EEG fluctuations predict the dynamics of stimulus detection and oscillation amplitudes in humans&amp;quot;. Monto S, Palva S, Voipio J, Palva JM.]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 2/2//12&#039;&#039; - Ultralow field MRI. &#039;&#039;Speaker&#039;&#039;: &#039;&#039;&#039;Konstantin Penanen&#039;&#039;&#039; NASA/CalTech Jet Propulsion Laboratory==&lt;br /&gt;
OUTLINE&lt;br /&gt;
[[image:miniscanGB.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
* [[media:Penanen_UCLA_Neuro_2011_talk.pdf | Penanen Lecture Slides]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pubmed/18328753?dopt=Citation Parallel MRI at microtesla fields. Zotev VS, Volegov PL, Matlashov AN, Espy MA, Mosher JC, Kraus RH Jr. J Magn Reson. 2008 Jun;192(2):197-208. Epub 2008 Mar 6]&lt;br /&gt;
&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pubmed/17029228?dopt=Citation Three-dimensional prepolarized magnetic resonance imaging using rapid acquisition with relaxation enhancement. Matter NI, Scott GC, Venook RD, Ungersma SE, Grafendorfer T, Macovski A, Conolly SM. Magn Reson Med. 2006 Nov;56(5):1085-95.]&lt;br /&gt;
&lt;br /&gt;
:*[http://iopscience.iop.org/0953-2048/19/5/S01/ How the SQUID was born. AH Silver. Superconductor Science and Technology Volume 19, Number 5, 2006]&lt;br /&gt;
&lt;br /&gt;
:*John Clarke, SQUIDs: Scientific American, August 1994.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Friday 2/7/12&#039;&#039;  - Positron Emission Tomography (PET). &#039;&#039;Speaker&#039;&#039;: [http://faculty.pharmacology.ucla.edu/institution/personnel?personnel_id=45558 Magnus Dahlbom]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
[[image:ParallaxError.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:PET_2010.pdf | PET Imaging handout]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 2/9/12&#039;&#039; - Transcranial Magneto Stimulation (TMS). &#039;&#039;Speaker&#039;&#039;: [http://faculty.bri.ucla.edu/institution/personnel?personnel_id=121107 Allan Wu]==&lt;br /&gt;
&lt;br /&gt;
=Week 7 Spectroscopy and PET=&lt;br /&gt;
Both PET and MRI are means of localizing specific molecular species. MRI has lower sensitivity but good quantitative accuracy and the ability to simultaneously image and study multiple molecules and compounds. Our lecture on PET will consider the actual imaging device, its sensitivity and its limitations.&lt;br /&gt;
==&#039;&#039;Friday 2/14/12&#039;&#039; - Magnetic Resonance Spectroscopy. &#039;&#039;Speaker&#039;&#039;: [http://faculty.bri.ucla.edu/institution/personnel?personnel_id=45540 Jeffry Alger]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:Alger MRS 20100512.pdf | Spectroscopy Lecture Slides]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
A question came up from the audience about the problem of simultaneously space and chemical shift by frequency. For an amusing story about the problem, you might want to read:&lt;br /&gt;
&lt;br /&gt;
:*[http://muse.jhu.edu/journals/perspectives_on_science/v007/7.2baird02.html MS Cohen and D Baird, “Why Trade?: How zones of trade support epistemic stability.” Perspective on Science,  7(2): p. 231-254. 1999.]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 8 Machine Learning=&lt;br /&gt;
This week we will look at modern and advanced analytic methods broadly called machine learning, or statistical pattern analysis. These methods are of great interest in the imaging community as they offer high sensitivity, the ability to explore activity at the systems level and the potential for &#039;&#039;predictive&#039;&#039; analysis and brain reading.&lt;br /&gt;
==&#039;&#039;Friday 2/21/12&#039;&#039; - Presidents Day.==&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://en.wikipedia.org/wiki/George_Washington George Washington]&lt;br /&gt;
:*[http://en.wikipedia.org/wiki/Abraham_Lincoln Abraham Lincoln]&lt;br /&gt;
==&#039;&#039;Wednesday 2/23/12&#039;&#039; - PCA, ICA, Machine learning. &#039;&#039;Speaker&#039;&#039;: [http://www.stat.ucla.edu/~yuille/index.html Alan Yuille]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
[[image:Probmodel.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
=Week 9 Functional Connectivity, Multimodal Integration=&lt;br /&gt;
WEEKLYSUMMARY&lt;br /&gt;
==&#039;&#039;Friday 2/28/12&#039;&#039; - Functional Connectivity. &#039;&#039;Speaker&#039;&#039;: [http://alenarto.bol.ucla.edu/ Agatha Lenartowicz]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:functionalconnectivity.pdf | Functional Connectivity Lecture Slides]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Useful software for exploring functional connectivity (correlations/bivariate/partial etc) from Susan Whitfield-Gabrieli at MIT (link courtesy of Sam):*[http://web.mit.edu/swg/software.htm]&lt;br /&gt;
&lt;br /&gt;
And additional readings in defense of DCM (other key papers are referenced in the slides)&lt;br /&gt;
&lt;br /&gt;
Lee et al 2006 &amp;quot;Large-scale neural models and dynamic causal modelling&amp;quot;&lt;br /&gt;
&lt;br /&gt;
David et al 2008 &amp;quot;Identifying Neural Drivers with Functional MRI: An Electrophysiological Validation&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Schuyler et al 2010 &amp;quot;Dynamic Causal Modeling applied to fMRI data shows high reliability&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 3/2/12&#039;&#039; - Multimodal Integration. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Cohen]==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:Multimodal_Imaging_2011.pdf | Lecture Slides for 3-2-11]]&lt;br /&gt;
&lt;br /&gt;
=Week 10 tbd=&lt;br /&gt;
This week is presently left open for added topics and makeup as needed.&lt;br /&gt;
==&#039;&#039;Friday 3/7/12&#039;&#039; - Final Distributed. &#039;&#039;MSC&#039;&#039;==&lt;br /&gt;
OUTLINE&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 3/9/12&#039;&#039; - &#039;&#039;[mailto:stm@ucla.edu Paul Weiss]  and [mailto:aandrews@mednet.ucla.edu Anne Andrews]&#039;&#039;: [http://www.brainmapping.org/MarkCohen Cohen]==&lt;br /&gt;
Direct Nanoscale and Molecular Imaging.&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media:AndrewsAM_Part1_09Mar2011.pdf | Andrews Lecture Slides]]&lt;br /&gt;
:*[[media:PWeissNITP2011.pdf‎ | Weiss Lecture Slides]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*READING&lt;br /&gt;
&lt;br /&gt;
=Finals Week=&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=File:Compressed_imaging_tutorial.pdf&amp;diff=2326</id>
		<title>File:Compressed imaging tutorial.pdf</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=File:Compressed_imaging_tutorial.pdf&amp;diff=2326"/>
		<updated>2012-03-07T22:16:13Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Compressed imaging tutorial by Dr. Kevin F. Kelly of Rice University. (2012)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Compressed imaging tutorial by Dr. Kevin F. Kelly of Rice University. (2012)&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1825</id>
		<title>Principles of Neuroimaging A - 2010</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1825"/>
		<updated>2010-11-04T22:15:34Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* MIDTERM POSTED */  Date was incorrectly listed as Wed. 11/8 instead of Mon.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Principles of Neuroimaging A, Fall, 2010 - Class Schedule and Syllabus&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_-_2010-2011 | Back to main course page for Principles of Neuroimaging]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_B_-_2011 | M284B Principles of Neuroimaging B]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 1: Orientation to Neuroimaging, Neurons, Brains=&lt;br /&gt;
==&#039;&#039;Monday 9/27/10&#039;&#039; - Orientation &amp;amp; Neurons. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
In this first class we will review the basics of neurophysiology with an eye towards what signals of brain function might be visible to the neuroimager. We will discuss information coding, energetics, size and time scales.&lt;br /&gt;
[[Image:Neurons.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.ccn.ucla.edu/wiki/images/8/81/The_Active_Brain.pdf The Active Brain]&lt;br /&gt;
:*[[media:NeuronFunction+AnatomyNITP.pdf‎| Neuron function slides shown in class]]&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/5/5a/CAVEAT_LECTOR.pdf Caveat Lector - the misuse of neuroimaging]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Protected/Kosslyn1999.pdf &amp;quot;If Neuroimaging is the Answer, What is the Question?&amp;quot; Kosslyn, 1999]&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[http://www.amazon.com/Fundamental-Neuroscience-Second-Larry-Squire/dp/0126603030 Squire, Fundamentals of Neuroscience]&lt;br /&gt;
:*[http://www.amazon.com/Principles-Neural-Science-Eric-Kandel/dp/0838577016 Kandel, et al., &amp;quot;Principles of Neural Science&amp;quot;]&lt;br /&gt;
:This paper, by Malhi, is a nice orientation in methods of neuroimaging. *[http://www.ccn.ucla.edu/wiki/images/f/f2/Malhi2007.pdf Making sense of neuroimaging in psychiatry]&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1359308/pdf/jphysiol01232-0142.pdf Replacement of the axoplasm of giant nerve fibres with artificial solutions]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 9/29/10&#039;&#039; - The Organization of the Human Brain. &#039;&#039;Speaker&#039;&#039;: [http://ccn.ucla.edu/bmcweb/bmc_bios/SusanBookheimer/ Susan Bookheimer]==&lt;br /&gt;
&#039;&#039;&#039;A probe mail was sent this afternoon to all students in the class. If you did not receive this (subject, &amp;quot;A Probing Question&amp;quot;), let [mailto:mscohen@ucla.edu me] know&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We will discuss the general organization of the human brain, and the regional specialization of cortical areas. The emphasis will be on understanding principles of organization:&lt;br /&gt;
*Phylogenetic Layering&lt;br /&gt;
*Functional Specialization&lt;br /&gt;
*Principles Divisions of the Brain&lt;br /&gt;
*Brain Systems&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[[media:NITPanatomy-Bookheimer.pdf | Slides shown in Class]]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[media:PNIA2010-PS1.pdf|&#039;&#039;&#039;Problem Set 1 Neuroanatomy. Due in class 10/6.&#039;&#039;&#039;]] Please remember that the preferred way for us to receive problem sets is &#039;&#039;via email&#039;&#039; to [mailto:mscohen@ucla.edu Mark] and to [mailto:alheadbme@ucla.edu Austin].&lt;br /&gt;
----&lt;br /&gt;
We will be studying linear systems next week. This coming week until Monday would be a good time to review your calculus fundamentals:&lt;br /&gt;
:&#039;&#039;Derivatives of Polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Integrals of polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Basic trig + derivatives and integrals of sine and cosine functions&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When we start on the linear systems section, we will be using these fundamentals to develop the LaPlace and Fourier transforms, which involve the use of imaginary numbers. The math content for that section is largely contained in this link: [[Media: MathematicalTools.pdf | Mathematical Tools]].&lt;br /&gt;
&lt;br /&gt;
Please let me know by email or other means if this material looks too difficult.&lt;br /&gt;
&lt;br /&gt;
You will need to have matlab installed and running to do the next problem set.&lt;br /&gt;
&lt;br /&gt;
=Week 2: Linear Systems=&lt;br /&gt;
Why the emphasis on Linear Systems? Because they are actually &#039;&#039;easy&#039;&#039; (as compared to non-linear systems, which are not.) As we go through this course, we will see many ways in which linear systems theory is applied to:&lt;br /&gt;
:Modeling of Neural Systems&lt;br /&gt;
:Extraction of Signal from Noise&lt;br /&gt;
:Design of Circuits&lt;br /&gt;
:Image Enhancement&lt;br /&gt;
:Understanding of Image artifacts, and others.&lt;br /&gt;
&lt;br /&gt;
Linear systems analysis is one of the great technologies of the 20th and 21st century. It is now the basis for virtually all electronics design, and its extension into the discrete (digital) domain is the basis for most of modern signal processing. &lt;br /&gt;
&lt;br /&gt;
In our specific case, we will use these few basic principles of linear systems to understand both the instruments we use and the neuroimaging signals we collect. When you have mastered this material, you should be in a much better position to model the systems that you study in order to develop an approach to studying them.&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.brainmapping.org/NITP/PNA/Readings/ImaginaryNumbers.pdf A primer on imaginary numbers] that might be a helpful review.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 10/4/10&#039;&#039; - Transforms and the Convolution Theorem. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 1&lt;br /&gt;
:*[[Media: Mathematical_tools.pdf|Mathematical Tools]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2A - Introduction to matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Slides shown in class&#039;&#039;&lt;br /&gt;
:[[media:LinearityM285.pdf|Linearity and the Fourier Transform]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/Linearity.html MATLAB linearity demo]&lt;br /&gt;
&lt;br /&gt;
If you are the type who sees beauty in mathematics, the Euler identity may be one of the most beautiful pieces of math in the world.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/6/10&#039;&#039; - Fourier Transform Properties. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:xkcd_fourier.jpg|right]]&lt;br /&gt;
*Example transform derivations&lt;br /&gt;
*The Convolution theorem&lt;br /&gt;
*Oddness (and Even-ness)&lt;br /&gt;
*The Fourier Shift Theorem&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/ShowConvolutions.html MATLAB demo of Fourier transforms and convolution]&lt;br /&gt;
&lt;br /&gt;
Optional Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 5 through 9&lt;br /&gt;
**Note: This reading may be heavy going. I will not be going into nearly this much detail in class, but your time on this will be very well spent. We will be revisiting this material later in the course in week 5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Suggested, Optional Readings from [http://www.dspguide.com DSPguide.com]:&#039;&#039;&#039;&lt;br /&gt;
:*[http://www.dspguide.com/CH5.PDF Linear Systems]&lt;br /&gt;
:*[http://www.dspguide.com/CH6.PDF Convolution]&lt;br /&gt;
:*[http://www.dspguide.com/CH8.PDF Discrete Fourier Transform (DFT)]&lt;br /&gt;
:&#039;&#039;Note: These chapters are lite on math and try to focus on a conceptual understanding&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2B modeling in matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Media: ProblemSet3A.pdf|Problem Set 2A]] and&lt;br /&gt;
[http://www.brainmapping.org/NITP/PNA/html/TwoDimensions.html Problem Set 2B]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Practice using the Fourier transform:&lt;br /&gt;
:[http://www.brainmapping.org/NITP/PNA/ConvFThtml/ConvolutionWorksheet.pdf Fourier transform and Convolution Worksheet]. [http://www.brainmapping.org/NITP/PNA/ConvFThtml/ConvFT.html (&#039;&#039;Solutions&#039;&#039;).]&lt;br /&gt;
:[http://www.brainmapping.org/NITP/PNA/ConvFThtml/Something.wav Sound file for worksheet above.]&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I suggest very strongly that you brush up on linear algebra during this week in anticipation of Dr. Sugar&#039;s lectures in statistics. In particular, I would like you to have an understanding of :&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Matrices as solutions to linear equations - determinants and inverses&#039;&#039;&lt;br /&gt;
:&#039;&#039;Matrix multiplication&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For these, I can recommend the Hefferon text noted above.&lt;br /&gt;
&lt;br /&gt;
=Week 3: Noise and Basic Statistics=&lt;br /&gt;
==&#039;&#039;Monday 10/11/10&#039;&#039; - Noise. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
It is what you &#039;&#039;don&#039;t&#039;&#039; want.&lt;br /&gt;
:Additive noise&lt;br /&gt;
:White Noise&lt;br /&gt;
:Boltzmann noise&lt;br /&gt;
:Colored Noise&lt;br /&gt;
:Gaussian Noise&lt;br /&gt;
:Coherent noise&lt;br /&gt;
:Sampling Errors&lt;br /&gt;
:Aliasing&lt;br /&gt;
:Quantization noise&lt;br /&gt;
:Spectral filtering&lt;br /&gt;
&lt;br /&gt;
Noise comes in all shapes and colors. It is present in every measurement we make, from an EEG voltage to an estimate of the effects of dopamine on forebrain signal. Our best weapons are an understanding of the statistical properties of noise, the sources of noise and the ways to control it. Noise in the discrete digital domain is special, as it is both &#039;&#039;created&#039;&#039; by digitization and amplified by sampling.&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 2 through 4&lt;br /&gt;
&lt;br /&gt;
:*Slides used in Class:&lt;br /&gt;
 [http://www.brainmapping.org/NITP/PNA/Readings/Noise.pdf Noise Slides]&lt;br /&gt;
:&#039;&#039;&#039;Problem set 3 - properties of noise&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/13/10&#039;&#039; - Statistical Fundamentals. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
We will consider the general problems of statistical inference, with a concentration on developing an intuitive understanding of statistical concepts.&lt;br /&gt;
[[Image:MeasureForMeasure.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
:*[[media: CohenClassIntroStats10_13_10.pdf | Slides used in class (set 1)]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Review of&#039;&#039;:&lt;br /&gt;
:*Descriptive Statistics: mean, mode, variance, standard deviation&lt;br /&gt;
:*Statistical Inference. The Binomial and Normal Distribution&lt;br /&gt;
:*Basic Tests: t-test, linear correlation&lt;br /&gt;
:*Modeling and non-linear relations&lt;br /&gt;
:*Bayes rule&lt;br /&gt;
&lt;br /&gt;
Suggested reading&lt;br /&gt;
:*[http://www.statsoft.com/textbook/stbasic.html Statsoft online text (&#039;&#039;free&#039;&#039;)]&lt;br /&gt;
:*[http://www.amazon.com/Cartoon-Guide-Statistics-Larry-Gonick/dp/0062731025 The Cartoon Guide to Statistics - Gonick $17.95 new]&lt;br /&gt;
:The latter teaches stats at what I feel to be the right level - developing intuitions about the kinds of questions that can be answered using stats and about the statistical tests and measures&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 5 - Statistics in matlab&#039;&#039;&#039;&lt;br /&gt;
::[[media: Problem_Set_1.doc|Problem set using stats and MATLAB]]&lt;br /&gt;
::[[media: Problem_Set_1B.doc|More practice with stats and MATLAB]]&lt;br /&gt;
&lt;br /&gt;
=Week4: Statistics for Imaging=&lt;br /&gt;
==&#039;&#039;Monday 10/18/10&#039;&#039; - Statistics for Imaging I. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
#Outline&lt;br /&gt;
[[image:BVTradeoff.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media: Mumford_stat_modeling.pdf | Statistical Modeling and Inference (pdf)]]&lt;br /&gt;
:*[[media: CohenClassSlides10_18_10.pdf | Slides used in class (set 2)]]&lt;br /&gt;
&lt;br /&gt;
:*The General Linear Model&lt;br /&gt;
*Linear Algebra applied to Statistical Solutions&lt;br /&gt;
:*Analysis of Variance&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/20/10&#039;&#039; - Statistics for Imaging II. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
*Fixed and Random Effects&lt;br /&gt;
*Repeated measures&lt;br /&gt;
:*Bonferroni and Other Corrections&lt;br /&gt;
*Non-Parametric Methods&lt;br /&gt;
*Autocorrelation&lt;br /&gt;
*Unknown Distributions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media: CohenClassSlides10_20_10.pdf | Slides used in class (set 3)]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 5: Optics=&lt;br /&gt;
The prototypical imaging means: Direct visualization. These lectures will cover the principles of light transmission, refraction, reflection and dispersion and will develop a quantitative approach to the analysis of optical systems. We will cover the theory of lenses, imperfections in focus, such as chromatic aberration, and a model of optical devices that builds on our understanding of convolution.&lt;br /&gt;
==&#039;&#039;Monday 10/25/10&#039;&#039; - Optics I. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
[[Image:Reflection.jpg|right]]&lt;br /&gt;
The overall goal of this lecture is to establish that:&lt;br /&gt;
&#039;&#039;- Physical constants have tangible meanings&#039;&#039;&lt;br /&gt;
&#039;&#039;- Plane waves form a physically unrealizable but extremely good approximation to real systems&#039;&#039;&lt;br /&gt;
&#039;&#039;- Boundaries bend light&#039;&#039;&lt;br /&gt;
&#039;&#039;- Physical constants, plane wave mechanics, and boundaries can be used to describe the operation of a lens&#039;&#039;&lt;br /&gt;
&#039;&#039;- The PSF gives a good indication of the overall performance of an imaging system&#039;&#039;&lt;br /&gt;
&#039;&#039;- All of these concepts have analogues in other areas of engineering (ie circuits, mechanical vibrations, etc.)&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outline:&#039;&#039;&#039;&lt;br /&gt;
:* Constitutive parameters (ε, μ, η, n, etc.)&lt;br /&gt;
:* Plane wave basics&lt;br /&gt;
:* Plane waves at boundaries&lt;br /&gt;
:* Lenses&lt;br /&gt;
:* Advanced imaging properties of lenses&lt;br /&gt;
:* Point spread function.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Zach has very kindly agreed to post his [http://www.brainmapping.org/NITP/PNA/Readings/OpticsTaylor3-10-10.pdf Optics lecture notes].&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/27/10&#039;&#039; - Optics II. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 6: Optical Neuroimaging=&lt;br /&gt;
== MIDTERM POSTED ==&lt;br /&gt;
:Click [[media:MidTermFall2010.pdf‎ | here for the Midterm. Due in class Mon. 11/8]]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 11/1/10&#039;&#039; - Optical Applications. &#039;&#039;Speaker&#039;&#039;: tbd==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/3/10&#039;&#039; - Optical and flourescence methods in dynamic neural systems. &#039;&#039;Speaker&#039;&#039;: [mailto:kmcevoy@ucla.edu Kevin McEvoy]==&lt;br /&gt;
#Outline&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/d/d3/NeuroimagingCellularLevel_KMcEvoy_2010.pdf Lecture Slides]&lt;br /&gt;
&lt;br /&gt;
=Week 7: Optical Intrinsic Imaging, Beginning Circuits=&lt;br /&gt;
==&#039;&#039;Monday 11/8/10&#039;&#039; - Wide field Optical imaging. &#039;&#039;Speaker&#039;&#039;: [http://www.uclahealth.org/body.cfm?xyzpdqabc=0&amp;amp;id=479&amp;amp;action=detail&amp;amp;ref=95328 Nader Pouratian]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/10/10&#039;&#039; - Circuits I. [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
Why circuits?&lt;br /&gt;
:(Virtually) Every device you use in your research is electronic. You access your primary data only indirectly&lt;br /&gt;
:The device you &#039;&#039;really&#039;&#039; want in your lab doesn&#039;t exist. You very well may have to make it.&lt;br /&gt;
:There are electronic analogs to most of the linear systems that you have so far studied (and &#039;&#039;vice versa&#039;&#039; - the tools you now understand can be used to analyze and predict circuit behavior).&lt;br /&gt;
&lt;br /&gt;
If you have not had any of this background, you might want to have a look at this handout, [[Media:Electricity.pdf|Electrical Circuits]], in advance. There are near infinite numbers of resources on the web that cover similar material (near enough to infinite that by the time you read all of them, there would be a whole new set.) I have recently come across a link to [http://www.allaboutcircuits.com/ Online Books: All About Circuits] &#039;&#039;IF&#039;&#039; you want practical hands-on knowledge about this material, my all-time favorite text is [http://www.google.com/products/catalog?hl=en&amp;amp;client=safari&amp;amp;rls=en-us&amp;amp;ei=uVSPSfaxE5nMsAPf-tmSCQ&amp;amp;resnum=1&amp;amp;q=art+of+electronics&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;cid=8820839049329255765#ps-sellers &amp;quot;Horowitz and Hill: &#039;&#039;The Art of Electronics.&#039;&#039;&amp;quot;] The latest edition, however, is dated 1989 and a new third edition is promised. I have therefore stopped short of recommending a purchase unless your need to make circuits is immediate. In this book, you will find an excellent education on the fundamental principles of electrical circuits and an incredible compendium of practical data, such as how to assemble circuit boards, how to make measurements, etc...) &lt;br /&gt;
&lt;br /&gt;
I found a nice [http://video.google.com/videoplay?docid=5645396659673218353&amp;amp;q=Physics+for+Future+Presidents+Electricity&amp;amp;total=5&amp;amp;start=0&amp;amp;num=10&amp;amp;so=0&amp;amp;type=search&amp;amp;plindex=0#0h20m30s intro lecture on charge, current and voltage].&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[[Media: Circuits.pdf|Circuits 1 &amp;amp; 2]]&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Circuits.pdf Slides shown in class (&#039;&#039;revised 10:30pm 1/28/2010&#039;&#039;)]&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 2 and 10&lt;br /&gt;
**You may or may not find this comprehensible without chapters 5 through 9.&lt;br /&gt;
&lt;br /&gt;
We will discuss:&lt;br /&gt;
:*Passive Circuit Elements: Resistors, Capacitors, Inductors&lt;br /&gt;
:*Gain&lt;br /&gt;
:*Transformers&lt;br /&gt;
:*Rectifiers&lt;br /&gt;
:*Active Elements&lt;br /&gt;
::- &#039;&#039;Amplifiers&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Transistors&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Op Amps&#039;&#039;&lt;br /&gt;
:*Solutions with Matrices&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 8: Electricity and Electronics. Human Electrophysiology=&lt;br /&gt;
==&#039;&#039;Monday 11/15/10&#039;&#039; - Electricity and Electronics. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:Opamp.jpg|right]]&lt;br /&gt;
*Laplace transform analysis&lt;br /&gt;
*Op Amp Circuits&lt;br /&gt;
*Active Filters&lt;br /&gt;
*Noise Control&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
Please note that I have the components we used for the class demos available for you to play with at your leisure.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/17/10&#039;&#039; - Human Electrophysiology &#039;&#039;Speakers&#039;&#039;: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn], [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]==&lt;br /&gt;
&#039;&#039;Evoked Responses&#039;&#039; - Guest Lecturer: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn]&lt;br /&gt;
*A look at real EEG data&lt;br /&gt;
*Preprocessing:&lt;br /&gt;
**filtering&lt;br /&gt;
**artifact detection/removal&lt;br /&gt;
*averaging&lt;br /&gt;
*single events&lt;br /&gt;
*interpretation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Clinical EEG&#039;&#039; - Guest Lecturer: [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]&lt;br /&gt;
*Normal and Abnormal EEG&lt;br /&gt;
*EEG as a marker for brain state&lt;br /&gt;
**sleep staging&lt;br /&gt;
**alpha and relaxation&lt;br /&gt;
*Neurofeedback???&lt;br /&gt;
&lt;br /&gt;
=Week 9: Practical Electronic Circuits=&lt;br /&gt;
This week we will design, build and test a practical device for recording of human electrical potentials: The electromyogram, or EMG. This device must manage the many challenges of interfacing with small biological signals: Sensitivity, Gain, Noise, Linearity, Filtering. The recording we (&#039;&#039;hopefully&#039;&#039;) will make will demonstrate issues of linearity and neural coding.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 11/22/10&#039;&#039; - Design of an EMG Preamp. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/24/10&#039;&#039; - Building and Using Electronic Devices: &#039;&#039;EMG&#039;&#039;. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 10: Filters=&lt;br /&gt;
==&#039;&#039;Monday 12/1/10&#039;&#039; - Autocorrelation, Filters and Color. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Most of what we will look at today is in chapter 7 &amp;amp; 8 of Van Drongelen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 12/3/10&#039;&#039; - &#039;&#039;&#039;Finals Begin&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1819</id>
		<title>Principles of Neuroimaging A - 2010</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1819"/>
		<updated>2010-10-21T19:32:47Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* &amp;#039;&amp;#039;Wednesday 10/20/10&amp;#039;&amp;#039; - Statistics for Imaging II. &amp;#039;&amp;#039;Speaker&amp;#039;&amp;#039;: [http://www.npistat.com/about.asp Catherine Sugar] */  Added slides&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Principles of Neuroimaging A, Fall, 2010 - Class Schedule and Syllabus&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_-_2010-2011 | Back to main course page for Principles of Neuroimaging]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_B_-_2011 | M284B Principles of Neuroimaging B]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 1: Orientation to Neuroimaging, Neurons, Brains=&lt;br /&gt;
==&#039;&#039;Monday 9/27/10&#039;&#039; - Orientation &amp;amp; Neurons. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
In this first class we will review the basics of neurophysiology with an eye towards what signals of brain function might be visible to the neuroimager. We will discuss information coding, energetics, size and time scales.&lt;br /&gt;
[[Image:Neurons.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.ccn.ucla.edu/wiki/images/8/81/The_Active_Brain.pdf The Active Brain]&lt;br /&gt;
:*[[media:NeuronFunction+AnatomyNITP.pdf‎| Neuron function slides shown in class]]&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/5/5a/CAVEAT_LECTOR.pdf Caveat Lector - the misuse of neuroimaging]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Protected/Kosslyn1999.pdf &amp;quot;If Neuroimaging is the Answer, What is the Question?&amp;quot; Kosslyn, 1999]&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[http://www.amazon.com/Fundamental-Neuroscience-Second-Larry-Squire/dp/0126603030 Squire, Fundamentals of Neuroscience]&lt;br /&gt;
:*[http://www.amazon.com/Principles-Neural-Science-Eric-Kandel/dp/0838577016 Kandel, et al., &amp;quot;Principles of Neural Science&amp;quot;]&lt;br /&gt;
:This paper, by Malhi, is a nice orientation in methods of neuroimaging. *[http://www.ccn.ucla.edu/wiki/images/f/f2/Malhi2007.pdf Making sense of neuroimaging in psychiatry]&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1359308/pdf/jphysiol01232-0142.pdf Replacement of the axoplasm of giant nerve fibres with artificial solutions]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 9/29/10&#039;&#039; - The Organization of the Human Brain. &#039;&#039;Speaker&#039;&#039;: [http://ccn.ucla.edu/bmcweb/bmc_bios/SusanBookheimer/ Susan Bookheimer]==&lt;br /&gt;
&#039;&#039;&#039;A probe mail was sent this afternoon to all students in the class. If you did not receive this (subject, &amp;quot;A Probing Question&amp;quot;), let [mailto:mscohen@ucla.edu me] know&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We will discuss the general organization of the human brain, and the regional specialization of cortical areas. The emphasis will be on understanding principles of organization:&lt;br /&gt;
*Phylogenetic Layering&lt;br /&gt;
*Functional Specialization&lt;br /&gt;
*Principles Divisions of the Brain&lt;br /&gt;
*Brain Systems&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[[media:NITPanatomy-Bookheimer.pdf | Slides shown in Class]]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[media:PNIA2010-PS1.pdf|&#039;&#039;&#039;Problem Set 1 Neuroanatomy. Due in class 10/6.&#039;&#039;&#039;]] Please remember that the preferred way for us to receive problem sets is &#039;&#039;via email&#039;&#039; to [mailto:mscohen@ucla.edu Mark] and to [mailto:alheadbme@ucla.edu Austin].&lt;br /&gt;
----&lt;br /&gt;
We will be studying linear systems next week. This coming week until Monday would be a good time to review your calculus fundamentals:&lt;br /&gt;
:&#039;&#039;Derivatives of Polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Integrals of polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Basic trig + derivatives and integrals of sine and cosine functions&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When we start on the linear systems section, we will be using these fundamentals to develop the LaPlace and Fourier transforms, which involve the use of imaginary numbers. The math content for that section is largely contained in this link: [[Media: MathematicalTools.pdf | Mathematical Tools]].&lt;br /&gt;
&lt;br /&gt;
Please let me know by email or other means if this material looks too difficult.&lt;br /&gt;
&lt;br /&gt;
You will need to have matlab installed and running to do the next problem set.&lt;br /&gt;
&lt;br /&gt;
=Week 2: Linear Systems=&lt;br /&gt;
Why the emphasis on Linear Systems? Because they are actually &#039;&#039;easy&#039;&#039; (as compared to non-linear systems, which are not.) As we go through this course, we will see many ways in which linear systems theory is applied to:&lt;br /&gt;
:Modeling of Neural Systems&lt;br /&gt;
:Extraction of Signal from Noise&lt;br /&gt;
:Design of Circuits&lt;br /&gt;
:Image Enhancement&lt;br /&gt;
:Understanding of Image artifacts, and others.&lt;br /&gt;
&lt;br /&gt;
Linear systems analysis is one of the great technologies of the 20th and 21st century. It is now the basis for virtually all electronics design, and its extension into the discrete (digital) domain is the basis for most of modern signal processing. &lt;br /&gt;
&lt;br /&gt;
In our specific case, we will use these few basic principles of linear systems to understand both the instruments we use and the neuroimaging signals we collect. When you have mastered this material, you should be in a much better position to model the systems that you study in order to develop an approach to studying them.&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.brainmapping.org/NITP/PNA/Readings/ImaginaryNumbers.pdf A primer on imaginary numbers] that might be a helpful review.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 10/4/10&#039;&#039; - Transforms and the Convolution Theorem. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 1&lt;br /&gt;
:*[[Media: Mathematical_tools.pdf|Mathematical Tools]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2A - Introduction to matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Slides shown in class&#039;&#039;&lt;br /&gt;
:[[media:LinearityM285.pdf|Linearity and the Fourier Transform]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/Linearity.html MATLAB linearity demo]&lt;br /&gt;
&lt;br /&gt;
If you are the type who sees beauty in mathematics, the Euler identity may be one of the most beautiful pieces of math in the world.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/6/10&#039;&#039; - Fourier Transform Properties. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:xkcd_fourier.jpg|right]]&lt;br /&gt;
*Example transform derivations&lt;br /&gt;
*The Convolution theorem&lt;br /&gt;
*Oddness (and Even-ness)&lt;br /&gt;
*The Fourier Shift Theorem&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/ShowConvolutions.html MATLAB demo of Fourier transforms and convolution]&lt;br /&gt;
&lt;br /&gt;
Optional Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 5 through 9&lt;br /&gt;
**Note: This reading may be heavy going. I will not be going into nearly this much detail in class, but your time on this will be very well spent. We will be revisiting this material later in the course in week 5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Suggested, Optional Readings from [http://www.dspguide.com DSPguide.com]:&#039;&#039;&#039;&lt;br /&gt;
:*[http://www.dspguide.com/CH5.PDF Linear Systems]&lt;br /&gt;
:*[http://www.dspguide.com/CH6.PDF Convolution]&lt;br /&gt;
:*[http://www.dspguide.com/CH8.PDF Discrete Fourier Transform (DFT)]&lt;br /&gt;
:&#039;&#039;Note: These chapters are lite on math and try to focus on a conceptual understanding&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2B modeling in matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Media: ProblemSet3A.pdf|Problem Set 2A]] and&lt;br /&gt;
[http://www.brainmapping.org/NITP/PNA/html/TwoDimensions.html Problem Set 2B]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I suggest very strongly that you brush up on linear algebra during this week in anticipation of Dr. Sugar&#039;s lectures in statistics. In particular, I would like you to have an understanding of :&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Matrices as solutions to linear equations - determinants and inverses&#039;&#039;&lt;br /&gt;
:&#039;&#039;Matrix multiplication&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For these, I can recommend the Hefferon text noted above.&lt;br /&gt;
&lt;br /&gt;
=Week 3: Noise and Basic Statistics=&lt;br /&gt;
==&#039;&#039;Monday 10/11/10&#039;&#039; - Noise. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
It is what you &#039;&#039;don&#039;t&#039;&#039; want.&lt;br /&gt;
:Additive noise&lt;br /&gt;
:White Noise&lt;br /&gt;
:Boltzmann noise&lt;br /&gt;
:Colored Noise&lt;br /&gt;
:Gaussian Noise&lt;br /&gt;
:Coherent noise&lt;br /&gt;
:Sampling Errors&lt;br /&gt;
:Aliasing&lt;br /&gt;
:Quantization noise&lt;br /&gt;
:Spectral filtering&lt;br /&gt;
&lt;br /&gt;
Noise comes in all shapes and colors. It is present in every measurement we make, from an EEG voltage to an estimate of the effects of dopamine on forebrain signal. Our best weapons are an understanding of the statistical properties of noise, the sources of noise and the ways to control it. Noise in the discrete digital domain is special, as it is both &#039;&#039;created&#039;&#039; by digitization and amplified by sampling.&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 2 through 4&lt;br /&gt;
&lt;br /&gt;
:*Slides used in Class:&lt;br /&gt;
 [http://www.brainmapping.org/NITP/PNA/Readings/Noise.pdf Noise Slides]&lt;br /&gt;
:&#039;&#039;&#039;Problem set 3 - properties of noise&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/13/10&#039;&#039; - Statistical Fundamentals. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
We will consider the general problems of statistical inference, with a concentration on developing an intuitive understanding of statistical concepts.&lt;br /&gt;
[[Image:MeasureForMeasure.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
:*[[media: CohenClassIntroStats10_13_10.pdf | Slides used in class (set 1)]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Review of&#039;&#039;:&lt;br /&gt;
:*Descriptive Statistics: mean, mode, variance, standard deviation&lt;br /&gt;
:*Statistical Inference. The Binomial and Normal Distribution&lt;br /&gt;
:*Basic Tests: t-test, linear correlation&lt;br /&gt;
:*Modeling and non-linear relations&lt;br /&gt;
:*Bayes rule&lt;br /&gt;
&lt;br /&gt;
Suggested reading&lt;br /&gt;
:*[http://www.statsoft.com/textbook/stbasic.html Statsoft online text (&#039;&#039;free&#039;&#039;)]&lt;br /&gt;
:*[http://www.amazon.com/Cartoon-Guide-Statistics-Larry-Gonick/dp/0062731025 The Cartoon Guide to Statistics - Gonick $17.95 new]&lt;br /&gt;
:The latter teaches stats at what I feel to be the right level - developing intuitions about the kinds of questions that can be answered using stats and about the statistical tests and measures&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 5 - Statistics in matlab&#039;&#039;&#039;&lt;br /&gt;
::[[media: Problem_Set_1.doc|Problem set using stats and MATLAB]]&lt;br /&gt;
::[[media: Problem_Set_1B.doc|More practice with stats and MATLAB]]&lt;br /&gt;
&lt;br /&gt;
=Week4: Statistics for Imaging=&lt;br /&gt;
==&#039;&#039;Monday 10/18/10&#039;&#039; - Statistics for Imaging I. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
#Outline&lt;br /&gt;
[[image:BVTradeoff.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media: Mumford_stat_modeling.pdf | Statistical Modeling and Inference (pdf)]]&lt;br /&gt;
:*[[media: CohenClassSlides10_18_10.pdf | Slides used in class (set 2)]]&lt;br /&gt;
&lt;br /&gt;
:*The General Linear Model&lt;br /&gt;
*Linear Algebra applied to Statistical Solutions&lt;br /&gt;
:*Analysis of Variance&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/20/10&#039;&#039; - Statistics for Imaging II. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
*Fixed and Random Effects&lt;br /&gt;
*Repeated measures&lt;br /&gt;
:*Bonferroni and Other Corrections&lt;br /&gt;
*Non-Parametric Methods&lt;br /&gt;
*Autocorrelation&lt;br /&gt;
*Unknown Distributions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media: CohenClassSlides10_20_10.pdf | Slides used in class (set 3)]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 5: Optics=&lt;br /&gt;
The prototypical imaging means: Direct visualization. These lectures will cover the principles of light transmission, refraction, reflection and dispersion and will develop a quantitative approach to the analysis of optical systems. We will cover the theory of lenses, imperfections in focus, such as chromatic aberration, and a model of optical devices that builds on our understanding of convolution.&lt;br /&gt;
==&#039;&#039;Monday 10/25/10&#039;&#039; - Optics I. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
[[Image:Reflection.jpg|right]]&lt;br /&gt;
The overall goal of this lecture is to establish that:&lt;br /&gt;
&#039;&#039;- Physical constants have tangible meanings&#039;&#039;&lt;br /&gt;
&#039;&#039;- Plane waves form a physically unrealizable but extremely good approximation to real systems&#039;&#039;&lt;br /&gt;
&#039;&#039;- Boundaries bend light&#039;&#039;&lt;br /&gt;
&#039;&#039;- Physical constants, plane wave mechanics, and boundaries can be used to describe the operation of a lens&#039;&#039;&lt;br /&gt;
&#039;&#039;- The PSF gives a good indication of the overall performance of an imaging system&#039;&#039;&lt;br /&gt;
&#039;&#039;- All of these concepts have analogues in other areas of engineering (ie circuits, mechanical vibrations, etc.)&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outline:&#039;&#039;&#039;&lt;br /&gt;
:* Constitutive parameters (ε, μ, η, n, etc.)&lt;br /&gt;
:* Plane wave basics&lt;br /&gt;
:* Plane waves at boundaries&lt;br /&gt;
:* Lenses&lt;br /&gt;
:* Advanced imaging properties of lenses&lt;br /&gt;
:* Point spread function.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Zach has very kindly agreed to post his [http://www.brainmapping.org/NITP/PNA/Readings/OpticsTaylor3-10-10.pdf Optics lecture notes].&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/27/10&#039;&#039; - Optics II. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 6: Optical Neuroimaging=&lt;br /&gt;
==&#039;&#039;Monday 11/1/10&#039;&#039; - Optical Applications. &#039;&#039;Speaker&#039;&#039;: tbd==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/3/10&#039;&#039; - Optical and flourescence methods in dynamic neural systems. &#039;&#039;Speaker&#039;&#039;: [mailto:kmcevoy@ucla.edu Kevin McEvoy]==&lt;br /&gt;
#Outline&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/d/d3/NeuroimagingCellularLevel_KMcEvoy_2010.pdf Lecture Slides]&lt;br /&gt;
&lt;br /&gt;
=Week 7: Optical Intrinsic Imaging, Beginning Circuits=&lt;br /&gt;
==&#039;&#039;Monday 11/8/10&#039;&#039; - Wide field Optical imaging. &#039;&#039;Speaker&#039;&#039;: [http://www.uclahealth.org/body.cfm?xyzpdqabc=0&amp;amp;id=479&amp;amp;action=detail&amp;amp;ref=95328 Nader Pouratian]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/10/10&#039;&#039; - Circuits I. [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
Why circuits?&lt;br /&gt;
:(Virtually) Every device you use in your research is electronic. You access your primary data only indirectly&lt;br /&gt;
:The device you &#039;&#039;really&#039;&#039; want in your lab doesn&#039;t exist. You very well may have to make it.&lt;br /&gt;
:There are electronic analogs to most of the linear systems that you have so far studied (and &#039;&#039;vice versa&#039;&#039; - the tools you now understand can be used to analyze and predict circuit behavior).&lt;br /&gt;
&lt;br /&gt;
If you have not had any of this background, you might want to have a look at this handout, [[Media:Electricity.pdf|Electrical Circuits]], in advance. There are near infinite numbers of resources on the web that cover similar material (near enough to infinite that by the time you read all of them, there would be a whole new set.) I have recently come across a link to [http://www.allaboutcircuits.com/ Online Books: All About Circuits] &#039;&#039;IF&#039;&#039; you want practical hands-on knowledge about this material, my all-time favorite text is [http://www.google.com/products/catalog?hl=en&amp;amp;client=safari&amp;amp;rls=en-us&amp;amp;ei=uVSPSfaxE5nMsAPf-tmSCQ&amp;amp;resnum=1&amp;amp;q=art+of+electronics&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;cid=8820839049329255765#ps-sellers &amp;quot;Horowitz and Hill: &#039;&#039;The Art of Electronics.&#039;&#039;&amp;quot;] The latest edition, however, is dated 1989 and a new third edition is promised. I have therefore stopped short of recommending a purchase unless your need to make circuits is immediate. In this book, you will find an excellent education on the fundamental principles of electrical circuits and an incredible compendium of practical data, such as how to assemble circuit boards, how to make measurements, etc...) &lt;br /&gt;
&lt;br /&gt;
I found a nice [http://video.google.com/videoplay?docid=5645396659673218353&amp;amp;q=Physics+for+Future+Presidents+Electricity&amp;amp;total=5&amp;amp;start=0&amp;amp;num=10&amp;amp;so=0&amp;amp;type=search&amp;amp;plindex=0#0h20m30s intro lecture on charge, current and voltage].&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[[Media: Circuits.pdf|Circuits 1 &amp;amp; 2]]&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Circuits.pdf Slides shown in class (&#039;&#039;revised 10:30pm 1/28/2010&#039;&#039;)]&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 2 and 10&lt;br /&gt;
**You may or may not find this comprehensible without chapters 5 through 9.&lt;br /&gt;
&lt;br /&gt;
We will discuss:&lt;br /&gt;
:*Passive Circuit Elements: Resistors, Capacitors, Inductors&lt;br /&gt;
:*Gain&lt;br /&gt;
:*Transformers&lt;br /&gt;
:*Rectifiers&lt;br /&gt;
:*Active Elements&lt;br /&gt;
::- &#039;&#039;Amplifiers&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Transistors&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Op Amps&#039;&#039;&lt;br /&gt;
:*Solutions with Matrices&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 8: Electricity and Electronics. Human Electrophysiology=&lt;br /&gt;
==&#039;&#039;Monday 11/15/10&#039;&#039; - Electricity and Electronics. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:Opamp.jpg|right]]&lt;br /&gt;
*Laplace transform analysis&lt;br /&gt;
*Op Amp Circuits&lt;br /&gt;
*Active Filters&lt;br /&gt;
*Noise Control&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
Please note that I have the components we used for the class demos available for you to play with at your leisure.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/17/10&#039;&#039; - Human Electrophysiology &#039;&#039;Speakers&#039;&#039;: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn], [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]==&lt;br /&gt;
&#039;&#039;Evoked Responses&#039;&#039; - Guest Lecturer: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn]&lt;br /&gt;
*A look at real EEG data&lt;br /&gt;
*Preprocessing:&lt;br /&gt;
**filtering&lt;br /&gt;
**artifact detection/removal&lt;br /&gt;
*averaging&lt;br /&gt;
*single events&lt;br /&gt;
*interpretation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Clinical EEG&#039;&#039; - Guest Lecturer: [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]&lt;br /&gt;
*Normal and Abnormal EEG&lt;br /&gt;
*EEG as a marker for brain state&lt;br /&gt;
**sleep staging&lt;br /&gt;
**alpha and relaxation&lt;br /&gt;
*Neurofeedback???&lt;br /&gt;
&lt;br /&gt;
=Week 9: Practical Electronic Circuits=&lt;br /&gt;
This week we will design, build and test a practical device for recording of human electrical potentials: The electromyogram, or EMG. This device must manage the many challenges of interfacing with small biological signals: Sensitivity, Gain, Noise, Linearity, Filtering. The recording we (&#039;&#039;hopefully&#039;&#039;) will make will demonstrate issues of linearity and neural coding.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 11/22/10&#039;&#039; - Design of an EMG Preamp. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/24/10&#039;&#039; - Building and Using Electronic Devices: &#039;&#039;EMG&#039;&#039;. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 10: Filters=&lt;br /&gt;
==&#039;&#039;Monday 12/1/10&#039;&#039; - Autocorrelation, Filters and Color. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Most of what we will look at today is in chapter 7 &amp;amp; 8 of Van Drongelen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 12/3/10&#039;&#039; - &#039;&#039;&#039;Finals Begin&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=File:CohenClassSlides10_20_10.pdf&amp;diff=2194</id>
		<title>File:CohenClassSlides10 20 10.pdf</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=File:CohenClassSlides10_20_10.pdf&amp;diff=2194"/>
		<updated>2010-10-21T19:31:45Z</updated>

		<summary type="html">&lt;p&gt;Alhead: Third set of slides from Dr. Catherine Sugar&amp;#039;s lectures.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Third set of slides from Dr. Catherine Sugar&#039;s lectures.&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1818</id>
		<title>Principles of Neuroimaging A - 2010</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1818"/>
		<updated>2010-10-21T19:31:07Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* &amp;#039;&amp;#039;Monday 10/18/10&amp;#039;&amp;#039; - Statistics for Imaging I. &amp;#039;&amp;#039;Speaker&amp;#039;&amp;#039;: [http://www.npistat.com/about.asp Catherine Sugar] */   Added slides&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Principles of Neuroimaging A, Fall, 2010 - Class Schedule and Syllabus&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_-_2010-2011 | Back to main course page for Principles of Neuroimaging]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_B_-_2011 | M284B Principles of Neuroimaging B]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 1: Orientation to Neuroimaging, Neurons, Brains=&lt;br /&gt;
==&#039;&#039;Monday 9/27/10&#039;&#039; - Orientation &amp;amp; Neurons. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
In this first class we will review the basics of neurophysiology with an eye towards what signals of brain function might be visible to the neuroimager. We will discuss information coding, energetics, size and time scales.&lt;br /&gt;
[[Image:Neurons.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.ccn.ucla.edu/wiki/images/8/81/The_Active_Brain.pdf The Active Brain]&lt;br /&gt;
:*[[media:NeuronFunction+AnatomyNITP.pdf‎| Neuron function slides shown in class]]&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/5/5a/CAVEAT_LECTOR.pdf Caveat Lector - the misuse of neuroimaging]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Protected/Kosslyn1999.pdf &amp;quot;If Neuroimaging is the Answer, What is the Question?&amp;quot; Kosslyn, 1999]&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[http://www.amazon.com/Fundamental-Neuroscience-Second-Larry-Squire/dp/0126603030 Squire, Fundamentals of Neuroscience]&lt;br /&gt;
:*[http://www.amazon.com/Principles-Neural-Science-Eric-Kandel/dp/0838577016 Kandel, et al., &amp;quot;Principles of Neural Science&amp;quot;]&lt;br /&gt;
:This paper, by Malhi, is a nice orientation in methods of neuroimaging. *[http://www.ccn.ucla.edu/wiki/images/f/f2/Malhi2007.pdf Making sense of neuroimaging in psychiatry]&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1359308/pdf/jphysiol01232-0142.pdf Replacement of the axoplasm of giant nerve fibres with artificial solutions]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 9/29/10&#039;&#039; - The Organization of the Human Brain. &#039;&#039;Speaker&#039;&#039;: [http://ccn.ucla.edu/bmcweb/bmc_bios/SusanBookheimer/ Susan Bookheimer]==&lt;br /&gt;
&#039;&#039;&#039;A probe mail was sent this afternoon to all students in the class. If you did not receive this (subject, &amp;quot;A Probing Question&amp;quot;), let [mailto:mscohen@ucla.edu me] know&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We will discuss the general organization of the human brain, and the regional specialization of cortical areas. The emphasis will be on understanding principles of organization:&lt;br /&gt;
*Phylogenetic Layering&lt;br /&gt;
*Functional Specialization&lt;br /&gt;
*Principles Divisions of the Brain&lt;br /&gt;
*Brain Systems&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[[media:NITPanatomy-Bookheimer.pdf | Slides shown in Class]]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[media:PNIA2010-PS1.pdf|&#039;&#039;&#039;Problem Set 1 Neuroanatomy. Due in class 10/6.&#039;&#039;&#039;]] Please remember that the preferred way for us to receive problem sets is &#039;&#039;via email&#039;&#039; to [mailto:mscohen@ucla.edu Mark] and to [mailto:alheadbme@ucla.edu Austin].&lt;br /&gt;
----&lt;br /&gt;
We will be studying linear systems next week. This coming week until Monday would be a good time to review your calculus fundamentals:&lt;br /&gt;
:&#039;&#039;Derivatives of Polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Integrals of polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Basic trig + derivatives and integrals of sine and cosine functions&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When we start on the linear systems section, we will be using these fundamentals to develop the LaPlace and Fourier transforms, which involve the use of imaginary numbers. The math content for that section is largely contained in this link: [[Media: MathematicalTools.pdf | Mathematical Tools]].&lt;br /&gt;
&lt;br /&gt;
Please let me know by email or other means if this material looks too difficult.&lt;br /&gt;
&lt;br /&gt;
You will need to have matlab installed and running to do the next problem set.&lt;br /&gt;
&lt;br /&gt;
=Week 2: Linear Systems=&lt;br /&gt;
Why the emphasis on Linear Systems? Because they are actually &#039;&#039;easy&#039;&#039; (as compared to non-linear systems, which are not.) As we go through this course, we will see many ways in which linear systems theory is applied to:&lt;br /&gt;
:Modeling of Neural Systems&lt;br /&gt;
:Extraction of Signal from Noise&lt;br /&gt;
:Design of Circuits&lt;br /&gt;
:Image Enhancement&lt;br /&gt;
:Understanding of Image artifacts, and others.&lt;br /&gt;
&lt;br /&gt;
Linear systems analysis is one of the great technologies of the 20th and 21st century. It is now the basis for virtually all electronics design, and its extension into the discrete (digital) domain is the basis for most of modern signal processing. &lt;br /&gt;
&lt;br /&gt;
In our specific case, we will use these few basic principles of linear systems to understand both the instruments we use and the neuroimaging signals we collect. When you have mastered this material, you should be in a much better position to model the systems that you study in order to develop an approach to studying them.&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.brainmapping.org/NITP/PNA/Readings/ImaginaryNumbers.pdf A primer on imaginary numbers] that might be a helpful review.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 10/4/10&#039;&#039; - Transforms and the Convolution Theorem. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 1&lt;br /&gt;
:*[[Media: Mathematical_tools.pdf|Mathematical Tools]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2A - Introduction to matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Slides shown in class&#039;&#039;&lt;br /&gt;
:[[media:LinearityM285.pdf|Linearity and the Fourier Transform]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/Linearity.html MATLAB linearity demo]&lt;br /&gt;
&lt;br /&gt;
If you are the type who sees beauty in mathematics, the Euler identity may be one of the most beautiful pieces of math in the world.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/6/10&#039;&#039; - Fourier Transform Properties. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:xkcd_fourier.jpg|right]]&lt;br /&gt;
*Example transform derivations&lt;br /&gt;
*The Convolution theorem&lt;br /&gt;
*Oddness (and Even-ness)&lt;br /&gt;
*The Fourier Shift Theorem&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/ShowConvolutions.html MATLAB demo of Fourier transforms and convolution]&lt;br /&gt;
&lt;br /&gt;
Optional Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 5 through 9&lt;br /&gt;
**Note: This reading may be heavy going. I will not be going into nearly this much detail in class, but your time on this will be very well spent. We will be revisiting this material later in the course in week 5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Suggested, Optional Readings from [http://www.dspguide.com DSPguide.com]:&#039;&#039;&#039;&lt;br /&gt;
:*[http://www.dspguide.com/CH5.PDF Linear Systems]&lt;br /&gt;
:*[http://www.dspguide.com/CH6.PDF Convolution]&lt;br /&gt;
:*[http://www.dspguide.com/CH8.PDF Discrete Fourier Transform (DFT)]&lt;br /&gt;
:&#039;&#039;Note: These chapters are lite on math and try to focus on a conceptual understanding&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2B modeling in matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Media: ProblemSet3A.pdf|Problem Set 2A]] and&lt;br /&gt;
[http://www.brainmapping.org/NITP/PNA/html/TwoDimensions.html Problem Set 2B]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I suggest very strongly that you brush up on linear algebra during this week in anticipation of Dr. Sugar&#039;s lectures in statistics. In particular, I would like you to have an understanding of :&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Matrices as solutions to linear equations - determinants and inverses&#039;&#039;&lt;br /&gt;
:&#039;&#039;Matrix multiplication&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For these, I can recommend the Hefferon text noted above.&lt;br /&gt;
&lt;br /&gt;
=Week 3: Noise and Basic Statistics=&lt;br /&gt;
==&#039;&#039;Monday 10/11/10&#039;&#039; - Noise. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
It is what you &#039;&#039;don&#039;t&#039;&#039; want.&lt;br /&gt;
:Additive noise&lt;br /&gt;
:White Noise&lt;br /&gt;
:Boltzmann noise&lt;br /&gt;
:Colored Noise&lt;br /&gt;
:Gaussian Noise&lt;br /&gt;
:Coherent noise&lt;br /&gt;
:Sampling Errors&lt;br /&gt;
:Aliasing&lt;br /&gt;
:Quantization noise&lt;br /&gt;
:Spectral filtering&lt;br /&gt;
&lt;br /&gt;
Noise comes in all shapes and colors. It is present in every measurement we make, from an EEG voltage to an estimate of the effects of dopamine on forebrain signal. Our best weapons are an understanding of the statistical properties of noise, the sources of noise and the ways to control it. Noise in the discrete digital domain is special, as it is both &#039;&#039;created&#039;&#039; by digitization and amplified by sampling.&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 2 through 4&lt;br /&gt;
&lt;br /&gt;
:*Slides used in Class:&lt;br /&gt;
 [http://www.brainmapping.org/NITP/PNA/Readings/Noise.pdf Noise Slides]&lt;br /&gt;
:&#039;&#039;&#039;Problem set 3 - properties of noise&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/13/10&#039;&#039; - Statistical Fundamentals. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
We will consider the general problems of statistical inference, with a concentration on developing an intuitive understanding of statistical concepts.&lt;br /&gt;
[[Image:MeasureForMeasure.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
:*[[media: CohenClassIntroStats10_13_10.pdf | Slides used in class (set 1)]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Review of&#039;&#039;:&lt;br /&gt;
:*Descriptive Statistics: mean, mode, variance, standard deviation&lt;br /&gt;
:*Statistical Inference. The Binomial and Normal Distribution&lt;br /&gt;
:*Basic Tests: t-test, linear correlation&lt;br /&gt;
:*Modeling and non-linear relations&lt;br /&gt;
:*Bayes rule&lt;br /&gt;
&lt;br /&gt;
Suggested reading&lt;br /&gt;
:*[http://www.statsoft.com/textbook/stbasic.html Statsoft online text (&#039;&#039;free&#039;&#039;)]&lt;br /&gt;
:*[http://www.amazon.com/Cartoon-Guide-Statistics-Larry-Gonick/dp/0062731025 The Cartoon Guide to Statistics - Gonick $17.95 new]&lt;br /&gt;
:The latter teaches stats at what I feel to be the right level - developing intuitions about the kinds of questions that can be answered using stats and about the statistical tests and measures&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 5 - Statistics in matlab&#039;&#039;&#039;&lt;br /&gt;
::[[media: Problem_Set_1.doc|Problem set using stats and MATLAB]]&lt;br /&gt;
::[[media: Problem_Set_1B.doc|More practice with stats and MATLAB]]&lt;br /&gt;
&lt;br /&gt;
=Week4: Statistics for Imaging=&lt;br /&gt;
==&#039;&#039;Monday 10/18/10&#039;&#039; - Statistics for Imaging I. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
#Outline&lt;br /&gt;
[[image:BVTradeoff.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media: Mumford_stat_modeling.pdf | Statistical Modeling and Inference (pdf)]]&lt;br /&gt;
:*[[media: CohenClassSlides10_18_10.pdf | Slides used in class (set 2)]]&lt;br /&gt;
&lt;br /&gt;
:*The General Linear Model&lt;br /&gt;
*Linear Algebra applied to Statistical Solutions&lt;br /&gt;
:*Analysis of Variance&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/20/10&#039;&#039; - Statistics for Imaging II. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
*Fixed and Random Effects&lt;br /&gt;
*Repeated measures&lt;br /&gt;
:*Bonferroni and Other Corrections&lt;br /&gt;
*Non-Parametric Methods&lt;br /&gt;
*Autocorrelation&lt;br /&gt;
*Unknown Distributions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 5: Optics=&lt;br /&gt;
The prototypical imaging means: Direct visualization. These lectures will cover the principles of light transmission, refraction, reflection and dispersion and will develop a quantitative approach to the analysis of optical systems. We will cover the theory of lenses, imperfections in focus, such as chromatic aberration, and a model of optical devices that builds on our understanding of convolution.&lt;br /&gt;
==&#039;&#039;Monday 10/25/10&#039;&#039; - Optics I. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
[[Image:Reflection.jpg|right]]&lt;br /&gt;
The overall goal of this lecture is to establish that:&lt;br /&gt;
&#039;&#039;- Physical constants have tangible meanings&#039;&#039;&lt;br /&gt;
&#039;&#039;- Plane waves form a physically unrealizable but extremely good approximation to real systems&#039;&#039;&lt;br /&gt;
&#039;&#039;- Boundaries bend light&#039;&#039;&lt;br /&gt;
&#039;&#039;- Physical constants, plane wave mechanics, and boundaries can be used to describe the operation of a lens&#039;&#039;&lt;br /&gt;
&#039;&#039;- The PSF gives a good indication of the overall performance of an imaging system&#039;&#039;&lt;br /&gt;
&#039;&#039;- All of these concepts have analogues in other areas of engineering (ie circuits, mechanical vibrations, etc.)&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outline:&#039;&#039;&#039;&lt;br /&gt;
:* Constitutive parameters (ε, μ, η, n, etc.)&lt;br /&gt;
:* Plane wave basics&lt;br /&gt;
:* Plane waves at boundaries&lt;br /&gt;
:* Lenses&lt;br /&gt;
:* Advanced imaging properties of lenses&lt;br /&gt;
:* Point spread function.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Zach has very kindly agreed to post his [http://www.brainmapping.org/NITP/PNA/Readings/OpticsTaylor3-10-10.pdf Optics lecture notes].&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/27/10&#039;&#039; - Optics II. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 6: Optical Neuroimaging=&lt;br /&gt;
==&#039;&#039;Monday 11/1/10&#039;&#039; - Optical Applications. &#039;&#039;Speaker&#039;&#039;: tbd==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/3/10&#039;&#039; - Optical and flourescence methods in dynamic neural systems. &#039;&#039;Speaker&#039;&#039;: [mailto:kmcevoy@ucla.edu Kevin McEvoy]==&lt;br /&gt;
#Outline&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/d/d3/NeuroimagingCellularLevel_KMcEvoy_2010.pdf Lecture Slides]&lt;br /&gt;
&lt;br /&gt;
=Week 7: Optical Intrinsic Imaging, Beginning Circuits=&lt;br /&gt;
==&#039;&#039;Monday 11/8/10&#039;&#039; - Wide field Optical imaging. &#039;&#039;Speaker&#039;&#039;: [http://www.uclahealth.org/body.cfm?xyzpdqabc=0&amp;amp;id=479&amp;amp;action=detail&amp;amp;ref=95328 Nader Pouratian]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/10/10&#039;&#039; - Circuits I. [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
Why circuits?&lt;br /&gt;
:(Virtually) Every device you use in your research is electronic. You access your primary data only indirectly&lt;br /&gt;
:The device you &#039;&#039;really&#039;&#039; want in your lab doesn&#039;t exist. You very well may have to make it.&lt;br /&gt;
:There are electronic analogs to most of the linear systems that you have so far studied (and &#039;&#039;vice versa&#039;&#039; - the tools you now understand can be used to analyze and predict circuit behavior).&lt;br /&gt;
&lt;br /&gt;
If you have not had any of this background, you might want to have a look at this handout, [[Media:Electricity.pdf|Electrical Circuits]], in advance. There are near infinite numbers of resources on the web that cover similar material (near enough to infinite that by the time you read all of them, there would be a whole new set.) I have recently come across a link to [http://www.allaboutcircuits.com/ Online Books: All About Circuits] &#039;&#039;IF&#039;&#039; you want practical hands-on knowledge about this material, my all-time favorite text is [http://www.google.com/products/catalog?hl=en&amp;amp;client=safari&amp;amp;rls=en-us&amp;amp;ei=uVSPSfaxE5nMsAPf-tmSCQ&amp;amp;resnum=1&amp;amp;q=art+of+electronics&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;cid=8820839049329255765#ps-sellers &amp;quot;Horowitz and Hill: &#039;&#039;The Art of Electronics.&#039;&#039;&amp;quot;] The latest edition, however, is dated 1989 and a new third edition is promised. I have therefore stopped short of recommending a purchase unless your need to make circuits is immediate. In this book, you will find an excellent education on the fundamental principles of electrical circuits and an incredible compendium of practical data, such as how to assemble circuit boards, how to make measurements, etc...) &lt;br /&gt;
&lt;br /&gt;
I found a nice [http://video.google.com/videoplay?docid=5645396659673218353&amp;amp;q=Physics+for+Future+Presidents+Electricity&amp;amp;total=5&amp;amp;start=0&amp;amp;num=10&amp;amp;so=0&amp;amp;type=search&amp;amp;plindex=0#0h20m30s intro lecture on charge, current and voltage].&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[[Media: Circuits.pdf|Circuits 1 &amp;amp; 2]]&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Circuits.pdf Slides shown in class (&#039;&#039;revised 10:30pm 1/28/2010&#039;&#039;)]&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 2 and 10&lt;br /&gt;
**You may or may not find this comprehensible without chapters 5 through 9.&lt;br /&gt;
&lt;br /&gt;
We will discuss:&lt;br /&gt;
:*Passive Circuit Elements: Resistors, Capacitors, Inductors&lt;br /&gt;
:*Gain&lt;br /&gt;
:*Transformers&lt;br /&gt;
:*Rectifiers&lt;br /&gt;
:*Active Elements&lt;br /&gt;
::- &#039;&#039;Amplifiers&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Transistors&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Op Amps&#039;&#039;&lt;br /&gt;
:*Solutions with Matrices&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 8: Electricity and Electronics. Human Electrophysiology=&lt;br /&gt;
==&#039;&#039;Monday 11/15/10&#039;&#039; - Electricity and Electronics. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:Opamp.jpg|right]]&lt;br /&gt;
*Laplace transform analysis&lt;br /&gt;
*Op Amp Circuits&lt;br /&gt;
*Active Filters&lt;br /&gt;
*Noise Control&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
Please note that I have the components we used for the class demos available for you to play with at your leisure.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/17/10&#039;&#039; - Human Electrophysiology &#039;&#039;Speakers&#039;&#039;: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn], [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]==&lt;br /&gt;
&#039;&#039;Evoked Responses&#039;&#039; - Guest Lecturer: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn]&lt;br /&gt;
*A look at real EEG data&lt;br /&gt;
*Preprocessing:&lt;br /&gt;
**filtering&lt;br /&gt;
**artifact detection/removal&lt;br /&gt;
*averaging&lt;br /&gt;
*single events&lt;br /&gt;
*interpretation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Clinical EEG&#039;&#039; - Guest Lecturer: [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]&lt;br /&gt;
*Normal and Abnormal EEG&lt;br /&gt;
*EEG as a marker for brain state&lt;br /&gt;
**sleep staging&lt;br /&gt;
**alpha and relaxation&lt;br /&gt;
*Neurofeedback???&lt;br /&gt;
&lt;br /&gt;
=Week 9: Practical Electronic Circuits=&lt;br /&gt;
This week we will design, build and test a practical device for recording of human electrical potentials: The electromyogram, or EMG. This device must manage the many challenges of interfacing with small biological signals: Sensitivity, Gain, Noise, Linearity, Filtering. The recording we (&#039;&#039;hopefully&#039;&#039;) will make will demonstrate issues of linearity and neural coding.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 11/22/10&#039;&#039; - Design of an EMG Preamp. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/24/10&#039;&#039; - Building and Using Electronic Devices: &#039;&#039;EMG&#039;&#039;. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 10: Filters=&lt;br /&gt;
==&#039;&#039;Monday 12/1/10&#039;&#039; - Autocorrelation, Filters and Color. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Most of what we will look at today is in chapter 7 &amp;amp; 8 of Van Drongelen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 12/3/10&#039;&#039; - &#039;&#039;&#039;Finals Begin&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=File:CohenClassSlides10_18_10.pdf&amp;diff=2192</id>
		<title>File:CohenClassSlides10 18 10.pdf</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=File:CohenClassSlides10_18_10.pdf&amp;diff=2192"/>
		<updated>2010-10-21T19:29:06Z</updated>

		<summary type="html">&lt;p&gt;Alhead: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Second set of slides from Dr. Catherine Sugar&#039;s lectures.&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1817</id>
		<title>Principles of Neuroimaging A - 2010</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=Principles_of_Neuroimaging_A_-_2010&amp;diff=1817"/>
		<updated>2010-10-21T19:27:13Z</updated>

		<summary type="html">&lt;p&gt;Alhead: /* &amp;#039;&amp;#039;Wednesday 10/13/10&amp;#039;&amp;#039; - Statistical Fundamentals. &amp;#039;&amp;#039;Speaker&amp;#039;&amp;#039;: [http://www.npistat.com/about.asp Catherine Sugar] */   Added slides&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Principles of Neuroimaging A, Fall, 2010 - Class Schedule and Syllabus&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_-_2010-2011 | Back to main course page for Principles of Neuroimaging]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;[[Principles_of_Neuroimaging_B_-_2011 | M284B Principles of Neuroimaging B]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 1: Orientation to Neuroimaging, Neurons, Brains=&lt;br /&gt;
==&#039;&#039;Monday 9/27/10&#039;&#039; - Orientation &amp;amp; Neurons. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
In this first class we will review the basics of neurophysiology with an eye towards what signals of brain function might be visible to the neuroimager. We will discuss information coding, energetics, size and time scales.&lt;br /&gt;
[[Image:Neurons.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.ccn.ucla.edu/wiki/images/8/81/The_Active_Brain.pdf The Active Brain]&lt;br /&gt;
:*[[media:NeuronFunction+AnatomyNITP.pdf‎| Neuron function slides shown in class]]&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/5/5a/CAVEAT_LECTOR.pdf Caveat Lector - the misuse of neuroimaging]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Protected/Kosslyn1999.pdf &amp;quot;If Neuroimaging is the Answer, What is the Question?&amp;quot; Kosslyn, 1999]&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[http://www.amazon.com/Fundamental-Neuroscience-Second-Larry-Squire/dp/0126603030 Squire, Fundamentals of Neuroscience]&lt;br /&gt;
:*[http://www.amazon.com/Principles-Neural-Science-Eric-Kandel/dp/0838577016 Kandel, et al., &amp;quot;Principles of Neural Science&amp;quot;]&lt;br /&gt;
:This paper, by Malhi, is a nice orientation in methods of neuroimaging. *[http://www.ccn.ucla.edu/wiki/images/f/f2/Malhi2007.pdf Making sense of neuroimaging in psychiatry]&lt;br /&gt;
:*[http://www.ncbi.nlm.nih.gov/pmc/articles/PMC1359308/pdf/jphysiol01232-0142.pdf Replacement of the axoplasm of giant nerve fibres with artificial solutions]&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 9/29/10&#039;&#039; - The Organization of the Human Brain. &#039;&#039;Speaker&#039;&#039;: [http://ccn.ucla.edu/bmcweb/bmc_bios/SusanBookheimer/ Susan Bookheimer]==&lt;br /&gt;
&#039;&#039;&#039;A probe mail was sent this afternoon to all students in the class. If you did not receive this (subject, &amp;quot;A Probing Question&amp;quot;), let [mailto:mscohen@ucla.edu me] know&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
We will discuss the general organization of the human brain, and the regional specialization of cortical areas. The emphasis will be on understanding principles of organization:&lt;br /&gt;
*Phylogenetic Layering&lt;br /&gt;
*Functional Specialization&lt;br /&gt;
*Principles Divisions of the Brain&lt;br /&gt;
*Brain Systems&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://da.biostr.washington.edu:80/cgi-bin/DA/PageMaster?atlas:NeuroSyllabus+ffpathIndex/Splash^Page^Syllabus+2 Neuroanatomy Programmed Learning]&lt;br /&gt;
:*[[media:NITPanatomy-Bookheimer.pdf | Slides shown in Class]]&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[media:PNIA2010-PS1.pdf|&#039;&#039;&#039;Problem Set 1 Neuroanatomy. Due in class 10/6.&#039;&#039;&#039;]] Please remember that the preferred way for us to receive problem sets is &#039;&#039;via email&#039;&#039; to [mailto:mscohen@ucla.edu Mark] and to [mailto:alheadbme@ucla.edu Austin].&lt;br /&gt;
----&lt;br /&gt;
We will be studying linear systems next week. This coming week until Monday would be a good time to review your calculus fundamentals:&lt;br /&gt;
:&#039;&#039;Derivatives of Polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Integrals of polynomials&#039;&#039;&lt;br /&gt;
:&#039;&#039;Basic trig + derivatives and integrals of sine and cosine functions&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
When we start on the linear systems section, we will be using these fundamentals to develop the LaPlace and Fourier transforms, which involve the use of imaginary numbers. The math content for that section is largely contained in this link: [[Media: MathematicalTools.pdf | Mathematical Tools]].&lt;br /&gt;
&lt;br /&gt;
Please let me know by email or other means if this material looks too difficult.&lt;br /&gt;
&lt;br /&gt;
You will need to have matlab installed and running to do the next problem set.&lt;br /&gt;
&lt;br /&gt;
=Week 2: Linear Systems=&lt;br /&gt;
Why the emphasis on Linear Systems? Because they are actually &#039;&#039;easy&#039;&#039; (as compared to non-linear systems, which are not.) As we go through this course, we will see many ways in which linear systems theory is applied to:&lt;br /&gt;
:Modeling of Neural Systems&lt;br /&gt;
:Extraction of Signal from Noise&lt;br /&gt;
:Design of Circuits&lt;br /&gt;
:Image Enhancement&lt;br /&gt;
:Understanding of Image artifacts, and others.&lt;br /&gt;
&lt;br /&gt;
Linear systems analysis is one of the great technologies of the 20th and 21st century. It is now the basis for virtually all electronics design, and its extension into the discrete (digital) domain is the basis for most of modern signal processing. &lt;br /&gt;
&lt;br /&gt;
In our specific case, we will use these few basic principles of linear systems to understand both the instruments we use and the neuroimaging signals we collect. When you have mastered this material, you should be in a much better position to model the systems that you study in order to develop an approach to studying them.&lt;br /&gt;
&lt;br /&gt;
Here is [http://www.brainmapping.org/NITP/PNA/Readings/ImaginaryNumbers.pdf A primer on imaginary numbers] that might be a helpful review.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 10/4/10&#039;&#039; - Transforms and the Convolution Theorem. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 1&lt;br /&gt;
:*[[Media: Mathematical_tools.pdf|Mathematical Tools]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2A - Introduction to matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Slides shown in class&#039;&#039;&lt;br /&gt;
:[[media:LinearityM285.pdf|Linearity and the Fourier Transform]] - updated 10/4/10 after class&lt;br /&gt;
&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/Linearity.html MATLAB linearity demo]&lt;br /&gt;
&lt;br /&gt;
If you are the type who sees beauty in mathematics, the Euler identity may be one of the most beautiful pieces of math in the world.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/6/10&#039;&#039; - Fourier Transform Properties. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:xkcd_fourier.jpg|right]]&lt;br /&gt;
*Example transform derivations&lt;br /&gt;
*The Convolution theorem&lt;br /&gt;
*Oddness (and Even-ness)&lt;br /&gt;
*The Fourier Shift Theorem&lt;br /&gt;
Please see [http://www.brainmapping.org/NITP/PNA/html/ShowConvolutions.html MATLAB demo of Fourier transforms and convolution]&lt;br /&gt;
&lt;br /&gt;
Optional Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 5 through 9&lt;br /&gt;
**Note: This reading may be heavy going. I will not be going into nearly this much detail in class, but your time on this will be very well spent. We will be revisiting this material later in the course in week 5.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Suggested, Optional Readings from [http://www.dspguide.com DSPguide.com]:&#039;&#039;&#039;&lt;br /&gt;
:*[http://www.dspguide.com/CH5.PDF Linear Systems]&lt;br /&gt;
:*[http://www.dspguide.com/CH6.PDF Convolution]&lt;br /&gt;
:*[http://www.dspguide.com/CH8.PDF Discrete Fourier Transform (DFT)]&lt;br /&gt;
:&#039;&#039;Note: These chapters are lite on math and try to focus on a conceptual understanding&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 2B modeling in matlab&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Media: ProblemSet3A.pdf|Problem Set 2A]] and&lt;br /&gt;
[http://www.brainmapping.org/NITP/PNA/html/TwoDimensions.html Problem Set 2B]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I suggest very strongly that you brush up on linear algebra during this week in anticipation of Dr. Sugar&#039;s lectures in statistics. In particular, I would like you to have an understanding of :&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Matrices as solutions to linear equations - determinants and inverses&#039;&#039;&lt;br /&gt;
:&#039;&#039;Matrix multiplication&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For these, I can recommend the Hefferon text noted above.&lt;br /&gt;
&lt;br /&gt;
=Week 3: Noise and Basic Statistics=&lt;br /&gt;
==&#039;&#039;Monday 10/11/10&#039;&#039; - Noise. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
It is what you &#039;&#039;don&#039;t&#039;&#039; want.&lt;br /&gt;
:Additive noise&lt;br /&gt;
:White Noise&lt;br /&gt;
:Boltzmann noise&lt;br /&gt;
:Colored Noise&lt;br /&gt;
:Gaussian Noise&lt;br /&gt;
:Coherent noise&lt;br /&gt;
:Sampling Errors&lt;br /&gt;
:Aliasing&lt;br /&gt;
:Quantization noise&lt;br /&gt;
:Spectral filtering&lt;br /&gt;
&lt;br /&gt;
Noise comes in all shapes and colors. It is present in every measurement we make, from an EEG voltage to an estimate of the effects of dopamine on forebrain signal. Our best weapons are an understanding of the statistical properties of noise, the sources of noise and the ways to control it. Noise in the discrete digital domain is special, as it is both &#039;&#039;created&#039;&#039; by digitization and amplified by sampling.&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapters 2 through 4&lt;br /&gt;
&lt;br /&gt;
:*Slides used in Class:&lt;br /&gt;
 [http://www.brainmapping.org/NITP/PNA/Readings/Noise.pdf Noise Slides]&lt;br /&gt;
:&#039;&#039;&#039;Problem set 3 - properties of noise&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/13/10&#039;&#039; - Statistical Fundamentals. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
We will consider the general problems of statistical inference, with a concentration on developing an intuitive understanding of statistical concepts.&lt;br /&gt;
[[Image:MeasureForMeasure.jpg|right]]&lt;br /&gt;
&lt;br /&gt;
:*[[media: CohenClassIntroStats10_13_10.pdf | Slides used in class (set 1)]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Review of&#039;&#039;:&lt;br /&gt;
:*Descriptive Statistics: mean, mode, variance, standard deviation&lt;br /&gt;
:*Statistical Inference. The Binomial and Normal Distribution&lt;br /&gt;
:*Basic Tests: t-test, linear correlation&lt;br /&gt;
:*Modeling and non-linear relations&lt;br /&gt;
:*Bayes rule&lt;br /&gt;
&lt;br /&gt;
Suggested reading&lt;br /&gt;
:*[http://www.statsoft.com/textbook/stbasic.html Statsoft online text (&#039;&#039;free&#039;&#039;)]&lt;br /&gt;
:*[http://www.amazon.com/Cartoon-Guide-Statistics-Larry-Gonick/dp/0062731025 The Cartoon Guide to Statistics - Gonick $17.95 new]&lt;br /&gt;
:The latter teaches stats at what I feel to be the right level - developing intuitions about the kinds of questions that can be answered using stats and about the statistical tests and measures&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;Problem Set 5 - Statistics in matlab&#039;&#039;&#039;&lt;br /&gt;
::[[media: Problem_Set_1.doc|Problem set using stats and MATLAB]]&lt;br /&gt;
::[[media: Problem_Set_1B.doc|More practice with stats and MATLAB]]&lt;br /&gt;
&lt;br /&gt;
=Week4: Statistics for Imaging=&lt;br /&gt;
==&#039;&#039;Monday 10/18/10&#039;&#039; - Statistics for Imaging I. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
#Outline&lt;br /&gt;
[[image:BVTradeoff.jpg|right]]&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[[media: Mumford_stat_modeling.pdf | Statistical Modeling and Inference (pdf)]]&lt;br /&gt;
&lt;br /&gt;
:*The General Linear Model&lt;br /&gt;
*Linear Algebra applied to Statistical Solutions&lt;br /&gt;
:*Analysis of Variance&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/20/10&#039;&#039; - Statistics for Imaging II. &#039;&#039;Speaker&#039;&#039;: [http://www.npistat.com/about.asp Catherine Sugar]==&lt;br /&gt;
*Fixed and Random Effects&lt;br /&gt;
*Repeated measures&lt;br /&gt;
:*Bonferroni and Other Corrections&lt;br /&gt;
*Non-Parametric Methods&lt;br /&gt;
*Autocorrelation&lt;br /&gt;
*Unknown Distributions&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
=Week 5: Optics=&lt;br /&gt;
The prototypical imaging means: Direct visualization. These lectures will cover the principles of light transmission, refraction, reflection and dispersion and will develop a quantitative approach to the analysis of optical systems. We will cover the theory of lenses, imperfections in focus, such as chromatic aberration, and a model of optical devices that builds on our understanding of convolution.&lt;br /&gt;
==&#039;&#039;Monday 10/25/10&#039;&#039; - Optics I. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
[[Image:Reflection.jpg|right]]&lt;br /&gt;
The overall goal of this lecture is to establish that:&lt;br /&gt;
&#039;&#039;- Physical constants have tangible meanings&#039;&#039;&lt;br /&gt;
&#039;&#039;- Plane waves form a physically unrealizable but extremely good approximation to real systems&#039;&#039;&lt;br /&gt;
&#039;&#039;- Boundaries bend light&#039;&#039;&lt;br /&gt;
&#039;&#039;- Physical constants, plane wave mechanics, and boundaries can be used to describe the operation of a lens&#039;&#039;&lt;br /&gt;
&#039;&#039;- The PSF gives a good indication of the overall performance of an imaging system&#039;&#039;&lt;br /&gt;
&#039;&#039;- All of these concepts have analogues in other areas of engineering (ie circuits, mechanical vibrations, etc.)&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Outline:&#039;&#039;&#039;&lt;br /&gt;
:* Constitutive parameters (ε, μ, η, n, etc.)&lt;br /&gt;
:* Plane wave basics&lt;br /&gt;
:* Plane waves at boundaries&lt;br /&gt;
:* Lenses&lt;br /&gt;
:* Advanced imaging properties of lenses&lt;br /&gt;
:* Point spread function.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Zach has very kindly agreed to post his [http://www.brainmapping.org/NITP/PNA/Readings/OpticsTaylor3-10-10.pdf Optics lecture notes].&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 10/27/10&#039;&#039; - Optics II. &#039;&#039;Speaker&#039;&#039;: [mailto:zdeis@seas.ucla.edu Zachary Taylor]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 6: Optical Neuroimaging=&lt;br /&gt;
==&#039;&#039;Monday 11/1/10&#039;&#039; - Optical Applications. &#039;&#039;Speaker&#039;&#039;: tbd==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/3/10&#039;&#039; - Optical and flourescence methods in dynamic neural systems. &#039;&#039;Speaker&#039;&#039;: [mailto:kmcevoy@ucla.edu Kevin McEvoy]==&lt;br /&gt;
#Outline&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
:*[http://ccn.ucla.edu/wiki/images/d/d3/NeuroimagingCellularLevel_KMcEvoy_2010.pdf Lecture Slides]&lt;br /&gt;
&lt;br /&gt;
=Week 7: Optical Intrinsic Imaging, Beginning Circuits=&lt;br /&gt;
==&#039;&#039;Monday 11/8/10&#039;&#039; - Wide field Optical imaging. &#039;&#039;Speaker&#039;&#039;: [http://www.uclahealth.org/body.cfm?xyzpdqabc=0&amp;amp;id=479&amp;amp;action=detail&amp;amp;ref=95328 Nader Pouratian]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/10/10&#039;&#039; - Circuits I. [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
Why circuits?&lt;br /&gt;
:(Virtually) Every device you use in your research is electronic. You access your primary data only indirectly&lt;br /&gt;
:The device you &#039;&#039;really&#039;&#039; want in your lab doesn&#039;t exist. You very well may have to make it.&lt;br /&gt;
:There are electronic analogs to most of the linear systems that you have so far studied (and &#039;&#039;vice versa&#039;&#039; - the tools you now understand can be used to analyze and predict circuit behavior).&lt;br /&gt;
&lt;br /&gt;
If you have not had any of this background, you might want to have a look at this handout, [[Media:Electricity.pdf|Electrical Circuits]], in advance. There are near infinite numbers of resources on the web that cover similar material (near enough to infinite that by the time you read all of them, there would be a whole new set.) I have recently come across a link to [http://www.allaboutcircuits.com/ Online Books: All About Circuits] &#039;&#039;IF&#039;&#039; you want practical hands-on knowledge about this material, my all-time favorite text is [http://www.google.com/products/catalog?hl=en&amp;amp;client=safari&amp;amp;rls=en-us&amp;amp;ei=uVSPSfaxE5nMsAPf-tmSCQ&amp;amp;resnum=1&amp;amp;q=art+of+electronics&amp;amp;um=1&amp;amp;ie=UTF-8&amp;amp;cid=8820839049329255765#ps-sellers &amp;quot;Horowitz and Hill: &#039;&#039;The Art of Electronics.&#039;&#039;&amp;quot;] The latest edition, however, is dated 1989 and a new third edition is promised. I have therefore stopped short of recommending a purchase unless your need to make circuits is immediate. In this book, you will find an excellent education on the fundamental principles of electrical circuits and an incredible compendium of practical data, such as how to assemble circuit boards, how to make measurements, etc...) &lt;br /&gt;
&lt;br /&gt;
I found a nice [http://video.google.com/videoplay?docid=5645396659673218353&amp;amp;q=Physics+for+Future+Presidents+Electricity&amp;amp;total=5&amp;amp;start=0&amp;amp;num=10&amp;amp;so=0&amp;amp;type=search&amp;amp;plindex=0#0h20m30s intro lecture on charge, current and voltage].&lt;br /&gt;
&lt;br /&gt;
Readings:&lt;br /&gt;
:*[[Media: Circuits.pdf|Circuits 1 &amp;amp; 2]]&lt;br /&gt;
:*[http://www.brainmapping.org/NITP/PNA/Readings/Circuits.pdf Slides shown in class (&#039;&#039;revised 10:30pm 1/28/2010&#039;&#039;)]&lt;br /&gt;
:*[http://www.elsevier.com/wps/find/bookdescription.cws_home/710026/description#description van Drongelen:] Chapter 2 and 10&lt;br /&gt;
**You may or may not find this comprehensible without chapters 5 through 9.&lt;br /&gt;
&lt;br /&gt;
We will discuss:&lt;br /&gt;
:*Passive Circuit Elements: Resistors, Capacitors, Inductors&lt;br /&gt;
:*Gain&lt;br /&gt;
:*Transformers&lt;br /&gt;
:*Rectifiers&lt;br /&gt;
:*Active Elements&lt;br /&gt;
::- &#039;&#039;Amplifiers&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Transistors&#039;&#039;&lt;br /&gt;
::- &#039;&#039;Op Amps&#039;&#039;&lt;br /&gt;
:*Solutions with Matrices&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 8: Electricity and Electronics. Human Electrophysiology=&lt;br /&gt;
==&#039;&#039;Monday 11/15/10&#039;&#039; - Electricity and Electronics. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
[[Image:Opamp.jpg|right]]&lt;br /&gt;
*Laplace transform analysis&lt;br /&gt;
*Op Amp Circuits&lt;br /&gt;
*Active Filters&lt;br /&gt;
*Noise Control&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
Please note that I have the components we used for the class demos available for you to play with at your leisure.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/17/10&#039;&#039; - Human Electrophysiology &#039;&#039;Speakers&#039;&#039;: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn], [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]==&lt;br /&gt;
&#039;&#039;Evoked Responses&#039;&#039; - Guest Lecturer: [http://greenlab.npih.ucla.edu/ROSTER.html Jonathan Wynn]&lt;br /&gt;
*A look at real EEG data&lt;br /&gt;
*Preprocessing:&lt;br /&gt;
**filtering&lt;br /&gt;
**artifact detection/removal&lt;br /&gt;
*averaging&lt;br /&gt;
*single events&lt;br /&gt;
*interpretation&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Clinical EEG&#039;&#039; - Guest Lecturer: [http://dgsom.healthsciences.ucla.edu/institution/personnel?personnel_id=9140 John Stern]&lt;br /&gt;
*Normal and Abnormal EEG&lt;br /&gt;
*EEG as a marker for brain state&lt;br /&gt;
**sleep staging&lt;br /&gt;
**alpha and relaxation&lt;br /&gt;
*Neurofeedback???&lt;br /&gt;
&lt;br /&gt;
=Week 9: Practical Electronic Circuits=&lt;br /&gt;
This week we will design, build and test a practical device for recording of human electrical potentials: The electromyogram, or EMG. This device must manage the many challenges of interfacing with small biological signals: Sensitivity, Gain, Noise, Linearity, Filtering. The recording we (&#039;&#039;hopefully&#039;&#039;) will make will demonstrate issues of linearity and neural coding.&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Monday 11/22/10&#039;&#039; - Design of an EMG Preamp. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 11/24/10&#039;&#039; - Building and Using Electronic Devices: &#039;&#039;EMG&#039;&#039;. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
#Outline&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Week 10: Filters=&lt;br /&gt;
==&#039;&#039;Monday 12/1/10&#039;&#039; - Autocorrelation, Filters and Color. &#039;&#039;Speaker&#039;&#039;: [http://www.brainmapping.org/MarkCohen Mark Cohen]==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Required Readings&#039;&#039;&lt;br /&gt;
Most of what we will look at today is in chapter 7 &amp;amp; 8 of Van Drongelen.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Suggested Further Reading&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==&#039;&#039;Wednesday 12/3/10&#039;&#039; - &#039;&#039;&#039;Finals Begin&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
	<entry>
		<id>https://www.ccn.ucla.edu/wiki/index.php?title=File:CohenClassIntroStats10_13_10.pdf&amp;diff=2190</id>
		<title>File:CohenClassIntroStats10 13 10.pdf</title>
		<link rel="alternate" type="text/html" href="https://www.ccn.ucla.edu/wiki/index.php?title=File:CohenClassIntroStats10_13_10.pdf&amp;diff=2190"/>
		<updated>2010-10-21T19:22:37Z</updated>

		<summary type="html">&lt;p&gt;Alhead: First set of slides from Dr. Catherine Sugar&amp;#039;s lectures.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;First set of slides from Dr. Catherine Sugar&#039;s lectures.&lt;/div&gt;</summary>
		<author><name>Alhead</name></author>
	</entry>
</feed>