Skip to content

Commit e2215f2

Browse files
committed
added nml experiments
1 parent a085f06 commit e2215f2

File tree

641 files changed

+369731
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

641 files changed

+369731
-118
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,4 @@
4242
/RoyalSociety2018/main
4343
/Worm2D/main
4444
/network2021/main
45+
/experiments/izq_runs_nets/*/*.gv

exampleRun21W2D/behavior.pdf

0 Bytes
Binary file not shown.

exampleRun21W2D_nml/behavior.pdf

0 Bytes
Binary file not shown.

exampleRunCEW2D/behavior.pdf

0 Bytes
Binary file not shown.

exampleRunCEW2D_nml/behavior.pdf

0 Bytes
Binary file not shown.

exampleRunRS18W2D/behavior.pdf

0 Bytes
Binary file not shown.
254 KB
Loading

experiments/izq_runs_nets/101/LEMS_Worm2D.xml

Lines changed: 232 additions & 0 deletions
Large diffs are not rendered by default.

experiments/izq_runs_nets/101/Worm2D.net.nml

Lines changed: 471 additions & 0 deletions
Large diffs are not rendered by default.
Loading
Loading
Loading
Loading
Loading
Loading
0 Bytes
Binary file not shown.
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<Lems>
2+
3+
4+
<ComponentType name="outputSynapse"
5+
extends="baseGradedSynapse"
6+
description="For Worm2D...">
7+
8+
<Property name="weight" dimension="none" defaultValue="1"/>
9+
10+
<Constant name="PAMP_SCALE" dimension="current" value="1pA"/>
11+
12+
<Exposure name="i" dimension="current"/>
13+
14+
<Requirement name="output" dimension="none"/>
15+
16+
<InstanceRequirement name="peer" type="outputSynapse"/>
17+
18+
<Dynamics>
19+
<DerivedVariable name="outputpeer" dimension="none" select="peer/output"/>
20+
<DerivedVariable name="i" exposure="i" value="weight * outputpeer * PAMP_SCALE"/>
21+
</Dynamics>
22+
</ComponentType>
23+
24+
<ComponentType name="cellX"
25+
extends="baseCellMembPot"
26+
description="...">
27+
28+
<Parameter name="bias" dimension="none" description="..."/>
29+
<Parameter name="gain" dimension="none" description="..."/>
30+
<Parameter name="tau" dimension="time"/>
31+
32+
<Constant name="COND_SCALE" dimension="conductance" value="1nS"/>
33+
<DerivedParameter name="C" dimension="capacitance" value="tau*COND_SCALE"/>
34+
35+
<!--
36+
Defined in baseCellMembPotCap:
37+
<Parameter name="C" dimension="capacitance"/>
38+
-->
39+
40+
<!-- Initial Conditions -->
41+
<Parameter name="state0" dimension="none"/>
42+
43+
<Attachments name="synapses" type="basePointCurrent"/>
44+
45+
<Constant name="MVOLT" dimension="voltage" value="1mV"/>
46+
<Constant name="PAMP" dimension="current" value="1pA"/>
47+
48+
<!-- <Exposure name="v" dimension="none"/> --> <!-- Already exposed from baseCellMembPotDL -->
49+
<Exposure name="spiking" dimension="none"/>
50+
<Exposure name="state" dimension="none"/>
51+
<Exposure name="output" dimension="none"/>
52+
53+
<Exposure name="iSyn" dimension="current" description="Total current due to synaptic inputs"/>
54+
<Exposure name="iMemb" dimension="current" description="Total current crossing the cell membrane"/>
55+
56+
<Dynamics>
57+
58+
<StateVariable name="v" dimension="voltage" exposure="v" description="Membrane potential state variable"/>
59+
<StateVariable name="spiking" dimension="none" exposure="spiking"/>
60+
<!--<StateVariable name="state" dimension="none" exposure="state"/>-->
61+
62+
<DerivedVariable name="iSyn" dimension="current" exposure="iSyn" select="synapses[*]/i" reduce="add" />
63+
<DerivedVariable name="state" dimension="none" exposure="state" value="v/MVOLT" />
64+
<DerivedVariable name="output" dimension="none" exposure="output" value="1/(1 + exp(-1 * gain * (state+bias)))" />
65+
66+
67+
<DerivedVariable name="iMemb" dimension="current" exposure="iMemb" value="((0-state)*PAMP + iSyn)"/>
68+
69+
<TimeDerivative variable="v" value="iMemb / C"/>
70+
71+
<OnStart>
72+
<StateAssignment variable="v" value="state0*MVOLT"/>
73+
</OnStart>
74+
75+
<OnCondition test="v .gt. 0 .and. spiking .lt. 0.5">
76+
<StateAssignment variable="spiking" value="1"/>
77+
<EventOut port="spike"/>
78+
</OnCondition>
79+
80+
<OnCondition test="v .lt. 0">
81+
<StateAssignment variable="spiking" value="0"/>
82+
</OnCondition>
83+
84+
85+
</Dynamics>
86+
87+
</ComponentType>
88+
89+
90+
<silentSynapse id="silentSyn"/>
91+
<outputSynapse id="neuron_to_neuron_syn_x"/>
92+
93+
<gapJunction id="gapJunction0" conductance="1nS"/>
94+
95+
96+
</Lems>
97+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Lems>
2+
<cellX id="AS" bias="1.4367671641254902" gain="1.0" state0="-1.4367671641254902" tau="0.4849361289529017s"/>
3+
<cellX id="DA" bias="1.8631749604810641" gain="1.0" state0="-1.8631749604810641" tau="0.9542940551618031s"/>
4+
<cellX id="DB" bias="-10.69537964582045" gain="1.0" state0="10.69537964582045" tau="0.13286119285866627s"/>
5+
<cellX id="DD" bias="-11.364561460110986" gain="1.0" state0="11.364561460110986" tau="0.14744509838706876s"/>
6+
<cellX id="VA" bias="-8.17163385157873" gain="1.0" state0="8.17163385157873" tau="1.4225591094228598s"/>
7+
<cellX id="VB" bias="-7.507828002321248" gain="1.0" state0="7.507828002321248" tau="1.3758595721391322s"/>
8+
<cellX id="VD" bias="-1.4519250087816058" gain="1.0" state0="1.4519250087816058" tau="1.2824646902801182s"/>
9+
</Lems>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Duration": 40,
33
"PopulationSize": 100,
4-
"randomseed": 77765,
4+
"randomseed": 597293,
55
"MaxGenerations": 2000
66
}

0 commit comments

Comments
 (0)