Skip to content

Commit 194a180

Browse files
committed
2 parents da2ac7f + 6420e87 commit 194a180

8 files changed

Lines changed: 12 additions & 24 deletions

examples/extra_models_examples/IF_cond_exp_stoc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@
112112
Panel(exp_data.segments[0].filter(name='gsyn_inh')[0],
113113
ylabel="gsyn inhibitory (mV)",
114114
data_labels=[exp_cell.label], yticks=True, xlim=(0, runtime)),
115-
title="Simple synfire chain example",
115+
title="IF_cond_exp_stoc example",
116116
annotations="Simulated with {}".format(sim.name())
117117
)
118118
plt.show()

examples/extra_models_examples/IF_curr_delta.py

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,8 @@
1414
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1515

1616
"""
17-
A single IF neuron with exponential, current-based synapses, fed by two
18-
spike sources.
19-
20-
Run as:
21-
22-
$ python IF_curr_exp.py <simulator>
23-
24-
where <simulator> is 'neuron', 'nest', etc
25-
26-
Andrew Davison, UNIC, CNRS
27-
September 2006
28-
29-
$Id$
17+
A single LIF neuron with two exponential, current-based synapses,
18+
and two delta, current-based synapses, fed by two spike sources.
3019
"""
3120

3221
import spynnaker8 as sim
@@ -109,7 +98,7 @@
10998
Panel(exp_data.segments[0].filter(name='gsyn_inh')[0],
11099
ylabel="gsyn inhibitory (mV)",
111100
data_labels=[exp_cell.label], yticks=True, xlim=(0, runtime)),
112-
title="Simple synfire chain example",
101+
title="IF_curr_delta example",
113102
annotations="Simulated with {}".format(sim.name())
114103
)
115104
plt.show()

examples/extra_models_examples/synfire_if_curr_exp_sEMD.py renamed to examples/extra_models_examples/IF_curr_exp_sEMD.py

File renamed without changes.

examples/extra_models_examples/synfire_if_curr_dual_exp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
Panel(data.segments[0].filter(name='gsyn_inh')[0],
8585
ylabel="gsyn inhibitory (mV)",
8686
data_labels=[populations[0].label], yticks=True, xlim=(0, runtime)),
87-
title="Simple synfire chain example",
87+
title="Synfire chain example with dual exponential synapse",
8888
annotations="Simulated with {}".format(p.name())
8989
)
9090
plt.show()

examples/pynnBrunnel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def poisson_generator(rate, rng, t_start=0.0, t_stop=1000.0, array=True,
233233
# raster plot of the presynaptic neuron spike times
234234
Panel(esp.segments[0].spiketrains,
235235
yticks=True, markersize=1, xlim=(0, sim_time)),
236-
title="Simple synfire chain example",
236+
title="Brunnel example",
237237
annotations="Simulated with {}".format(pynn.name())
238238
)
239239
plt.show()

examples/stdp_example.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@
190190
Figure(
191191
# raster plot of the presynaptic neuron spike times
192192
Panel(pre_spikes.segments[0].spiketrains,
193-
yticks=True, markersize=0.2, xlim=(0, simtime)),
193+
yticks=True, markersize=0.5, xlim=(0, simtime)),
194194
Panel(post_spikes.segments[0].spiketrains,
195-
yticks=True, markersize=0.2, xlim=(0, simtime)),
195+
yticks=True, markersize=0.5, xlim=(0, simtime)),
196196
title="stdp example curr",
197197
annotations="Simulated with {}".format(sim.name()))
198198
plt.show()

examples/stdp_example_cond.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@
190190
Figure(
191191
# raster plot of the presynaptic neuron spike times
192192
Panel(pre_spikes.segments[0].spiketrains,
193-
yticks=True, markersize=0.2, xlim=(0, simtime)),
193+
yticks=True, markersize=0.5, xlim=(0, simtime)),
194194
Panel(post_spikes.segments[0].spiketrains,
195-
yticks=True, markersize=0.2, xlim=(0, simtime)),
195+
yticks=True, markersize=0.5, xlim=(0, simtime)),
196196
title="stdp example cond",
197197
annotations="Simulated with {}".format(sim.name()))
198198
plt.show()

examples/synfire_if_curr_exp_large_array.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@
5050
injectionConnection_2 = [(1, nNeurons - 1, weight_to_spike, 1)]
5151
input_1 = list(range(0, run_time, space_between_inputs))
5252
input_2 = list(range(second_spike_start, run_time, space_between_inputs))
53-
spikeArray = {'spike_times': [input_1, input_2],
54-
'max_on_chip_memory_usage_for_spikes_in_bytes': 640,
55-
'space_before_notification': 320}
53+
spikeArray = {'spike_times': [input_1, input_2]}
54+
5655
main_pop = p.Population(
5756
nNeurons, p.IF_curr_exp(**cell_params_lif), label='pop_1')
5857
second_main_pop = p.Population(

0 commit comments

Comments
 (0)