Page 1 of 1

Accessing model properties that aren't defined explicitly

Posted: Wed Aug 31, 2011 6:05 am
by RTomsett
Hi Neuron folks,

I'm interested in finding the conductances between sections in my model. Is there an easy was to get at this value in NEURON without having to calculate it myself from axial resistance and section lengths & diameters? So far I've been calculating these values by hand, then checking by separating sections and reconnecting with gap junction mechanisms of equivalent conductance, but this seems a little long-winded.

Many thanks,

Richard

Re: Accessing model properties that aren't defined explicitl

Posted: Wed Aug 31, 2011 9:23 am
by ted
RTomsett wrote:I'm interested in finding the conductances between sections in my model.
. . .
So far I've been calculating these values by hand, then checking by separating sections and reconnecting with gap junction mechanisms of equivalent conductance
Why are you doing this? What are you trying to accomplish?

Re: Accessing model properties that aren't defined explicitl

Posted: Wed Aug 31, 2011 1:59 pm
by RTomsett
It's mainly for when copying models to other simulators where compartments are dealt with separately and coupled with a conductance (e.g. Brian). Lots of useful models already implemented in Neuron so would be handy to be able to get at the coupling conductance without having to calculate it every time from axial resistance and compartment length and diameter. It's not a huge problem as it's not hard to calculate, but could save a bit of time if there's an easy way of getting it from Neuron.

Re: Accessing model properties that aren't defined explicitl

Posted: Thu Sep 01, 2011 10:12 am
by ted
ri will do what you want. Read about it in the Programmer's Reference
http://www.neuron.yale.edu/neuron/stati ... ry.html#ri

Re: Accessing model properties that aren't defined explicitl

Posted: Thu Sep 01, 2011 1:33 pm
by RTomsett
Ah, fantastic. Sorry, must have missed it when I was looking through the Programmer's Reference.