Search found 49 matches

by fabien tell
Sun Mar 07, 2021 12:49 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: netstim and randomness
Replies: 1
Views: 6814

netstim and randomness

Hello, I'm using netstim and netcon to trigger an EXp2Syn : n_syn=5 //5 synapses objref syn[n_syn] // the synapses are located on a dendrite called den for i=0,n_syn-1{ dend{syn[i]=new Exp2Syn(0.5) syn[i].tau1=0.1 syn[i].tau2=2 syn[i].e=0} } // I create 5 netstim objref netstim[n_syn] for i=0,n_syn-...
by fabien tell
Mon Feb 22, 2021 1:04 pm
Forum: Adding new mechanisms and functions to NEURON
Topic: How to find EXp2Syn
Replies: 2
Views: 6906

Re: How to find EXp2Syn

Thanks a lot Ted.

  #2 was fine for me.

Regards
Fabien
by fabien tell
Sun Feb 21, 2021 7:58 am
Forum: Adding new mechanisms and functions to NEURON
Topic: How to find EXp2Syn
Replies: 2
Views: 6906

How to find EXp2Syn

Hello,
I'd like to find where is located this file Exp2syn on Linux but I couldn't find it.

Thanks

Fabien
by fabien tell
Fri Dec 20, 2019 9:41 am
Forum: Anatomically detailed models
Topic: altering length and diameter over a subset
Replies: 1
Views: 7173

altering length and diameter over a subset

Hello, Just a short question: is it possible to change section length or diameter for all the sections in a subset as a whole? I would expect to write : if I have a subset called all_dendrite for i=1, 8 { forsec all_dendrite {L=L/i} forsec all { nseg = int((L/(0.1*lambda_f(100))+.999)/2)*2 + 1 } // ...
by fabien tell
Mon Nov 18, 2019 7:22 am
Forum: Anatomically detailed models
Topic: measurments of area by section
Replies: 2
Views: 7743

Re: measurments of area by section

Dear TED,

Thanks a lot for your prompt answer.

Regards

Fabien
by fabien tell
Fri Nov 15, 2019 8:55 am
Forum: Anatomically detailed models
Topic: measurments of area by section
Replies: 2
Views: 7743

measurments of area by section

Hello, I'm trying to obtain the surface of the different compartments. I understood that to obtain it for a section I should write totalarea_soma = 0 soma for (x,0) totalarea_soma += area(x) # take into account the number of nseg or for the all neuron totalarea_neuron = 0 all for (x,0) totalarea_neu...
by fabien tell
Tue Aug 28, 2018 11:44 am
Forum: Anatomically detailed models
Topic: how to calculate section area
Replies: 5
Views: 11103

Re: how to calculate section area [SOLVED]

Thanks a lot
by fabien tell
Tue Aug 28, 2018 10:51 am
Forum: Anatomically detailed models
Topic: how to calculate section area
Replies: 5
Views: 11103

Re: how to calculate section area

Hello again, I have a soma : L= 31 diam = 10 So according to I learned at school, the surface of a cylinder S= PI*diam*L (if we neglect the disk surfaces). With neuron I got : oc>soma {print L} 31 oc>soma {print diam} 10 oc>soma {print area(0.5)} 324.63124 By hand I got 3.14*10*31 = 31.4*31= 973.4 W...
by fabien tell
Mon Aug 27, 2018 11:25 am
Forum: Anatomically detailed models
Topic: how to calculate section area
Replies: 5
Views: 11103

Re: how to calculate section area

Hello Ted,

Actually you're right; it works as it should. I mixed up with section names. Sorry for bothering....

Acting fast is sometimes the enemy of thinking !!!!

Thanks a lot
by fabien tell
Mon Aug 27, 2018 5:29 am
Forum: Anatomically detailed models
Topic: how to calculate section area
Replies: 5
Views: 11103

how to calculate section area

Hello, I'd like to calculate areas of different sections. I've read the documentation and searched through the forum but it remains unclear to me. How do I use the the area () command ? I loaded a hoc file with full morphology then I tried this : soma { surface= area(0.5) print surface } axon { surf...
by fabien tell
Thu Aug 09, 2018 4:33 am
Forum: UNIX/Linux
Topic: upgrade problem in Ubuntu [SOLVED]
Replies: 3
Views: 10367

Re: upgrade problem in Ubuntu [SOLVED]

Hello,

I found the solution by reading this excellent forum :

viewtopic.php?f=6&t=2636

It does work on ubuntu 18.0

Thanks again

Fabien
by fabien tell
Wed Aug 08, 2018 10:27 am
Forum: UNIX/Linux
Topic: upgrade problem in Ubuntu [SOLVED]
Replies: 3
Views: 10367

Re: upgrade problem in Ubuntu

Hello Ted, Hope you're well. I used the deb file: nrn-7.5x86_64.deb. I did not get an error at this stage. It happens with any version (or flavour) of Ubuntu . If I try to install an old version (7.4 or before) I got an error on Ubuntu 18 (missing dependencies) but it works on previous release of Ub...
by fabien tell
Wed Aug 08, 2018 5:34 am
Forum: UNIX/Linux
Topic: upgrade problem in Ubuntu [SOLVED]
Replies: 3
Views: 10367

upgrade problem in Ubuntu [SOLVED]

Hello, I tried to upgrade Neuron from 7.4 to the newest version under Ubuntu (14.10 or 18.10). The program installs without problem bu not my old programs don't work anymore I got error mistake when launching them : 64-linux_gnu_ld :cannot find -lncurses and so the libnrnlech.la file failed Did some...
by fabien tell
Fri May 04, 2018 11:21 am
Forum: Adding new mechanisms and functions to NEURON
Topic: firing frequency
Replies: 3
Views: 3449

Re: firing frequency

Hello Ted, Thanks a lot. I'll try on monday. I should expect to get 7 time intervals on the screen, right ? Then if I need to send them into a file, I should proceed in the same way (using the right command of course). To get the average ISI,I only need to sum all the values and divide them by nbspi...
by fabien tell
Fri May 04, 2018 8:07 am
Forum: Adding new mechanisms and functions to NEURON
Topic: firing frequency
Replies: 3
Views: 3449

firing frequency

Hello Ted, I know that this topic has already been addressed in the forum but despite many trials I couldn’t make it to work properly. So I have to "abdicate". I wrote the code thereafter. I got the correct number of spikes but I did not understant how to extract the timing from the netcon...