-
Notifications
You must be signed in to change notification settings - Fork 24
/
LEMS_NML2_Ex21_CurrentBasedSynapses.xml
42 lines (33 loc) · 1.5 KB
/
LEMS_NML2_Ex21_CurrentBasedSynapses.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0"?>
<Lems>
<Target component="sim1"/>
<Include file="Synapses.xml"/>
<Include file="Cells.xml"/>
<Include file="Networks.xml"/>
<Include file="Simulation.xml"/>
<Include file="Inputs.xml"/>
<iafRefCell id="iaf" C="250pF" thresh="1mV" reset="-1mV" leakConductance="12.5nS" leakReversal="0mV" refract="2ms"/>
<alphaCurrentSynapse id="alphaSyn" tau="1.0ms" ibase="1nA"/>
<spikeArray id="spks">
<spike id="0" time="100 ms"/>
<spike id="1" time="120 ms"/>
<spike id="2" time="126 ms"/>
<spike id="3" time="135 ms"/>
</spikeArray>
<network id="net">
<population component="iaf" id="iafPop" size="1"/>
<population id="spksPop" component="spks" size="1"/>
<synapticConnectionWD from="spksPop[0]" to="iafPop[0]" synapse="alphaSyn" destination="synapses" weight="0.05" delay="1ms"/>
</network>
<Simulation id="sim1" length="300ms" step="0.001ms" target="net">
<Display id="display_0" timeScale="1ms" title="IafRef cell: Vm" xmin="-20" xmax="320" ymin="-1" ymax="1">
<Line color="#000000" id="iaf_v" quantity="iafPop[0]/v" scale="1mV" timeScale="1ms"/>
</Display>
<Display id="display_1" timeScale="1ms" title="Spike array: tsince" xmin="-20" xmax="320" ymin="-20" ymax="200">
<Line color="#0000FF" id="spikes_t" quantity="spksPop[0]/tsince" scale="1ms" timeScale="1ms"/>
</Display>
<OutputFile id="of0" fileName="./results/ex21_v.dat">
<OutputColumn id="iaf_v" quantity="iafPop[0]/v"/>
</OutputFile>
</Simulation>
</Lems>