Search found 4 matches

by pjthomas
Tue Mar 26, 2013 5:31 pm
Forum: NEURON hacks
Topic: command line for "mod" or "rem"?
Replies: 3
Views: 7193

Re: command line for "mod" or "rem"?

Many thanks, Ted! Sorry I didn't know that one -- it doesn't appear under the general "math" entry
http://www.neuron.yale.edu/neuron/stati ... .html#math
by pjthomas
Mon Mar 25, 2013 9:10 pm
Forum: NEURON hacks
Topic: command line for "mod" or "rem"?
Replies: 3
Views: 7193

command line for "mod" or "rem"?

This post may win the "most pedestrian" award. I'd like to add a curve to a plot of the form f(mod(t,period)) and I don't see a command equivalent to "mod" (or "rem") in the programmer's reference. The following works as a substitute: atan2(sin(t*2*PI/period),cos(t*2*PI/period)) but that is a lot to...
by pjthomas
Fri Jun 05, 2009 11:18 am
Forum: Modeling networks
Topic: Modeling Cortex input as Poisson Process
Replies: 5
Views: 3781

Re: Modeling Cortex input as Poisson Process

Ted, dperakis: If you have N poisson processes each with mean firing rate alpha, and you aggregate all the events (i.e. spikes) into a single list, it will be as if you had a single poisson process with mean firing rate N*alpha. The Poisson process is unusual in this regard. Why not take advantage o...
by pjthomas
Fri Jun 05, 2009 11:04 am
Forum: Other questions
Topic: What does Netstim.interval do?
Replies: 5
Views: 3536

Re: What does Netstim.interval do?

Ted, when you refer to a "negative exponential distribution", are you actually referring to an exponential distribution? The Binomial and Negative Binomial distributions are two closely related discrete distributions. (see e.g. http://mathworld.wolfram.com/BinomialDistribution.html and http://mathwo...