Apologies in advance for another obtuse question.
I enjoyed working through the electronic analysis tutorial at http://www.neuron.yale.edu/neuron/stati ... zclass.htm using the NEURON GUI. Returning to my Python code, I am attempting to perform a similar analysis however I cannot see an obvious way to return the value of `attenuation' or `log(attenuation)'. Looking at http://www.neuron.yale.edu/neuron/stati ... html#ratio , the impedance class' function `ratio' is the closest thing I can find. Or is the attenuation measurement not available for the programmer?
Measurement of electronic distances.
Moderator: hines

 Site Admin
 Posts: 5702
 Joined: Wed May 18, 2005 4:50 pm
 Location: Yale University School of Medicine
 Contact:
Re: Measurement of electronic distances.
The voltage transfer ratio is
voltage downstream / voltage upstream
and is always <= 1.
Voltage attenuation is simply 1 / voltage transfer ratio, so that a bigger number means more attenuation (makes sense, right?).
voltage downstream / voltage upstream
and is always <= 1.
Voltage attenuation is simply 1 / voltage transfer ratio, so that a bigger number means more attenuation (makes sense, right?).
Re: Measurement of electronic distances.
Thanks for an incredibly swift answer!
I *think* so. You can score my responses to your reply as to whether or not I really do understand!ted wrote:(makes sense, right?)
If this refers to Impedance.ratio(x)  I interpret this as downstream voltage recorded at the CAS at location x divided by the size of the upstream voltage source located according to Impedance.loc() after calculation with Impedance.compute(freq, flag). Since voltages can't `grow', this means its value must be <=1.ted wrote:The voltage transfer ratio is voltage downstream / voltage upstream and is always <= 1.
Or: log_e(Attenuation) = log_e(Ratio) = my measurement of electronic distance in units of nepers?ted wrote:Voltage attenuation is simply 1 / voltage transfer ratio, so that a bigger number means more attenuation (makes sense, right?).

 Site Admin
 Posts: 5702
 Joined: Wed May 18, 2005 4:50 pm
 Location: Yale University School of Medicine
 Contact:
Re: Measurement of electronic distances.
In discussing the potential at two points, it is convenient to use "upstream" to refer to the point that is closer to the signal source, and "downstream" for the point that is farther away.
A native of the realm of neuroscience would not even know such a term existed. You betray your infiltration from some other province of geekdom.gary wrote:log_e(Attenuation) = log_e(Ratio) = my measurement of electronic distance in units of nepers?