Skip to content

Commit

Permalink
Merge pull request #68 from NeuroML/experimental
Browse files Browse the repository at this point in the history
Better plotting in sweep
  • Loading branch information
pgleeson authored Feb 20, 2024
2 parents be07c5a + c2de4a4 commit 4647be2
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/NeuroMLlite_specification.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "NeuroMLlite v0.5.8",
"version": "NeuroMLlite v0.5.9",
"specification": {
"Network": {
"definition": "A Network containing multiple Population's, connected by Projection's and receiving Input's",
Expand Down
2 changes: 1 addition & 1 deletion docs/NeuroMLlite_specification.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: NeuroMLlite v0.5.8
version: NeuroMLlite v0.5.9
specification:
Network:
definition: A Network containing multiple Population's, connected by Projection's
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Specification of NeuroMLlite v0.5.8
# Specification of NeuroMLlite v0.5.9
**Note: the NeuroMLlite specification is still in development! Subject to change...**

## Network
Expand Down
2 changes: 1 addition & 1 deletion examples/LEMS_SimExample3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--
This LEMS file has been automatically generated using PyNeuroML v1.1.14 (libNeuroML v0.5.8)
This LEMS file has been automatically generated using PyNeuroML v1.2.3 (libNeuroML v0.5.8)
-->

Expand Down
2 changes: 1 addition & 1 deletion examples/LEMS_SimExample4.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!--
This LEMS file has been automatically generated using PyNeuroML v1.1.14 (libNeuroML v0.5.8)
This LEMS file has been automatically generated using PyNeuroML v1.2.3 (libNeuroML v0.5.8)
-->

Expand Down
8 changes: 4 additions & 4 deletions neuromllite/sweep/ParameterSweep.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __init__(
"Traces generated from %s" % self.sim.id, # Title
labels=[],
xaxis="Time (ms)", # x axis legend
yaxis="Membrane potential (mV)", # y axis legend
yaxis="(SI units)", # y axis legend
title_above_plot=True,
show_plot_already=False,
) # Save figure
Expand Down Expand Up @@ -283,7 +283,7 @@ def _run_all(self):
label = "%s (%s)" % (y, params)
self.ax.plot(
[t * 1000 for t in traces["t"]],
[v * 1000 for v in traces[y]],
[v for v in traces[y]],
label=label,
)

Expand Down Expand Up @@ -532,7 +532,7 @@ def plotLines(
logx=logx,
logy=logy,
show_plot_already=False,
legend_position="right",
legend_position="bottom center",
save_figure_to=save_figure_to,
) # Save figure

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

simulator = "jNeuroML"
simulator = "jNeuroML_NEURON"
Expand Down

0 comments on commit 4647be2

Please sign in to comment.