That is even better than using CoreNEURON. Thanks Ted!
Best,
Yi
Search found 12 matches
- Tue Nov 27, 2018 1:41 pm
- Forum: NEURON + Python
- Topic: Accessing inf_hh and tau_hh in the hh mechanism
- Replies: 6
- Views: 4621
- Mon Nov 26, 2018 8:03 pm
- Forum: NEURON + Python
- Topic: Accessing inf_hh and tau_hh in the hh mechanism
- Replies: 6
- Views: 4621
Re: Accessing inf_hh and tau_hh in the hh mechanism
I see. I'll try the CoreNEURON version. I think I can also directly calculate these values by myself because all I need is the membrane potential at each time at each location.
Thanks for answering my questions!
Best,
Yi
Thanks for answering my questions!
Best,
Yi
- Mon Nov 26, 2018 6:52 pm
- Forum: NEURON + Python
- Topic: Accessing inf_hh and tau_hh in the hh mechanism
- Replies: 6
- Views: 4621
Re: Accessing inf_hh and tau_hh in the hh mechanism
Maybe my understanding is wrong, but aren't h.htau_hh and h.hinf_hh two arrays of numbers related to the membrane potential? i.e. in the following link: https://icwww.epfl.ch/~gerstner/SPNM/node14.html in Equation 2.7, h.htau_hh should be the tau_x and h.hinf_hh should be the x_0 here when x = h. Th...
- Mon Nov 26, 2018 2:48 pm
- Forum: NEURON + Python
- Topic: Accessing inf_hh and tau_hh in the hh mechanism
- Replies: 6
- Views: 4621
Accessing inf_hh and tau_hh in the hh mechanism
Hello, I'm using NEURON in my python codes, and I'm trying to get the variables in the 'hh' mechanism. I saw the following in the documentation: 'rates_hh(v) computes the global variables [mhn]inf_hh and [mhn]tau_hh from the rate functions. usetable_hh defaults to 1.' I tried several times but could...
- Tue Apr 10, 2018 5:33 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
Thanks for your correction. Somehow "seg.ri()" doesn't work for me ('nrn.Segment' object has no attribute 'ri'), but "h.ri(x, sec = section)" works.
- Mon Apr 09, 2018 8:31 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
Oh it should be "section.Ra". I was looking at the wrong place in the Programmers' Reference.
- Mon Apr 09, 2018 8:02 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
One more quick question: how do we access Ra (longitudinal resistances between the adjacent intracellular nodes of the axon itself)?
Thanks,
Yi
Thanks,
Yi
- Mon Apr 09, 2018 5:19 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
Hi Ted,
That was a very clear and helpful answer to my questions. Thank you so much for your help!!!
Best,
Yi
That was a very clear and helpful answer to my questions. Thank you so much for your help!!!
Best,
Yi
- Fri Apr 06, 2018 8:02 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
Hi Ted, Thanks for your advice. For the figure in the Programmer's Reference for the extracellular mechanism (the last figure in https://www.neuron.yale.edu/neuron/static/py_doc/modelspec/programmatic/mechanisms/mech.html#mechanisms), I still have several questions (suppose we only have one concentr...
- Wed Apr 04, 2018 8:37 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
It works. I was able to validate the equation. Thanks! Two more questions: 1. I don't quite understand the layered model of the extracellular mechanism (the last figure here: https://www.neuron.yale.edu/neuron/static/py_doc/modelspec/programmatic/mechanisms/mech.html) It seems that we can add more l...
- Tue Apr 03, 2018 7:11 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Re: Recording Currents & Current Stimulation
Hi Ted, Thanks a lot for your quick reply! Your tips are very helpful. Now I've deleted the 'pas' mechanism and I'm only using 'hh' and 'extracellular'. One more question: I tried 'seg.ileak_hh' to get the leak current, but got an error " 'nrn.Segment' object has no attribute 'ileak_hh' "....
- Tue Apr 03, 2018 5:40 pm
- Forum: NEURON + Python
- Topic: Recording Currents & Current Stimulation
- Replies: 12
- Views: 10676
Recording Currents & Current Stimulation
Hello, I'm a new user of NEURON + Python. After studying the online resources including the NEURON documentation and forum, I still have several questions: 1. I want to verify the Hodgkin-Huxley equation: I_total = Cm*dV/dt + I_ion under extracellular stimulation. The mechanisms I inserted are 'pas'...