brainpy.measure package

cross_correlation(spikes, bin_size)

Calculate cross correlation index between neurons.

voltage_fluctuation(potentials)

Calculate neuronal synchronization via voltage variance.

raster_plot(sp_matrix, times)

Get spike raster plot which displays the spiking activity of a group of neurons over time.

firing_rate(sp_matrix, width[, window])

Calculate the mean firing rate over in a neuron group.