How to install
The particularity of OpenElectrophy? is that electrophysiologic recordings are not saved in files but in a database. The benefit is that the access to the data is much more easier and optimized.So to use OpenElectrophy? you need a MySQL server.
It is very easy to install and one server for a whole lab should be enough.
You can also use the someone else server (with a login/password).
Last you can install a local server on your own laptop.
Server side
On linux
The package exists on the majority of distribution. If you are the lucky user of debian or ubuntu, simply :
sudo apt-get install mysql-server
The only work is to create user, database and privileges. MySQL-administrator or phpmyadmin are GUI and web tools for this work.
More information here : http://dev.mysql.com/doc/
On windows
Here you can download binaries for mysql server : http://dev.mysql.com/downloads/mysql/5.0.html
Here you can find a easy to install package with mysqlserver + phpmyadmin + apache : http://www.easyphp.org
Few commands for administration
Here 3 basic instructions (to launch in a mysql console, not in a linux terminal) for a quick start :
User creation :
CREATE USER user IDENTIFIED BY PASSWORD 'password'
Database creation :
CREATE DATABASE db_name
Privileges for the user on this database :
GRANT ALL ON db_name.* TO user
Client side
Depencies
The code is written in python, so there are no binaries for it. You only need sources + python + all python modules dependencies.
- List of dependencies :
- Qt4
- Python
- Python MySQLdb
- Python numpy
- Python scipy
- Python matplotlib
- Python Qt4
- gcc and g++
- Modular toolkit for Data Processing (MDP)
On linux
In a good distribution, all the packages are very common. For example, debian or ubuntu, in a console :
sudo apt-get install python python-scipy python-numpy python-matplotlib python-qt4 python-mysqldb gcc g++ python-mdp python-tk
On (k)Ubuntu karmic (9.10) or jaunty (9.4) do also this :
sudo apt-get install python-dev
sudo apt-get install g++-4.2 sudo rm /usr/bin/g++ sudo ln -s /usr/bin/g++-4.2 /usr/bin/g++
(because of a bug in scipy.weave and g++-4.3)
On Windows
The simplest way to get all the required packages is to install PythonXY the great python scientific distribution for windows. It is available here:
- PythonXY : http://www.pythonxy.com
When you install it, do not select the default directory. You will have problem with blanks in path for compiling with g++. So install PythonXY on c:\.
The only thing missing is MySQL :
- Python MySQLdb http://sourceforge.net/projects/mysql-python
Alternatively, you can take the old-fashioned way and install all packages and binaries one by one on all these sites:
- Qt4 : http://trolltech.com/developer/downloads/qt/windows
- Python : http://python.org/download/
- Python MySQLdb http://sourceforge.net/projects/mysql-python
- Python numpy http://sourceforge.net/projects/numpy/
- Python scipy http://sourceforge.net/projects/scipy/
- Python matplotlib http://matplotlib.sourceforge.net/
- Python Qt4 http://www.riverbankcomputing.co.uk/software/pyqt/download
- gcc and g++ http://www.mingw.org/download.shtml#Contents
- MDP http://mdp-toolkit.sourceforge.net/
Source
From SVN
The best way to get the last version:
In a console :
sudo apt-get install subversion cd my_install_dir svn co https://neuralensemble.org/svn/OpenElectrophy/
From .tar
Coming soon ...
Start
Linux
In a console :
python start_OpenElectrophy.py
Window
Double click on start_OpenElectrophy.py.
Good luck ! Write to the list if you have problems.
