I want to use dx/dt into a breakpoint of a mod file. (SUFFIX and i_m is a NONSPECIFIC Current)
BREAKPOINT {
i_m=b*(dx/dt)
}
Thank you very much!!
Search found 11 matches
- Thu Sep 08, 2011 11:56 am
- Forum: Other questions
- Topic: Time Derivative
- Replies: 5
- Views: 2880
- Thu Sep 08, 2011 11:27 am
- Forum: Other questions
- Topic: Time Derivative
- Replies: 5
- Views: 2880
Re: Time Derivative
I have a function x(t)=a*exp(w*t)*sinh(w*t) and I want neuron to calculate dx/dt either in hoc or mod file.
The reverse thing that DERIVATIVE block in a mod file does.
Is this more clear?
The reverse thing that DERIVATIVE block in a mod file does.
Is this more clear?
- Thu Sep 08, 2011 9:52 am
- Forum: Other questions
- Topic: Time Derivative
- Replies: 5
- Views: 2880
Time Derivative
Dear all, I am using this part in a hoc file in order to calculate the stim_amp(see code). However, the equation used for stim_amp is the derivative calculated by hand which creates inaccuracy in my results. I want to replace this part and make neuron calculate the derivative given the equation. By ...
- Sun Aug 07, 2011 6:21 pm
- Forum: Anatomically detailed models
- Topic: Whole Cell Stimulation
- Replies: 3
- Views: 3244
Re: Whole Cell Stimulation
Dear Ted, Thank you for your answer. How can I then define the amplitude, duration and delay of the pulse? And for example if I type: access dend1 objref stimlist stimlist = new List() forall for (x,0) stimlist.append(new IClamp(x)) will that mean that every segment of dendrite1 will be stimulated? ...
- Sun Aug 07, 2011 7:19 am
- Forum: Anatomically detailed models
- Topic: Whole Cell Stimulation
- Replies: 3
- Views: 3244
Whole Cell Stimulation
Hey! I have a 3D pyramidal layer 5 cell, which consists of: soma: diameter = 25 um length = 35 um area = 2747.9 um2 11 primary neurites 87 branches totaling 17667.6 um in length, 52996.2 um2 in area 3383 tree points translated to 164 segments (1 requested) Neurites divided into segments of equal dx ...
- Thu Jun 09, 2011 6:15 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Time dependent conductance in DERIVATIVE block
- Replies: 11
- Views: 7708
Re: Time dependent conductance in DERIVATIVE block
Ga1 changes with time and one equation of t characterizes it when ton<t< toff and a different one when t>toff What happens when t<ton? When t<ton Ga2=0 and it changes for the first time when t>ton. Ok, I think I understood everything you have said so far and thank you again very much! However I sti...
- Wed Jun 08, 2011 4:43 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Time dependent conductance in DERIVATIVE block
- Replies: 11
- Views: 7708
Re: Time dependent conductance in DERIVATIVE block
Dear Ted, Thank you so much! I figure it out how it works and what my problem is!! My process is a POINT PROCESS so I can put the NET_RECEIVE command. The problem actually is that my variable Ga1 changes with time and one equation of t characterizes it when ton<t< toff and a different one when t>tof...
- Mon Jun 06, 2011 8:24 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Time dependent conductance in DERIVATIVE block
- Replies: 11
- Views: 7708
Re: Time dependent conductance in DERIVATIVE block
Dear Ted, Thank you very much for your reply!! But how should I call it from hoc level? I have something like: objref nc soma nc = new NetCon(&v(0.5),target,5,0,0) where the target is the mod file with the NET_RECEIVE command. I get the following error: {run()} ^ finitialize(-65) init() stdinit(...
- Tue May 31, 2011 10:44 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Time dependent conductance in DERIVATIVE block
- Replies: 11
- Views: 7708
Re: Time dependent conductance in DERIVATIVE block
Thank you!! It works like that! If I use FUNCTION t needs to be declared in the ASSIGNED block, but I did it also with PROCEDURE and in this case t cannot be declared in the ASSIGNED block. If you want something that works reliably with adaptive integration, let me know and I'll show you how.[/quote...
- Tue May 31, 2011 7:31 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Time dependent conductance in DERIVATIVE block
- Replies: 11
- Views: 7708
Re: Time dependent conductance in DERIVATIVE block
Dear Ted, Thank you for your answer. I just want to change the values of Ga1 and Ga2 as time passes. Like: Ga1= something, when ton<t<toff Ga1=something else, when t>toff My question is if I can have time as a threshold to change values? Because most examples I have seen use voltage or temperature. ...
- Mon May 30, 2011 10:49 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Time dependent conductance in DERIVATIVE block
- Replies: 11
- Views: 7708
Time dependent conductance in DERIVATIVE block
Hi! I am new in NEURON and want to add a channel in a hh model. My problem is that in the equations in the DERIVATIVE block the variable change depending on time. how can I define different values to those variables as time course passes? Something like: if (t < thres) { Ga2=r2*(1-exp(-t/tau)) } els...