Skip to content

Commit 4647be2

Browse files
authored
Merge pull request #68 from NeuroML/experimental
Better plotting in sweep
2 parents be07c5a + c2de4a4 commit 4647be2

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

docs/NeuroMLlite_specification.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "NeuroMLlite v0.5.8",
2+
"version": "NeuroMLlite v0.5.9",
33
"specification": {
44
"Network": {
55
"definition": "A Network containing multiple Population's, connected by Projection's and receiving Input's",

docs/NeuroMLlite_specification.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: NeuroMLlite v0.5.8
1+
version: NeuroMLlite v0.5.9
22
specification:
33
Network:
44
definition: A Network containing multiple Population's, connected by Projection's

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Specification of NeuroMLlite v0.5.8
1+
# Specification of NeuroMLlite v0.5.9
22
**Note: the NeuroMLlite specification is still in development! Subject to change...**
33

44
## Network

examples/LEMS_SimExample3.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v1.1.14 (libNeuroML v0.5.8)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.3 (libNeuroML v0.5.8)
66
77
-->
88

examples/LEMS_SimExample4.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--
44
5-
This LEMS file has been automatically generated using PyNeuroML v1.1.14 (libNeuroML v0.5.8)
5+
This LEMS file has been automatically generated using PyNeuroML v1.2.3 (libNeuroML v0.5.8)
66
77
-->
88

neuromllite/sweep/ParameterSweep.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(
9898
"Traces generated from %s" % self.sim.id, # Title
9999
labels=[],
100100
xaxis="Time (ms)", # x axis legend
101-
yaxis="Membrane potential (mV)", # y axis legend
101+
yaxis="(SI units)", # y axis legend
102102
title_above_plot=True,
103103
show_plot_already=False,
104104
) # Save figure
@@ -283,7 +283,7 @@ def _run_all(self):
283283
label = "%s (%s)" % (y, params)
284284
self.ax.plot(
285285
[t * 1000 for t in traces["t"]],
286-
[v * 1000 for v in traces[y]],
286+
[v for v in traces[y]],
287287
label=label,
288288
)
289289

@@ -532,7 +532,7 @@ def plotLines(
532532
logx=logx,
533533
logy=logy,
534534
show_plot_already=False,
535-
legend_position="right",
535+
legend_position="bottom center",
536536
save_figure_to=save_figure_to,
537537
) # Save figure
538538

@@ -766,7 +766,7 @@ def run_once(self, job_dir, **kwargs):
766766
vary = {"c": [-3, -1, 1, 3]}
767767
# vary = {'a':[.8,1,1.2]}
768768
# vary = {'eta':['100Hz']}
769-
# vary = {'stim_amp':['1.5pA']}
769+
vary = {'I':[5,5.2]}
770770

771771
simulator = "jNeuroML"
772772
simulator = "jNeuroML_NEURON"

0 commit comments

Comments
 (0)