Installation of pymeg on linux
if using windows follow these instructions pymeg-installwin
First download and install the latest build http://server.neuromeg.org/pymeg/
** oops, our server is down until feb. contact me for code **
Of course make sure you install python2.4 or 2.5 http://www.python.org/download/ as well as numpy and scipy http://www.scipy.org/Download
As of 090327, pymeg should work with python 2.6. And note that the transition from 2.5 to 2.6 has make the extra modules (delauany and ndimage) obsolete.
Assuming linux is your os, do the following
Download pymeg*.tgz and extract it somewhere. For example your home dir
mv pymeg.tgz ~/
cd ~/
tar -xvzf pymeg.tgz
add pymeg path to your shells environmental variables.
echo 'export PYTHONPATH=$PYTHONPATH:'$HOME'/pymeg' >> ~/.bashrc
Now start python and test a function
From the commandline type "python" to start an interactive python shell and try to load the pdf module
Python 2.5.2 (r252:60911, May 7 2008, 15:21:12)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pdf2py import pdf
If you get a trackback error regarding this module, either your PYTHONPATH is not set correctly
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pdf2py
If everything is ok, try to import some MEG data
pymeg-import
Python < 2.6 extra modules install instructions (delaunay and ndimage)
If using python < 2.6 you need to install ndimage, unzip pymeg/extras/ndimage.zip somewhere and install as root.
ndimage is needed for some image filtering.
cp pymeg/extras/ndimage.zip ~/
unzip ~/ndimage.zip
cd ~/ndimage/
sudo python setup.py install
If using python < 2.6 to do contour plotting, I use the delaunay module from scikits. The linux version is in pymeg/extras/
cp pymeg/extras/delaunay.tgz ~/
unzip ~/delaunay.tgz
cd ~/delaunay/
sudo python setup.py install
Also for the GUI you need to install wxpython.
I think thats it





