Search found 15 matches

by dsengupta
Mon Jul 30, 2012 6:06 pm
Forum: Specific models
Topic: Conduction along demyelinated axon
Replies: 2
Views: 12887

Re: Conduction along demyelinated axon

Thank you for the link. I did find those and they helped me with my model.
by dsengupta
Mon Jul 30, 2012 4:15 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

I think I finally got it to work the way I want it to! Thank you so much for all yur help. I feel like I learned a lot!

Just on a side note. If you build a cell on CellBuilder, is there a way to retrieve the hoc code for that model?

Thanks again!
by dsengupta
Wed Jul 25, 2012 1:25 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

here is the original code: load_file("nrngui.hoc") create node[1], myelin[1] objref nodes, myelins // topol(nnode) connects an alternating sequence of node/myelin pairs. proc topol() {local i nnode = $1 create node[nnode], myelin[nnode-1] nodes = new SectionList() myelins = new SectionList() forsec ...
by dsengupta
Tue Jul 24, 2012 4:30 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

when you said to change N to 2*N+1 are yo referring to this part of the code?

Code: Select all

create node[nnode], myelin[nnode-1], demyel[nnode-1]
And if that's the spot is this correct?

Code: Select all

create node[2*nnode+1], myelin[nnode-1], demyel[nnode-1]
becuase i am still unable to graph on the space plot.
by dsengupta
Tue Jul 24, 2012 11:59 am
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

Here is my code once again load_file("nrngui.hoc") create node[1], myelin[1], nonmyel, demyel[1] objref nodes, myelins, demyels // topol(nnode) connects an alternating sequence of node/myelin pairs. proc topol() {local i nnode = $1 create node[nnode], myelin[nnode-1], demyel[nnode-1] nodes = new Sec...
by dsengupta
Thu Jul 19, 2012 4:31 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

I want to have 11 nodes and 10 internodes with five internodes myelintaed and five internodes whose capacitace i can change to demonstrate the effects of, say, multilpe sclerosis, so i have put 11 in the make() statement but i am still getting error. this is the error:nrniv: syntax error in /cygdriv...
by dsengupta
Thu Jul 19, 2012 2:38 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

Thanks for the websites. I think I understand how it works. I have changed the original code as follows: load_file("nrngui.hoc") create node[1], myelin[1], nonmyel, demyel[1] objref nodes, myelins, demyels // topol(nnode) connects an alternating sequence of node/myelin pairs. proc topol() {local i n...
by dsengupta
Tue Jul 17, 2012 2:49 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

I can see where in the code you are pointing to but I am still unsure as to how to change to values. I tried simply changing the values but I am getting an error when I run the program. Could you please elaborate a bit?

Thank you!
by dsengupta
Tue Jul 17, 2012 2:28 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

Alright. I think I understood my mistake. On a side note, where in the code can I specify the number of sections of myelin/nodes? I want to try to only look at 3 sections of myelin with 2 nodes in between.

thanks
by dsengupta
Tue Jul 17, 2012 12:42 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Re: Modeling a demyelinated axon

I was able to have the model run successfully. However, when I played the space plot of the model it seems like the action potential is moving backwards. How can I fix this? Thanks for all the help! this is the full code I am using: load_file("nrngui.hoc") create node[1], myelin[1], nonmyel objref n...
by dsengupta
Thu Jul 12, 2012 8:06 pm
Forum: Specific models
Topic: Conduction along demyelinated axon
Replies: 2
Views: 12887

Conduction along demyelinated axon

does anyone happen to now of a sample model which is partially myelinated? I looked on Model DB but wasn't able to find one.
Thanks!
by dsengupta
Thu Jul 12, 2012 7:39 pm
Forum: Getting started
Topic: Modeling a demyelinated axon
Replies: 18
Views: 4323

Modeling a demyelinated axon

How can I model a singel axon where half is myelinated and half in unmyelinated?
by dsengupta
Wed Jul 11, 2012 3:00 pm
Forum: Getting started
Topic: Question About Graphing
Replies: 5
Views: 1420

Re: Question About Graphing

I was able to get a space plot but that led me to a few more questions. 1. How does NEURON deternime how long the x axis has to be on the graph or is it written somewhere in the program and i'm overlooking it? 2. How do you inject a current/ impulse at a specific point along the axon. when I am grap...
by dsengupta
Tue Jul 10, 2012 9:27 pm
Forum: Getting started
Topic: Question About Graphing
Replies: 5
Views: 1420

Re: Question About Graphing

Thank you so much for the reply. I will try the space plots and will send you the zip file shortly.
by dsengupta
Tue Jul 10, 2012 5:40 pm
Forum: Getting started
Topic: Question About Graphing
Replies: 5
Views: 1420

Question About Graphing

Hi, I am new to programming in general and this is my first time trying out NEURON. I had a few questions. I want to model a simple axon model with myelin and without myelin to show how the action potential changes as a signal propagates down the axon. My question is, is there a way to graph voltage...