Search found 13 matches

by OronKotler
Wed Jul 19, 2023 4:34 am
Forum: NEURON hacks
Topic: electrodiffusive
Replies: 0
Views: 26611

electrodiffusive

What is the best way to model electro diffusion in Neuron?
Is there an electrodiffusive Pinsky-Rinzel model mode file?
by OronKotler
Sun Oct 31, 2021 5:17 am
Forum: NEURON hacks
Topic: Complex presynaptic cell
Replies: 3
Views: 11007

Re: Complex presynaptic cell

Thanks for your help.
I got this message:

NEURON: SubsetDomainIterator is not a template
in net2.hoc near line 182
axonal_x = new SubsetDomainIterator(axonal, 0, 1, 1)

what should I do?

Thanks again
by OronKotler
Sun Oct 31, 2021 4:08 am
Forum: NEURON + Python
Topic: added a synapse with python
Replies: 1
Views: 6749

added a synapse with python

Hi, I am trying to add a synapse while opening this HOC file. I get an error when trying to add the synapse. In addition, when I load the hoc file I can't load the morphology of the cell. Thank you a lot for your help :D %% //Network cell templates // Pre_Cell // Post_Cell begintemplate Pre_Cell pub...
by OronKotler
Wed Oct 27, 2021 7:30 am
Forum: NEURON hacks
Topic: Complex presynaptic cell
Replies: 3
Views: 11007

Complex presynaptic cell

Hi all, I am trying to simulate a synapse in such a way that the presynaptic cell has a complex geometry and the postsynaptic is a single compartment. all examples I see are when the postsynaptic is complex. https://neuron.yale.edu/neuron/static/docs/netbuild/main.html. Is there a way for neurons to...
by OronKotler
Mon Jun 07, 2021 2:08 am
Forum: NEURON hacks
Topic: addng a parameter to mod file
Replies: 1
Views: 8797

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: 3352

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: 3352

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: 57294

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: 6727

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: 2261

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: 19933

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: Other questions
Topic: Plotting the lateral current of any segment
Replies: 2
Views: 9111

Re: Plotting the lateral current of any segment

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

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.