django database & website for experiment data
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
acoustics
analysis
anatomy
electrode
extracellular
husbandry
intracellular
operant
sturnus
utils
.gitignore
README.md
fabfile.py
manage.py
requirements.txt
sturnus.db
sturnus.db.bak

README.md

sturnus

django database & website for experiment data

Quickstart

  1. make sure you are running Python 2.7
  2. install virtualenv & virtualenvwrapper
  3. make sure you have access to pg_config locally
  4. then, setup your virtual environment
mkvirtualenv --no-site-packages --distribute sturnus
  1. and install the requirements
pip install -r requirements.txt
  1. setup a local development database
  2. run ./manage.py syncdb --all to build the database
  3. run ./manage.py migrate --fake to run the south migrations

Goals

  1. Maintain the core electrophysiology data in a neo-compatible format
  2. Modularize experimental components
  3. Make data easily available for analysis in Matlab & Python (& R?)

Approach

  1. data maintained using Django ORM + PostgreSQL database
  2. utilize Postgres arrays for array data (LFP, spike waveforms, intracellular traces)
  3. each experimental module developed as a separate Django 'app'
  4. data available for querying from external services through the Tastypie RESTful API
  5. data overview & exploration through django admin interface