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