<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.neurotycho.bcinetwork.blog/index.php?action=history&amp;feed=atom&amp;title=Manual</id>
	<title>Manual - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.neurotycho.bcinetwork.blog/index.php?action=history&amp;feed=atom&amp;title=Manual"/>
	<link rel="alternate" type="text/html" href="https://wiki.neurotycho.bcinetwork.blog/index.php?title=Manual&amp;action=history"/>
	<updated>2026-05-02T14:58:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.neurotycho.bcinetwork.blog/index.php?title=Manual&amp;diff=107&amp;oldid=prev</id>
		<title>Imported at 00:00, 15 March 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.neurotycho.bcinetwork.blog/index.php?title=Manual&amp;diff=107&amp;oldid=prev"/>
		<updated>2026-03-15T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Python installation manual for Windows =&lt;br /&gt;
&lt;br /&gt;
Notice that you must have administrative rights on your computer for this manual.This manual is only for 32bit windows.&lt;br /&gt;
== Python ==&lt;br /&gt;
&lt;br /&gt;
# Download &amp;quot;Windows x86 MSI Installer&amp;quot; for Python 2.6.6 from http://www.python.org/download/releases/2.6.6/&lt;br /&gt;
## [[File:0805d491734b39856b5c8e178c9de66e.png]]&lt;br /&gt;
# Run the installer.&lt;br /&gt;
## [[File:c926e6405ff303a6c80625204a5b7a9f.png]] Double click this icon to start installer.&lt;br /&gt;
# Step through the installer program.&lt;br /&gt;
## Except as otherwise noted, click &amp;quot;Next&amp;quot; to bring forward Installation.&lt;br /&gt;
## [[File:743ee27846ed5bd129ed67a12d3bf5de.png]] Choice &amp;quot;Install for all users&amp;quot; and click &amp;quot;Next.&amp;quot;&lt;br /&gt;
## [[File:94be0d2c7a90dc5450c1581903b6e2fe.png]] Click &amp;quot;next&amp;quot;.&lt;br /&gt;
## [[File:data/050998d9a57e931e46c2c70119982d27.png]] Click &amp;quot;next&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Numpy ==&lt;br /&gt;
NumPy is a open-source numerical computation module for Python.&lt;br /&gt;
&lt;br /&gt;
# Download &amp;quot;numpy-1.5.1-win32-superpack-python2.6.exe&amp;quot; from http://sourceforge.net/projects/numpy/files/NumPy/1.5.1/.&lt;br /&gt;
## File:d9f9e4c26024b18dc4b21b099e7f900d.png]]&lt;br /&gt;
# Run the installer.&lt;br /&gt;
## [[File:347aa09541427e1dcfb7935f86d5c897.png]] Double click this icon to start installer.&lt;br /&gt;
# Step through the installer program.&lt;br /&gt;
## Except as otherwise noted, click &amp;quot;Next&amp;quot; to bring forward Installation.&lt;br /&gt;
## [[File:5df43fd3c06be4c91191e64e21ec4999.png]] Choice &amp;quot;Python Version 2.6&amp;quot; and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Scipy ==&lt;br /&gt;
Scipy is a open-source python module for mathematics, science, and engineering.&lt;br /&gt;
# Download &amp;quot;scipy-0.8.0-win32-superpack-python2.6.exe&amp;quot; from http://sourceforge.net/projects/scipy/files/scipy/0.8.0/.&lt;br /&gt;
## [[File:b5e1b8069c20d716069c8a3eb221b87a.png]]&lt;br /&gt;
# Run the installer.&lt;br /&gt;
## [[File:55c0bcade8ab3d8a2c51dd08854a2576.png]] Double click this icon to start installer.&lt;br /&gt;
# Step through the installer plogram.&lt;br /&gt;
## Except as otherwise noted, click &amp;quot;Next&amp;quot; to bring forward Installation.&lt;br /&gt;
## [[File:a2ee9ebb15add7638912245704e55878.png]] Choice &amp;quot;Python Version 2.6&amp;quot; and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== Matplotlib ==&lt;br /&gt;
Matplotlib is a plotting library for the Python.&lt;br /&gt;
&lt;br /&gt;
# Visit the official page of matplotlib at http://matplotlib.sourceforge.net/.&lt;br /&gt;
# Click on the [http://sourceforge.net/projects/matplotlib/files/matplotlib/matplotlib-1.0.1/ download] link.&lt;br /&gt;
## http://gyazo.argmax.jp/data/88d00ceb483579b5c45915a42ad2dbcf.png&lt;br /&gt;
# Download &amp;quot;matplotlib-1.0.1.win32-py2.6.exe&amp;quot;.&lt;br /&gt;
## [[File:b3ac9b2154bafd5809b68f8cdf0ac429.png]]&lt;br /&gt;
# Run the installer.&lt;br /&gt;
## [[File:dea1f1d5e133c39cd9a52559bb8207ab.png]] Double click this icon to start installer.&lt;br /&gt;
# Step through the installer program.&lt;br /&gt;
## Except as otherwise noted, click &amp;quot;Next&amp;quot; to bring forward Installation.&lt;br /&gt;
## [[File:cd94b01550095502721ca4acc5747f28.png]] Choice &amp;quot;Python Version 2.6&amp;quot; and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
= Sample code for analyzing neurotycho data in python =&lt;br /&gt;
Notice the we assume &amp;quot;C:/neurotycho&amp;quot; as download directory. If You have download neurotycho datasets elsewhere, adapt the pathes below. &lt;br /&gt;
== plotting ==&lt;br /&gt;
 #!/usr/bin/python&lt;br /&gt;
 #-*- coding: utf-8 -*-&lt;br /&gt;
 import numpy as np&lt;br /&gt;
 import scipy.io&lt;br /&gt;
 import scipy&lt;br /&gt;
 import matplotlib&lt;br /&gt;
 import matplotlib.pyplot as plt&lt;br /&gt;
 &lt;br /&gt;
 _indir = &amp;quot;C:/neurotycho/20100604_S1_ST_K2_ToruYanagawa_mat_ECoG128-Event3/&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 def load_mat(path):&lt;br /&gt;
     &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
     loading a matlab data using scipy.io&lt;br /&gt;
     &amp;quot;&amp;quot;&amp;quot;&lt;br /&gt;
     return scipy.io.loadmat(path)&lt;br /&gt;
 &lt;br /&gt;
 if __name__==&amp;quot;__main__&amp;quot;:&lt;br /&gt;
     mat = load_mat(_indir+&amp;quot;ECoG_ch1.mat&amp;quot;)#loading ECoG data&lt;br /&gt;
     data = mat[&amp;quot;ECoGData_ch1&amp;quot;][0]&lt;br /&gt;
     event = load_mat(_indir+&amp;quot;Event.mat&amp;quot;)##loading event data&lt;br /&gt;
     eindex = event[&amp;quot;EventIndex&amp;quot;][0]#EventIndex is one-row vector contains indexes when events were occurred in ECoG data.&lt;br /&gt;
     fig = plt.figure()&lt;br /&gt;
     ax = fig.add_subplot(111)&lt;br /&gt;
     ax.plot(data)#plotting ECoGdata&lt;br /&gt;
     ax.annotate(&amp;#039;Inject anesthetic drug&amp;#039;,&lt;br /&gt;
                 xy=(eindex[0],data[eindex[0]]),&lt;br /&gt;
                 xytext=(eindex[0]-170000,2000),&lt;br /&gt;
                 arrowprops=dict(facecolor=&amp;#039;black&amp;#039;, shrink=0.1,),&lt;br /&gt;
                 )&lt;br /&gt;
     plt.show()&lt;br /&gt;
&lt;br /&gt;
=== result ===&lt;br /&gt;
[[File:ca592b24adff54e62f5e2f7af236e919.png]]&lt;/div&gt;</summary>
		<author><name>Imported</name></author>
		
	</entry>
</feed>