Search found 86 matches
- Wed Aug 05, 2009 5:55 pm
- Forum: Getting started
- Topic: tstop is undefined
- Replies: 1
- Views: 1473
tstop is undefined
So the 4th line of code in my model is: tstop = 100 And I would have thought, even if I didn't explicitely state what tstop was, it would have the defulat value of 5. Yet when I tried begintemplate SE_NetStim public pp objref pp proc init() { pp = new NetStim() pp.interval = $1 pp.number = $1*tstop*...
- Wed Aug 05, 2009 5:27 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Odd error with analytical solution
- Replies: 3
- Views: 2987
Re: Odd error with analytical solution
Thanks Ted, worked perfectly. The whole 'arguments that aren't really arguements' thing with the NET_RECEIVE block confused me.
- Wed Aug 05, 2009 1:09 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Odd error with analytical solution
- Replies: 3
- Views: 2987
Odd error with analytical solution
Hi, A while ago I had a model of a depressing synapse that ran slowly because I had numerous differential equations. I've converted them to an analytical solution. It runs quickly, but I get the following error if I try to run it twice in a row, without quiting NEURON exp(5645.55) out of range, retu...
- Sat Jul 11, 2009 12:36 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: New mod seems to run unreasonably slowly
- Replies: 1
- Views: 2055
New mod seems to run unreasonably slowly
Hi, The model of a synaptic depression I wrote means that my network model takes 105s to run (instead of 45s using the in-built ExpSyn). I appreciate that I'm asking NEURON to solve 4 exponential equations rather than just 1 for each synaptic mechanism; but if that was the sole cause of the increase...
- Fri Jul 10, 2009 6:59 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Sum of three exponential
- Replies: 3
- Views: 2860
Re: Sum of three exponential
Either way, I came up with an acceptable model of synaptic depression. I'm sure it isn't as good as the other ones that are available in modelDB, but the difference is, I understand it. I'm just posting it up here because I thought someone else might find it useful NEURON { POINT_PROCESS expi NONSPE...
- Fri Jul 10, 2009 12:46 am
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Sum of three exponential
- Replies: 3
- Views: 2860
Re: Sum of three exponential
So I have two versions of a mod file that it my mind should produce identical results, but the first one works (the current decays back to zero) and the second one doesn't. Are you able to explain to me why not? NEURON { POINT_PROCESS expi NONSPECIFIC_CURRENT i RANGE i, e, g, gbar, kA, kB, kC } PARA...
- Wed Jul 08, 2009 3:59 pm
- Forum: Adding new mechanisms and functions to NEURON
- Topic: Sum of three exponential
- Replies: 3
- Views: 2860
Sum of three exponential
Hi, I'm trying to figure out the differential equations that explain the recovery of a process. If the recovery from an inactive state to an active state is explained by the sum of three exponentials (with each time constant being an order of magnitude difference from the last), am I best to think o...
- Tue Jul 07, 2009 5:39 am
- Forum: Getting started
- Topic: How to return an objref for a point process in a new class
- Replies: 1
- Views: 1812
How to return an objref for a point process in a new class
Because I need to create synapses of the fly, I have tried making a synapse class. In order to return the reference to the synapse point process, I have made a seperate function in the synapse class that returns it: begintemplate cell public soma, connect2target.... proc init() { ... } obfunc connec...
- Mon Jul 06, 2009 3:52 pm
- Forum: Getting started
- Topic: Running the simulation several times automatically
- Replies: 2
- Views: 1969
Re: Running the simulation several times automatically
...sigh...
Thanks Ted.
Thanks Ted.
- Sun Jul 05, 2009 10:54 pm
- Forum: Getting started
- Topic: Running the simulation several times automatically
- Replies: 2
- Views: 1969
Running the simulation several times automatically
I was hoping to be able to get the simulation to run several times but doing thing runtimes=20 xpanel("Run Control") xvalue("Simulation Repititions", "runtimes") xbutton("Run", "gorun()") xpanel() proc gorun() { for n=0, runtimes-1 { run() } } proc r...
- Sun Jul 05, 2009 4:28 pm
- Forum: Modeling networks
- Topic: Measurements of Synchrony?
- Replies: 4
- Views: 4800
Re: Measurements of Synchrony?
Actually I found the problem. Its the fact that dt was getting reset by neuron halfway through the script, so arrays were different lengths.
- Sun Jul 05, 2009 4:38 am
- Forum: Modeling networks
- Topic: Measurements of Synchrony?
- Replies: 4
- Views: 4800
Re: Measurements of Synchrony?
Currently I'm trying to work on measure proposed by Dr. David Golomb http://www.scholarpedia.org/article/Synchrony_measures#Measure_of_synchrony_in_large_neuronal_networks However it doesn't seem to be working. Assuming I've got a vector storing the average membrane potential of the cells in the net...
- Fri Jul 03, 2009 3:24 am
- Forum: Getting started
- Topic: General questions on initializing
- Replies: 1
- Views: 1861
General questions on initializing
Firstly, this counts as abandoning the standard run system, doesn't it, and hence is a bad idea, right? So what should I do instead? That is to say, is it really more efficient to record the voltage trajectories of 200 cells, and then step back through them (and what would be the best way to do this...
- Fri Jul 03, 2009 1:06 am
- Forum: Modeling networks
- Topic: Measurements of Synchrony?
- Replies: 4
- Views: 4800
Measurements of Synchrony?
Hi, So with Teds help, I've got a lovely interneuron network making 40Hz oscillations. Now I'm planning on doing cruel things to it, and seeing what that does to the quality of the oscillations. I'm only used to the slice arena, where you'd use a spike triggered averaged from cell 1 to cell 2 to mea...
- Tue Jun 30, 2009 3:48 pm
- Forum: Getting started
- Topic: object orientated gap juction
- Replies: 9
- Views: 4831
Re: object orientated gap juction
Hmmm... I recompilled nrnmech.dll and it still didn't work. Then I deleted nrnmech.dll and recompiled and it worked. Very strange. Thanks for all your help anyway.