Page 1 of 1

Ineffective simulation with small duration current injection

Posted: Fri Aug 24, 2018 12:03 pm
by doctorxue
hi everyone:

I'm a freshman in NEURON and recently encountered a problem.

When I was doing current injection(with h.IClamp method) into a 99-divided 20um diameter spherical soma inserted with 'pas' membrane mechanism, if duration is set to like 0.1ms and amplitude is 1nA, I got observable voltage response. But if the duration is 0.01ms and amplitude is 1000nA, no observbable response, the voltage does not change even 1 mV with time.

I would like to know whether this is limitation of time-step simulation, or some real biophysical phenomenon.

Thank you so much!

Re: Ineffective simulation with small duration current injection

Posted: Fri Aug 24, 2018 12:38 pm
by ramcdougal
Are you using a fixed time step or variable? I assume variable step will choose time points at the beginning and end of each current change... And thus you would see the current injection having an effect.

If fixed, what is dt?

Note that for fixed step, the default timestep (0.025 ms) is longer than your current pulse, so you could easily have a situation with fixed step where no current should be injected at any of the calculated time points.

[Edit: fixed typos.]

Re: Ineffective simulation with small duration current injection

Posted: Fri Aug 24, 2018 3:07 pm
by ted
Whoa, ramcdougal, disable auto spellcheck!

doctorxue, what you observed is exactly what happens in a fixed time step simulation when the stimulus duration is shorter than dt. If you were using adaptive integration, NEURON's computational engine would have automatically changed dt to accurately capture the time course of the stimulus current. With fixed time step integration, any attempted perturbation must be at least as long as the time step, or it will have no effect.