brainbox.tests.test_metrics
Functions
Basic spike train generator following a poisson process for spike-times and |
|
From spike depths, xcorrelate drift maps to find a drift estimate |
|
- multiple_spike_trains(firing_rates=None, rec_len_secs=1000, cluster_ids=None, amplitude_noise=1.9999999999999998e-05)[source]
- Parameters:
firing_rates – list or np.array of firing rates (spikes per second)
rec_len_secs – recording length in seconds
- Returns:
spike_times, spike_amps, spike_clusters