Setting up the input

Setting up the input

Before we are ready to run the simulation we have to define the spike train which should be emitted by the input neuron i. In CSIM time varying input signals (analog or spiking) - also called the stimulus - are not considered to be properties/attributes of some objects but are always explicitly specified. In the case of our example we will define a spike train with randomly drawn spike times (for details see Section 3.1):

    » S.spiking = 1;                % 1 ... spike times, 0 ... analog data

    » S.dt = NaN; % resolution for analog data
    » S.idx = i; % index/handle of receiving object
    » S.data = sort(rand(1,10)); % 10 random spikes in the interval 0 to 1 sec

 
(C) 2003, Thomas Natschläger last modified 07/10/2006