Skip to content

Instantly share code, notes, and snippets.

@agarny
Created April 24, 2014 14:36
Show Gist options
  • Save agarny/11256944 to your computer and use it in GitHub Desktop.
Save agarny/11256944 to your computer and use it in GitHub Desktop.
<?xml version='1.0' encoding='UTF-8'?>
<model name="net1" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cellml.org/cellml/1.1# http://www.cellml.org/cellml/cellml_1_1.xsd">
<!--
<documentation>
<p xmlns="http://www.w3.org/1999/xhtml">
This CellML file has been generated by org.neuroml.export (see https://github.com/NeuroML/org.neuroml.export)
org.neuroml.export v1.3.0
org.neuroml.model v1.3.0
jLEMS v0.9.5.2
Export of model:
Components:
fn1 (Type: fitzHughNagumoCell: I=0.8 (dimensionless) SEC=1.0 (SI ))
net1 (Type: network)
sim1 (Type: Simulation: length=200.0 (SI ) step=0.05 (SI ))
</p>
</documentation>
-->
<units name="per_second">
<unit units="second" exponent="-1"/>
</units>
<component name="environment">
<variable name="time" units="second" public_interface="out"/>
</component>
<!--Adding simulation Component(id=sim1 type=Simulation) of network: net1 (Type: network)-->
<component name="fnPop1">
<variable name="time" units="second" public_interface="in"/>
<variable name="size" initial_value="1.0" units="dimensionless"/>
</component>
<component name="fn1">
<variable name="time" units="second" public_interface="in"/>
<variable name="I" initial_value="0.8" units="dimensionless"/>
<variable name="SEC" initial_value="1.0" units="second"/>
<variable name="V" initial_value="0" units="dimensionless"/>
<variable name="W" initial_value="0" units="dimensionless"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>V</ci>
<apply>
<divide/>
<apply>
<plus/>
<apply>
<minus/>
<apply>
<minus/>
<ci>V</ci>
<apply>
<divide/>
<apply>
<power/>
<ci>V</ci>
<cn>3.0</cn>
</apply>
<cn>3.0</cn>
</apply>
</apply>
<ci>W</ci>
</apply>
<ci>I</ci>
</apply>
<ci>SEC</ci>
</apply>
</apply>
<apply>
<eq/>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>W</ci>
<apply>
<divide/>
<apply>
<times/>
<cn>0.08</cn>
<apply>
<plus/>
<ci>V</ci>
<apply>
<minus/>
<cn>0.7</cn>
<apply>
<times/>
<cn>0.8</cn>
<ci>W</ci>
</apply>
</apply>
</apply>
</apply>
<ci>SEC</ci>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="fnPop1" component_2="environment"/>
<map_variables variable_1="time" variable_2="time"/>
</connection>
<connection>
<map_components component_1="fn1" component_2="environment"/>
<map_variables variable_1="time" variable_2="time"/>
</connection>
</model>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment