new figures
This commit is contained in:
@@ -24,6 +24,7 @@ ylabel('firing rate [Hz]')
|
||||
ylim([0 300])
|
||||
xlim([0 1])
|
||||
title('instanataneous firing rate')
|
||||
saveas(fig, 'isi.pdf','pdf')
|
||||
|
||||
%% create PSTH using the binning method
|
||||
bin_width = 0.0125; % s
|
||||
@@ -49,7 +50,7 @@ xlim([0 1])
|
||||
xlabel('time [s]')
|
||||
ylabel('firing rate [Hz]')
|
||||
title('binning method')
|
||||
|
||||
saveas(fig, 'binning.pdf', 'pdf')
|
||||
%% create PSTH using the kernel-convolution method
|
||||
kernel_width = 0.0125; %s
|
||||
binary_spikes = zeros(size(times,2), round(max_time*sample_rate));
|
||||
|
||||
Reference in New Issue
Block a user