Wiki » History » Version 7
Version 6 (Padraig Gleeson, 30 Apr 2014 14:57) → Version 7/13 (Padraig Gleeson, 30 Apr 2014 14:57)
Installation
============
To get a local copy of this project 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) example cell 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). The definition in LEMS, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml), currently uses fully correct, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml) should be updated with the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model*)):
![](morrislecar2.png) correct equations for the ML model![](*):
)morrislecar.png!
============
To get a local copy of this project 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) example cell 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). The definition in LEMS, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml), currently uses fully correct, [MorrisLecarCompType.nml](http://www.opensourcebrain.org/projects/morrislecarmodel/repository/revisions/master/entry/NeuroML2/MorrisLecarCompType.nml) should be updated with the formalism outlined [here](http://en.wikipedia.org/wiki/Morris%E2%80%93Lecar_model*)):
![](morrislecar2.png) correct equations for the ML model![](*):
)morrislecar.png!