iteration of axial resistance

The basics of how to develop, test, and use models.
Post Reply
miklos
Posts: 7
Joined: Sun Nov 14, 2010 11:03 am

iteration of axial resistance

Post by miklos »

Hi Ted!

I have a problem with the iteration of the axial resistance of the soma of my created cell. The code is the following:

for (j=0; j<=1; j=j+0.1){

stim.amp = j

for (i=1000; i>0; i=i-100){

soma.Ra = i

vec.record(&soma.v(0.5))

run()

z = vec.max()

print z
}
}

In the inner loop, the vec.max() values are the same. Only the iteration of the stimulus causes changes. What is the problem according to you?

Thank you for answer in advance!
ted
Site Admin
Posts: 5795
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: iteration of axial resistance

Post by ted »

Most likely your model has only one electrical compartment.
miklos
Posts: 7
Joined: Sun Nov 14, 2010 11:03 am

Re: iteration of axial resistance

Post by miklos »

Thank you!
ted
Site Admin
Posts: 5795
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: iteration of axial resistance

Post by ted »

Much of what I know, I learned from the school of hard knocks.
Post Reply