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
Lists of array-like parameters, e.g. spike_times in SpikeSourceArray, with homogeneous entries will be simplified and converted to ArrayParameter if they are not the same type as the corresponding default type (Sequence for spike_times).
I may be misunderstanding what the problem is, but the problem you're describing is why the Sequence class was introduced - to avoid confusion over how to interpret arrays/lists of arrays.
Although for simple cases, plain NumPy arrays or lists do work for setting spike times, it is safest to always use Sequence.
Lists of array-like parameters, e.g. spike_times in SpikeSourceArray, with homogeneous entries will be simplified and converted to ArrayParameter if they are not the same type as the corresponding default type (Sequence for spike_times).
Minimal example:
The text was updated successfully, but these errors were encountered: