Skip to content

Latest commit

 

History

History
66 lines (40 loc) · 2.11 KB

README.md

File metadata and controls

66 lines (40 loc) · 2.11 KB

Neuronal Activity Analyzer

Neuronal activitiy analyzer is a tool for the analysis of neuronal activity data. It consists of a python library for the video analysis and of a webgui (Demo).

More information can be found in the report.

Library

The library can also be used without the webgui, an example is in batch.py or analyzer/batch.py for more details.

Webgui

The webgui is written in Python and Flask. The webgui allows visual feedback for the various settings for the library. There is also an editor for the regions of interest for more manual approaches.

Installation

The best way to install the library is to use a python virtual environment. There are packages for most distributions. Python 3 is recommended and required for the WebGUI to work.

For example on Debian based systems(i.e. Ubuntu) virtual environments can be used after installation using:

sudo apt-get update; sudo apt-get install python-3pip virtualenv

A virtual environment can be created and all dependencies installed using:

virtualenv venv
. venv/bin/activate
pip install -r requirements.txt

An easy way to use the tool is by running the development server with:

./flask_server.py

Note that you have to activate the environment again, if you left the shell after installation, by running:

. venv/bin/activate

Deployment

Using the standard webserver of flask (werkzeug):

python3 flask_server.py

or

./flask_server.py

For the gevent server:

python3 gevent_server.py

or

./gevent_server.py

Dependencies

Library

Webgui