Small updates on pointprocesses

This commit is contained in:
2015-10-27 09:12:03 +01:00
parent e74993c2cf
commit 8fb45e4164
4 changed files with 55 additions and 36 deletions

View File

@@ -1,9 +1,10 @@
function spikes = pifouspikes( trials, input, tmaxdt, D, outau )
% Generate spike times of a perfect integrate-and-fire neuron
% with Ornstein-Uhlenbeck noise (colored noise).
% trials: the number of trials to be generated
% input: the stimulus either as a single value or as a vector
% tmaxdt: in case of a single value stimulus the duration of a trial
% in case of a vector as a stimulus the time step
% tmaxdt: in case of a single value stimulus: the duration of a trial
% in case of a vector as a stimulus: the time step
% D: the strength of additive white noise
% outau: time constant of the colored noise