Input impedance
Posted: Thu Jun 16, 2011 5:41 pm
Hi all,
I used the following function to measure the input impedance of a neuron model; however, when I printed the variable Zin I got "nan". Any advice on what could be the reason for that?
By the way, when I removed the line on "z.compute(1, 1)", Zin printed 0. No extracellular or LinearMechanism is included in the model, just standard active conductances.
Thanks
I used the following function to measure the input impedance of a neuron model; however, when I printed the variable Zin I got "nan". Any advice on what could be the reason for that?
Code: Select all
proc Compute_Zin() { localobj z
z = new Impedance()
soma { z.loc(0.5) }
z.compute(1, 1)
Zin = 0
soma { Zin = z.input(0.5) }
print "Input impedance: ", Zin
}
Thanks