Open MichaelClerx opened 2 years ago
Should we also allow them as log specifier?
sim.run(log=['time', 'membrane_potential'])
?
A problem with
ax.plot(d['time'], d['membrane_potential'])
is that it would allow labels to "shadow" log entries without a .
(which simulations don't generate, but are perfectly OK from the log's point of view.
Might be better to have
ax.plot(d.labelled('time'), d.labelled('membrane_potential'))
Would allow you to use a data log in a model agnostic manner
E.g.:
Depends on