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 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++
For MDP, follow here instruction for installation http://mdp-toolkit.sourceforge.net
On Windows
Previosly, it was a lot of work for getting and testing all packages and binaries. 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/pyqt/download.php
- gcc and g++ http://www.mingw.org/download.shtml#Contents
- MDP http://mdp-toolkit.sourceforge.net/
But now there is a great python scientific distribution for windows 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 things missing is MySQL :
- Python MySQLdb http://sourceforge.net/projects/mysql-python
Source
From SVN
The best way to get the last version:
In a console :
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 me if you have problems.

