Skip to content
Discussion options

You must be logged in to vote

as long as you have loaded the model with the buffer size set to match buffer_t i.e.:

self.model.load(num_recording_timesteps=buffer_t)

this code will already work the way you want. You just need to make a copy of the data after calling pull_recording_buffers_from_device() e.g.

spike_times, spike_ids = genn_pop.spike_recording_data[0]
self.spike_times.append(spike_times)
self.spike_ids.append(spike_ids)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by andreARibe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants