when I use NEST, I can get the firing rate of an output neuron by connecting "spike_detector" and the "neuron_post". Then I can use "nest.GetStatus" to get the event number, i.g, the firing rate. Like: