See spikes in the Brain Visualizer (many neurons)


#1

Hi,

I’m trying to use the brain visualizer with a quite big version of my network (250’000 neurons for 2’150’000 synaptic connections). That works (display all layers with every neurons), but when I try to display the spikes by moving the β€œspike contrast” cursor, I don’t see spike happening, even though I record loads of spikes in the generic image viewer.

Am I doing something wrong to display the spikes? Should I state in some TF that I want to record the spikes?

Thanks for the help!
Best,
Alban


#2

Hey Alban

For now, the spikes displayed in the brain visualizer are the same as the one displayed in the spiketrain, so you need to have a monitor TF:

import hbp_nrp_cle.tf_framework as nrp
@nrp.NeuronMonitor(nrp.brain.sensors, nrp.spike_recorder)
def all_neurons_spike_monitor(t):
    return True

#3

Woaw that works! THank you very much :smiley:
<img src ="/uploads/default/original/1X/8b07cd0130abc3e92ac7e90949813dbab718487a.png" width=β€œ690” height=β€œ388”>