Hi,
Is there any function to round up a floating point variable within the hoc code?
thanks and regards
Search found 29 matches
- Tue Jun 29, 2010 12:29 am
- Forum: Other questions
- Topic: Rounding up a variable
- Replies: 1
- Views: 2235
- Mon May 10, 2010 1:25 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Setting the basal level for Intracellular Calcium Concentrat
- Replies: 22
- Views: 25535
Re: Setting the basal level for Intracellular Calcium Concentrat
Sir,
I wanted your opinion on the following. If I want to calculate the depletion of ca in a fixed extracellular volume and i have inserted a L type Ca channel and the cdp mechanism in the section, then, can i proceed in a way similar to that outlined in the thread on Extracellular K accumulation?
I wanted your opinion on the following. If I want to calculate the depletion of ca in a fixed extracellular volume and i have inserted a L type Ca channel and the cdp mechanism in the section, then, can i proceed in a way similar to that outlined in the thread on Extracellular K accumulation?
- Fri May 07, 2010 3:59 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Dear Sir, I was experimenting with the model for potassium accumulation which had been initially discussed in this post. The one in which accumulation is implemented in the ECS alongwith corresponding depletion in ICS. You had helped me out with the framing of the equations controlling ki and ko and...
- Thu May 06, 2010 4:34 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Dear Sir, as always, I am STUCK again.Let me tell you what i did to test the model First I implemented Accumulation in ECS, depletion in ICS and diffusion to a constant volume sink using the relations given below ko'=(1e4)*4*ik/(rho*diam*FARADAY)+(ks-ko)/taus ks'=(ko-ks)/taus ki=kx-ko*rho-ks*rhosnk ...
- Wed May 05, 2010 6:25 am
- Forum: Other questions
- Topic: How much Ca accumulation can lead to the death of a neuron
- Replies: 1
- Views: 1945
How much Ca accumulation can lead to the death of a neuron
Hi, I am working on a ca accumulation mechanism which i want to use in modeling pyramidal neurons found in v1 area of cat visual cortex. I would be grateful if someone can tell me or point me in the right direction as to the approximate levels of intracellular calcium concentration that would lead t...
- Thu Apr 29, 2010 12:35 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Thank you sir, Actually, even I by myself had employed similar suggestions as given by you but was not sure whether I was doing it right. Your post has reassured me that I was on the right track. However the behavior is still not as I desired, so I am trying to work out another way of doing it. In c...
- Mon Apr 26, 2010 3:13 am
- Forum: Other questions
- Topic: How to find the spike frequency
- Replies: 4
- Views: 9629
Re: How to find the spike frequency
Hi,
I managed to work it out myself!
Thanks anyway
I managed to work it out myself!
Thanks anyway
- Mon Apr 26, 2010 2:00 am
- Forum: Other questions
- Topic: How to find the spike frequency
- Replies: 4
- Views: 9629
Re: How to find the spike frequency
Sir,
Can you please elaborate a little on how to use the record() method.
Is it possible to use this method to calculate the number of spikes generated in distinct time periods and not just the total number of spikes in the entire simulation?
regards
Can you please elaborate a little on how to use the record() method.
Is it possible to use this method to calculate the number of spikes generated in distinct time periods and not just the total number of spikes in the entire simulation?
regards
- Fri Apr 16, 2010 3:55 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Dear Sir, The Potassium accumulation mechanism is working as desired. Many thanks for the same. Now, moving ahead, my next step is to implement a sink which is attached to the extracellular space(ECS) and sucks out the accumulated K+ from the ECS. However the efficiency of sucking out is to be inver...
- Thu Apr 15, 2010 1:11 pm
- Forum: Other questions
- Topic: Simulating multiple neuron models simultaneously
- Replies: 2
- Views: 2199
Re: Simulating multiple neuron models simultaneously
Thanks Ted,
I'll try to do it some other way
I'll try to do it some other way
- Wed Apr 14, 2010 3:44 am
- Forum: Other questions
- Topic: Simulating multiple neuron models simultaneously
- Replies: 2
- Views: 2199
Simulating multiple neuron models simultaneously
Hi, I am not sure if this falls into the realm of parellalization so I have posted this query here. I want to know whether it is possible to simultaneously simulate a group of neurons, all of which may not necessarily be connected to each other but they do share the same extracellular space. Also, t...
- Mon Apr 12, 2010 8:36 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Dear Sir,
Thank you once again. I have started understanding NMODL a little better now, all because of you.
Thank you once again. I have started understanding NMODL a little better now, all because of you.
- Mon Apr 12, 2010 5:40 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Dear Sir, 1. I made the necessary amendments in the kext.mod file as you had suggested. Here is the kext.mod code : Extracellular potassium ion accumulation NEURON { SUFFIX kext USEION k READ ik WRITE ko,ki RANGE fhspace } UNITS { (mV) = (millivolt) (mA) = (milliamp) FARADAY = (faraday) (coulombs) (...
- Sat Apr 10, 2010 9:01 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
Re: intracellular K depletion and extracellular K accumulation
Thank you sir. I really appreciate the promptness and detail, of the reply
- Sat Apr 10, 2010 3:00 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: intracellular K depletion and extracellular K accumulation
- Replies: 12
- Views: 9978
intracellular K depletion and extracellular K accumulation
Hi , I am trying to create a mechanism that reads the potassium current ik and computes the values of ki and ko. What i also require is that ik should also be dependent on the newly modified values of ik and ko. The model that I have in mind is a single compartment soma(with a certain initial potass...