Search found 7 matches
- Thu Nov 14, 2024 10:14 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
Re: How to call my ionic current variable implemented in NMODL in HOC
Thank you, Ted! I truly appreciate the generous spending of your time. Your comments helped me understand better the difference between point processes and density mechanisms. Also, it helped me to reflect on my current readout procedure and how to disentangle the currents. I will try to incorporat...
- Thu Oct 24, 2024 7:13 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
Re: How to call my ionic current variable implemented in NMODL in HOC
Update I found the error regarding the synaptic iteration in hoc. ina_syn = 0 if (ismembrane("ghkampa")){ for(j=0;j<80;j+=1) { ina_syn = AMPAsyn[j].Pmax * Ek / (Ek - Ena) * (v - Ena) * area($1) } } I declared the objref statement later and overlooked the inconsistency.
- Wed Oct 23, 2024 3:16 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
Re: How to call my ionic current variable implemented in NMODL in HOC
Thank you very much for your extensive elaboration on the mathematical formulas and units, Ted! This is most welcome and encourages us to think through the mechanisms and theory behind it again. To sketch out what I've done since your last post, let me elucidate. I used USEION nas WRITE inas VALENCE...
- Mon Oct 21, 2024 8:38 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
Re: How to call my ionic current variable implemented in NMODL in HOC
In addition, I can declare inas a NONSPECIFIC_CURRENT, and implement the equation to calculate it in NMODL - similar to how I showed that I calculated the inas and ikas function before. By that, I can compile the NMODL file. Unfortunately, I still receive the error that inas is undefined, when I try...
- Mon Oct 21, 2024 6:01 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
Re: How to call my ionic current variable implemented in NMODL in HOC
Hi Ted, Thank you very much for your reply. I like your proposal a lot and think that, as you mentioned, it should reduce the complexity. It is right, that I want to keep track of the currents of nonspecific current and their corresponding ion fluxes. For that, I calculated the sodium part of the no...
- Thu Oct 17, 2024 1:14 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
Re: How to call my ionic current variable implemented in NMODL in HOC
Also, this is my try to iterate over my synaptic point processes nested in my segment for-loop (latter not shown here, but see above). ina_syn = 0 if (ismembrane("ghkampa")){ for(j=0;j<80;j+=1) { ina_syn = AMPAsyn[j].Pmax * Ek / (Ek - Ena) * (v - Ena) * area($1) } } What I receive is: NEUR...
- Thu Oct 17, 2024 8:41 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: How to call my ionic current variable implemented in NMODL in HOC
- Replies: 12
- Views: 38704
How to call my ionic current variable implemented in NMODL in HOC
Hi all, This is my first post, and I am looking forward to engaging in fruitful discussions in this excellent curated forum. I have a problem. Right now, I am trying to calculate the ATP consumption in the NEURON CA1 model I am using ( https://www.sciencedirect.com/science/article/pii/S0893608021002...