Search found 9 matches

by OronKotler
Mon Jun 07, 2021 2:08 am
Forum: NEURON hacks
Topic: addng a parameter to mod file
Replies: 1
Views: 28

addng a parameter to mod file

Hi, I am trying to add a parameter that I can change that will affect the kitchens of the channel. **** PROCEDURE rates(v(mV)) { :Computes rate and other constants at current v. :Call once from HOC to initialize inf at resting v. LOCAL alpha, beta, sum TABLE minf, mtau, hinf, htau, ninf, ntau DEPEND...
by OronKotler
Wed Apr 14, 2021 2:53 am
Forum: NEURON + Python
Topic: Myelin modeling
Replies: 3
Views: 316

Re: Myelin modeling

Hi Ted, thanks for replying to my post. I am trying to model the double cable circuit used by Wårdell et al 2019 with the extracellular mechanism offered by NEURON. I am wondering what is the best approach for understanding what parameters I need to us for the xraxial,xg,xc in order to simulate this...
by OronKotler
Thu Mar 25, 2021 3:13 am
Forum: NEURON + Python
Topic: Myelin modeling
Replies: 3
Views: 316

Myelin modeling

Hi all this is my code for myelin double circuit model, this is the paranode extntion: h.paranode[1].insert('extracellular') h.paranode[1].xraxial[0]=Rpn1 h.paranode[1].xraxial[1]=Rpn1 newgm=np.divide(gm,(np.array(h.paranode[1].L))) h.paranode[1].xg[0]=2*gm/(np.array(h.paranode[0].L)) h.paranode[1]....
by OronKotler
Thu Mar 18, 2021 3:39 am
Forum: Getting started
Topic: The math behind extracellular mechanisms
Replies: 23
Views: 26616

Re: The math behind extracellular mechanisms

Considering the simplest case, which omits extracellular-- The equivalent circuit of a section with nseg==1 is a T circuit in which all membrane properties (capacitance and ion channels) are lumped into the vertical stem of the T. Read this http://www.neuron.yale.edu/neuron/papers/nc97/nc3p2.htm#3....
by OronKotler
Sun Feb 28, 2021 11:08 am
Forum: NEURON hacks
Topic: space plot of voltage changes every repetition
Replies: 1
Views: 291

space plot of voltage changes every repetition

Hi all, my simulation does not show the same results for space the space plot, after every repetition. I understand that it is a dynamic system with Fix Points and different trajectories, so the results will not be the same. Is there a way to fix the steady-state trajectories of the system in neuron...
by OronKotler
Wed Feb 24, 2021 8:51 am
Forum: NEURON + Python
Topic: Save data from a loop in data acquired from neuron
Replies: 1
Views: 164

Save data from a loop in data acquired from neuron

Hi, I am trying to put the values here in an array, and tried different ways in order to implement this. What is the best way to do it? secAIS=h.AIS for seg in secAIS.allseg(): AIS=print('%g %g %g' % (seg.x * secAIS.L, seg.area(), seg.ri())) this code was adapted from here: https://www.neuron.yale.e...
by OronKotler
Wed Feb 24, 2021 1:46 am
Forum: Getting started
Topic: recording axial current
Replies: 6
Views: 9679

Re: recording axial current

Record the membrane potential at the centers of the two compartments. After the end of the simulation, calculate the axial current from Ohm's law. Hint: the axial resistance between two adjacent compartments is given by the hoc function ri(). Example: Suppose dend has nseg = 3, and you want to know...
by OronKotler
Wed Feb 24, 2021 1:33 am
Forum: Hot tips
Topic: Plotting the lateral current of any segment
Replies: 2
Views: 306

Re: Plotting the lateral current of any segment

Thanks a lot Ted!
by OronKotler
Tue Feb 23, 2021 2:04 am
Forum: Hot tips
Topic: Plotting the lateral current of any segment
Replies: 2
Views: 306

Plotting the lateral current of any segment

Hi all,
I am trying to plot the overall lateral ionic current flow of my system.
Note I am not trying to plot the membrane current, but the ionic current flowing via the cytoplasm.