Ticket #160 (closed defect: fixed)
SpikeSourceArray ignores new spike_times
| Reported by: | mschmucker | Owned by: | apdavison |
|---|---|---|---|
| Priority: | major | Milestone: | 0.7.0 |
| Component: | common | Version: | trunk |
| Keywords: | Cc: |
Description (last modified by apdavison) (diff)
When setting the spike_times for a SpikeSourceArray? in neuron, only the first setting is effective. New spike_times set at a later point in the simulation with ID.set_parameters() or Population.set() are sored in the python model, but the corresponding neuron mechanism is not made aware of them. The problem seems to be a setting in the INITIAL block in vecstim.mod
net_send(ping+1e-9, 2)
which has the consequence that the mechanism never checks for the availybility of a new spike_times vector.
Additionally, in the PARAMETER block, I set
ping = 1 (ms)
Find attached a modified vecstim.mod which fixes the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

