Skip to content

Latest commit

 

History

History

InputCurrents

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Functions:

  • Inoise.m: generates a noisy current that is Gaussian distributed with mean mu, standard deviation sigma, and a correlation length tau
  • Inoise_incMu.m: creates an in vivo-like inputs using the Ornstein-Uhlenbeck method.

Noisy currents with mean mu, standard deviation sigma, and correction length tau are generated according to the equation:

I(t+dt)=I(t)+(mu-I(t))/tau+sigma *Gt sqrt(2dt/tau)

where: Gt is a random number taken each time step from a Gaussian distribution with mean and standard deviation 1.