The Stimuls or Input Signals

The Stimuls or Input Signals

When runing a network simulation via simulate(nmc,Tstim,S); one can specify the stimulus S.

S has to be a struct array with the following fields:

  • S.channel(i).spiking : binary flag (0/1) which determines if S.channel(i).data should be interpreted as spike times or as an analog signal

  • S.channel(i).dt : time discretization; for analog signals (S.channel(i).spiking=0) only

  • S.channel(i).data : signal date: vektor of the analog values (S.channel(i).spiking=0) or spike times (S.channel(i).spiking=1)

  • S.info(i).Tstim : the length of the stimulus (usally used in plotting routines.

 
(C) 2003, Thomas Natschläger last modified 06/12/2006