navis.interfaces.neuron.network.PointNetwork.get_spike_counts¶
- PointNetwork.get_spike_counts(bin_size=50, subset=None, rolling_window=None, group=False)[source]¶
Get matrix of spike counts.
- Parameters:
bin_size (int | None) – Size [ms] of the bins over which to count spikes. If None, will simply return total counts.
rolling_window (int, optional) – Average spike counts in a rolling window.
group (bool) – If True, will return the spike counts per unique label.
- Return type:
pd.DataFrame