figure for psth method comparsion, some introductory words for spiketrain chapter
This commit is contained in:
@@ -193,7 +193,7 @@ def plot_conv_rate(spike_times, sigma=0.05, max_t=30, dt=1e-4):
|
||||
|
||||
def plot_comparison(spike_times, bin_width, sigma, max_t=30., dt=1e-4):
|
||||
times = np.squeeze(spike_times[0][0])
|
||||
time, conv_rate = get_convolved_rate(times, sigma)
|
||||
time, conv_rate = get_convolved_rate(times, bin_width/np.sqrt(12.))
|
||||
time, inst_rate = get_instantaneous_rate(times)
|
||||
time, binn_rate = get_binned_rate(times, bin_width)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user