Search found 49 matches

by fabien tell
Sat Mar 26, 2016 7:24 am
Forum: Adding new mechanisms and functions to NEURON
Topic: recording the second derivative of an action potential
Replies: 13
Views: 12481

Re: recording the second derivative of an action potential

Thanks again Ted, I therefore wrote this : load_file("nrngui.hoc") tstop=50 dt=0.025 celsius=32 v_init=-55 finitialize(v_init) create soma soma { nseg=1 L=35 diam=15 Ra = 150.0 cm=1 insert pasnts insert kdrDA gbar_kdrDA=100 insert Na12 Vmid_ac_Na12 = -35 gbar_Na12=250 insert ka gbar_ka=2 e...
by fabien tell
Fri Mar 25, 2016 6:08 am
Forum: Adding new mechanisms and functions to NEURON
Topic: recording the second derivative of an action potential
Replies: 13
Views: 12481

Re: recording the second derivative of an action potential

Hello, I've been trying to obtain the derivative of v at soma uisng the vectors but something is wrong since the terminal "tells" me that it is not possible to obtain a derivative with less than two points which is true. create soma soma { nseg=1 L=35 diam=15 Ra = 150.0 cm=1 insert pasnts ...
by fabien tell
Mon Mar 14, 2016 4:39 pm
Forum: Anatomically detailed models
Topic: setting non uniform conductances in a section
Replies: 6
Views: 9807

Re: setting non uniform conductances in a section

Thanks again Ted, I know that the colon is not a comment delimiter. It was just to highlight my question. Thank you for explaining to me the last point about the hoc code generated by the cell builder. I'll try it. And you're right (as usual), as a recorder player I didn’t learn everything from scra...
by fabien tell
Mon Mar 14, 2016 1:46 pm
Forum: Anatomically detailed models
Topic: setting non uniform conductances in a section
Replies: 6
Views: 9807

Re: setting non uniform conductances in a section

Hello Ted, You're right. I tried to specific non uniformity in several section in my hoc code but it does work only for the first one. For the second section I get a median conductance of 1500 !!! create dend1 create DSI dend1 : I don't have to write "access" do I ? {nseg=9 L=40 diam=2 Ra ...
by fabien tell
Mon Mar 14, 2016 11:14 am
Forum: Anatomically detailed models
Topic: setting non uniform conductances in a section
Replies: 6
Views: 9807

Re: setting non uniform conductances in a section

Hello again, By the time I posted the previous message I tried this and it seems to be working well : create DSI access DSI DSI { nseg=9 L=50 diam=1.5 Ra=150 cm=1 insert Na12 ena=60 } forsec "DSI" for (x,0) {gbar_Na12(x)=(950*x)} /* in fact "x" is is the "length" (the p...
by fabien tell
Mon Mar 14, 2016 9:06 am
Forum: Anatomically detailed models
Topic: setting non uniform conductances in a section
Replies: 6
Views: 9807

setting non uniform conductances in a section

Hello, I'm trying to set an non uniform conductance in a section. I read the "Specifying parameterized variation of biophysical properties" tutorial but I did not want to use the cell builder system. I need to put a statement in my hoc files. As suggested in the tutorial, I've tried the fo...
by fabien tell
Sat Mar 05, 2016 1:44 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: recording the second derivative of an action potential
Replies: 13
Views: 12481

Re: recording the second derivative of an action potential

Hello Ted,

Thanks. You mean that I can implement it in the hoc file that launches my simulation ?
I didn’t know we could use derivative functions here as in modl files.

Have a good day

Fabien
by fabien tell
Fri Mar 04, 2016 5:41 am
Forum: Adding new mechanisms and functions to NEURON
Topic: recording the second derivative of an action potential
Replies: 13
Views: 12481

recording the second derivative of an action potential

Hello, I'd like to record from the second derivative (y") of an action potential and make graphs : y''=f(t) and a phase plot y''= f(x') = f(i_cap). If I well understand y'' is the derivative of I-cap against t. Should I create a mod file that read i or i_cap and the derive it? Thanks a lot Fabien
by fabien tell
Mon Nov 03, 2014 4:37 am
Forum: UNIX/Linux
Topic: Neuron under ubuntu 14.04
Replies: 0
Views: 6621

Neuron under ubuntu 14.04

Hello, I 've installed NEURON under Ubuntu. It works well but I have to compile the mod files every time I launch an hoc for the first time. I mean that if I close the session by closing the terminal and then I re launch Neuron to open the same hoc file, I get the usual message that indicates that m...
by fabien tell
Thu Apr 10, 2014 11:14 am
Forum: Adding new mechanisms and functions to NEURON
Topic: units errors in mod files
Replies: 3
Views: 3848

Re: units errors in mod files

Thanks a lot ted.

You're so helpful !!!
Regards
by fabien tell
Thu Apr 10, 2014 9:44 am
Forum: Adding new mechanisms and functions to NEURON
Topic: units errors in mod files
Replies: 3
Views: 3848

units errors in mod files

Hello, I'm trying to model an NMDA synapse. The mod file works well with the expected results but when I checked for the units I got the following message : units : 0.001 sec units: 1 The units of the previous two expressions are not conformable at line 40 in file ./synnmda.mod g= gmax * alpha(t <<E...
by fabien tell
Thu Feb 20, 2014 3:30 am
Forum: Adding new mechanisms and functions to NEURON
Topic: measuring the total current seen at the soma through SEvclam
Replies: 5
Views: 5482

Re: measuring the total current seen at the soma through SEv

Hello Ted, Thanks for your prompt reply. I think I made a mistake. If now I plot the Seclamp[0].i which I understand means the current measured by the electrode (for the newbies like myself: on a Current graph : plot what ? show object: SECLAMP[0] : i), instead of plotting Ik (plot what? section: so...
by fabien tell
Wed Feb 19, 2014 1:27 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: measuring the total current seen at the soma through SEvclam
Replies: 5
Views: 5482

measuring the total current seen at the soma through SEvclam

Hello, I apologize if my question has already been answered, I did find a clear answer, at least for me. I build a simple neuron (a soma connected to 4 primary dendrites each connected to 2 secondary dendrites). I inserted in each compartment a pas, a sustained IKdr and a transient IKA. I try to rec...