You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I implemented the described semantics in a branch (see pull request). The only thing we did not discuss is the possible semantics of using more than one index, e.g. when recording neurons [0, 5, 10], what should mon[[5, 10]] do? I opted for consistent "neuron index first" semantic, so for plotting one would have to transpose:
plot(M.t, M[[5, 10]].v.T)
This means that for fully recorded groups, M[x].v == M.v[x].
I did not bother with slicing support, since this is not really obvious (if [0, 5, 10] is recorded, what should [5:] do -- work as [5, 10] or raise an error about 6, 7, 8, 9?)
We should decide what
M.v
should return, and which shape it has.The text was updated successfully, but these errors were encountered: