Skip to content

baccuslab/LNKS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linear-Nonlinear-Kinetics-Spiking(LNKS) model

The LNKS model is used in the lab to understand the computations and properties of contrast adaptation in the retina. The model consist of a cascaded connection of four model blocks - linear filter, nonlinearity(threshold, saturation), a first-order dynamic system(markov chain like transition), and a nonlinearity with a feedback. The four blocks have close connection to the biophysical mechanisms in the retina, allowing us to discover where and how the adaptive properties arise in the retinal circuitry.

This repository keeps the tools and examples for using Linear-Nonlinear-Kinetics-Spiking(LNKS) model, also including tools for Linear-Nonlinear-Kinetics(LNK) model and Spiking(S) model as well.

Reference of LNK model and contrast adaptation: Ozuysal and Baccus, Neuron 2012

Installation

Clone the repo, and compile the c-extension

$ git clone https://github.com/baccuslab/LNKS.git
$ cd LNKS
$ ./setup

Add LNKS/code and LNKS/optimization-src directories path to the PYTHONPATH.

Tutorial

Please see the example of using cellclass.

Optimization

Optimization instructions can be found in optimization-src directory.

Database

Managing optimization results in MySQL database gives much more efficiency. Download the MySQL dmg file here.