Oscillating Rate for Poisson Inputs
Posted: Tue Jun 05, 2007 1:54 pm
Hi all,
I am creating a single cell model for looking at intracellular dynamics during network oscillations. I would like to mimic the network activity onto the cell with Poisson distributed inputs wherein the rates oscillate at a particular frequency. I have tried using NetStim inputs, and re-setting the interval at each time-step according to a sinewave function, e.g.:
However, this did not work, my input was coming at consistent intervals. I suspect that this may be because the NetStim object is not picking new event times at each time-step, but chose all the times at the start... (yes/no?) I am probably going about this in a completely wrong manner, so any advice/suggestions would be greatly appreciated.
Thanks,
Blake
I am creating a single cell model for looking at intracellular dynamics during network oscillations. I would like to mimic the network activity onto the cell with Poisson distributed inputs wherein the rates oscillate at a particular frequency. I have tried using NetStim inputs, and re-setting the interval at each time-step according to a sinewave function, e.g.:
Code: Select all
objref wave
wave = new Vector(numsteps)
wave.sin(freq,phase,dt)
wave.mul(amp)
wave.add(amp+baserate)
...
stm = new NetStim(0.5)
...
proc advance() {
...
stm.interval = wave.x[t]
...
}
Thanks,
Blake