ashutosh wrote:When I just ignore the error messages, import the cell and check its passive steady state response to a small current (which i am trying to study), the response is unusually large (in current clamp for a 20 pA input at the soma the deflection was around 16 mV from resting).
Can't tell what that means without knowing what properties were assigned to membrane and cytoplasm.
I imported the morphology into a CellBuilder, closed the Import3D tool, saved CellBuilder to cell.ses, exited NEURON.
Then
nrngui cell.ses
Geometry: specified d_lambda strategy for spatial discretization (not necessary for steady state test of a passive model, but I do it out of habit).
Biophysics: with Strategy checked, selected Ra, cm, and pas.
Cleared Strategy checkbox and changed g_pas to 1e-4 S/cm2 and e_pas to 0 mV (so I don't have to subtract resting potential from final v).
Activated Continuous Create.
Used PointProcessManager to attach an IClamp to soma, specified dur 1e9 ms, amp 0.1 nA.
Ran simulation for 200 ms. soma v rose from 0 to 79.3 mV, steady state in < 100 ms. Conclusion: input resistance at soma is 793 megohms.
Shape plot shows no orphan branches (everything lit up about the same amount).
Conclusions: (1) all branches are attached to the soma, and (2) there don't seem to be any bottlenecks to current flow.
LogAvsX tool (part of the Impedance tools--if you're not familiar with these, see
18. Analyzing electrotonus at
http://www.neuron.yale.edu/neuron/stati ... ndson.html) shows extremely efficient voltage transfer from soma out to all branches--natural log of voltage attenuation < 0.01 throughout the model at DC, so clamping soma to 1 mV forces all membrane to at least 0.99 mV. So all membrane is "electrically very close" to the soma.
Back to the interpreter.
oc>forall nseg=1
oc>ta
/usr/local/nrn/i686/bin/nrniv: undefined variable ta
near line 38
ta
^
oc>ta=0
first instance of ta
oc>forall for (x,0) ta+=area(x)
oc>ta
1264.3565
So total surface area of model is 1264 um2.
oc>g_pas*ta*1e-8
1.2643565e-09
So a spherical cell with that surface area would have an input conductance of 1.264 nanosiemens.
oc>1/(g_pas*ta*1e-8)
7.909162e+08
which is 7.91e8 ohms, or 791 megohms.
Conclusions: This is almost identical to the input resistance of the branched model subjected to a computational current clamp experiment, and confirms the "electrical proximity" of all membrane to the soma.
1 pA applied to a cell with input resistance of ~800 megohms should change v by 0.8 mV, so 20 pA should change it by 16 mV.
I tried importing a few .swc cells from NeuroMorpho.org
Does NeuroMorpho.org have morphologies of other cells of this particular class?
and they seemed to share a characteristic - there is atleast one point in common between the soma and the neurites connected to it in the corresponding hoc file. And thus they actually appear connected to the cell and their passive response is in the expected range.
All the dendritic trees of your tiny cell, imported into NEURON, are connected to the soma too. Type topology() at the oc> prompt if you aren't sure about this.
The question is whether the imported model is incorrect or whether your expectation (that input resistance shouldn't be so high) is incorrect. From what I have seen so far, the imported model is correct, but if you need further assurance, there's an easy way to find out. Use NeuroLucida to tell you the total surface area contained in your morphology file (reading through the file I see that there aren't a lot of measurement points, most have diameters < 1 um, and none has a diameter > 2 um). It will probably be close to, but not quite the same, as the value computed from the NEURON model; the difference will be attributable to differences between how NEURON deals with the soma compared to what NeuroLucida does with the somatic outlines. In any case, you're dealing with a very small cell, which has very little surface area, and it is going to have a large input resistance.
So I tried the following. I imported my .asc file into neuron after ignoring errors, exported it out as hoc. And then I manually edited the hoc file so that each neurite connected to the soma had exactly one point in common with it. I did this by adding a new "addpt3d" for each neurite. When I imported this file back into neuron, as you would expect the neurites appeared connected to the cell body and my passive response was in the expected range.
Without seeing your code I have no idea what you did. With regard to the appearance of shape plots--the way that things are drawn in a shape plot, and especially whether sections are drawn as contiguous or not, has nothing to do with whether they are connected to each other. The printout generated by topology() tells how they are connected.[/quote]