History

Wiki » History » Version 8

Version 7 (Padraig Gleeson, 30 Apr 2014 14:57) → Version 8/13 (Padraig Gleeson, 30 Apr 2014 14:57)

Installation
============

To get a local copy of this project [install git](https://help.github.com/articles/set-up-git) and type:

`git clone https://github.com/OpenSourceBrain/MorrisLecarModel.git`
`cd MorrisLecarModel/NeuroML2`

Test the project
================

Install NeuroML 2/libNeuroML, see [here](http://www.neuroml.org/neuroml2.php#libNeuroML). Remember to set the **NML2\_HOME** environment variable.

Run the [example cell](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/Run_MorrisLecar.xml) with:

`nml2 Run_MorrisLecar.xml`

You should get the trace below (\*note: this is not identical to Figure 4 in [Morris & Lecar 1981](http://jaguar.biologie.hu-berlin.de/downloads/Fachkurs/SS2010/Morris_Lecar_1981.*) 1981](http://jaguar.biologie.hu-berlin.de/downloads/Fachkurs/SS2010/Morris_Lecar_1981). The definition in LEMS, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml), currently uses the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model)): [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model*)):

![](morrislecar2.png)