Edit History

Wiki » History » Version 8

Padraig Gleeson, 30 Apr 2014 14:57

1 2 Padraig Gleeson
Installation
2 2 Padraig Gleeson
============
3 2 Padraig Gleeson
4 8 Padraig Gleeson
To get a local copy of this project [install git](https://help.github.com/articles/set-up-git) and type:
5 2 Padraig Gleeson
6 2 Padraig Gleeson
`git clone https://github.com/OpenSourceBrain/MorrisLecarModel.git`
7 3 Padraig Gleeson
`cd MorrisLecarModel/NeuroML2`
8 3 Padraig Gleeson
9 3 Padraig Gleeson
Test the project
10 3 Padraig Gleeson
================
11 3 Padraig Gleeson
12 3 Padraig Gleeson
Install NeuroML 2/libNeuroML, see [here](http://www.neuroml.org/neuroml2.php#libNeuroML). Remember to set the **NML2\_HOME** environment variable.
13 3 Padraig Gleeson
14 7 Padraig Gleeson
Run the [example cell](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/Run_MorrisLecar.xml) with:
15 3 Padraig Gleeson
16 3 Padraig Gleeson
`nml2 Run_MorrisLecar.xml`
17 1 Padraig Gleeson
18 8 Padraig Gleeson
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.*) 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)):
19 7 Padraig Gleeson
20 7 Padraig Gleeson
![](morrislecar2.png)