Search found 12 matches

by Nefeli
Fri Aug 28, 2009 6:53 am
Forum: Adding new mechanisms and functions to NEURON
Topic: How NEURON calculates membrane potential of one compartment
Replies: 3
Views: 3407

Re: How NEURON calculates membrane potential of one compartment

Many thanks for the response. I do undestand that the "membrane potential" v is therefore simply the product R*i. for small cm but why is R=-(diam*L*PI/100) ? Regarding the comment about the synapse, ww here is not the weight of the most recent input but rather the equivalent of g_syn. Sin...
by Nefeli
Wed Aug 26, 2009 9:57 am
Forum: Adding new mechanisms and functions to NEURON
Topic: How NEURON calculates membrane potential of one compartment
Replies: 3
Views: 3407

How NEURON calculates membrane potential of one compartment

Hi, I'm trying to figure out exaclty which equation NEURON is solving to calculate the membrane potential of a single compartment model (only soma). The reason for that is that I have created a dummy passive cell soma { diam=10 L=10 Ra=1 cm=1 insert dummy insert pas g_pas=1 e_pas=0} which receives i...
by Nefeli
Mon Aug 17, 2009 1:16 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Mod file compiles in v6.2 but doesn't in v7.0
Replies: 5
Views: 3993

Re: Mod file compiles in v6.2 but doesn't in v7.0

Many thanks for that, with the new definition of minf there is no problem with the compiling anymore.

Also thanks for the clarification regarding the METHODS.
by Nefeli
Wed Aug 12, 2009 12:38 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Mod file compiles in v6.2 but doesn't in v7.0
Replies: 5
Views: 3993

Re: Mod file compiles in v6.2 but doesn't in v7.0

Many thanks for the suggestions for optimising the code.

I'm afraid the segmentation fault comes out also with the alpha version.

May I ask what is "vi" that you used to succesfully compile it?
by Nefeli
Fri Aug 07, 2009 10:29 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Mod file compiles in v6.2 but doesn't in v7.0
Replies: 5
Views: 3993

Mod file compiles in v6.2 but doesn't in v7.0

Hi, I've noticed that the following mod file does not compile in v7.0 although it used to compile and run perfeclty fine in v6.2. The only thing that seems to fix the problem is when any one of the non-constant terms of the following ODE in the DERIVATIVES block is deleted V' = ( -gL*(V-VL) - gNa*mi...
by Nefeli
Thu Oct 04, 2007 8:18 am
Forum: MSWin
Topic: Version 6.0 installation/ hoc do not run
Replies: 1
Views: 3631

Ok the problem was that I installed the new vesrion and then unistalled the old one. When I do that in reverse order it works just fine.
by Nefeli
Thu Oct 04, 2007 6:56 am
Forum: MSWin
Topic: Version 6.0 installation/ hoc do not run
Replies: 1
Views: 3631

Version 6.0 installation/ hoc do not run

Hello, I removed the version 5.8 and installed 6.0. I compiled all the mod files but I can not open the hoc files. When I try to choose a program to open a hoc file, none of the following works C:\nrn60\bin\nrniv.exe C:\nrn60\bin\neuron.exe (actually I can not even choose this one) I have windows XP...
by Nefeli
Tue Aug 14, 2007 10:50 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Gap junction between artificial cells, problem with fadvance
Replies: 10
Views: 7672

Thank you very much for your help!

It seems I didn't set up the pointer in the hoc file for all N instances of the artificial neuron.
by Nefeli
Sun Jul 29, 2007 1:34 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Gap junction between artificial cells, problem with fadvance
Replies: 10
Views: 7672

I get the same error with cnexp
by Nefeli
Sun Jul 29, 2007 12:37 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: Gap junction between artificial cells, problem with fadvance
Replies: 10
Views: 7672

I just added Vgap in V' for testing purposes, I'm planning to use something like V'=....+g_gap(V-Vgap) Iexc, Inh ang Igap were ment to be Iexc=we*ge, Iinh=wi*gi and Igap=g_gap(V-Vgap), so that I can plot or store them. I used runge method since I was using the same in XPP and wanted to compare teh t...
by Nefeli
Sun Jul 29, 2007 8:42 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Gap junction between artificial cells, problem with fadvance
Replies: 10
Views: 7672

I get the following error message:

nrniv: Segmentation violation
in C:/Users/Margarita/Desktop/CoupledOsci/RUNSIM.hoc near line 50
^
fadvance( )
integrate( )


when for example I include Vgap in the ode
V' = -V/tau + epse*we*ge + epsi*wi*gi + I +Vgap
by Nefeli
Fri Jul 27, 2007 11:16 am
Forum: Adding new mechanisms and functions to NEURON
Topic: Gap junction between artificial cells, problem with fadvance
Replies: 10
Views: 7672

Gap junction between artificial cells, problem with fadvance

Hello, I have used pointer to connect instances of my artificial cells with gaps with setpointer ICOcells .ICO.Vgap, ICOcells[i+1].ICO.V and included POINTER Vgap in the mod file. The problem is that although I can plot ICOcells .ICO.Vgap at the hoc level, I can not use the variable Vgap within the ...