random number generator in mod files.

Particularly useful chunks of hoc and/or NMODL code. May be pedestrian or stunningly brilliant, may make you gasp or bring tears to your eyes, but always makes you think "I wish I had written that; I'm sure going to steal it."
Post Reply
Ark@deep
Posts: 3
Joined: Fri Sep 09, 2022 7:07 am

random number generator in mod files.

Post by Ark@deep »

I have some equations in which one of the variable takes a random value from a gaussian distribution of known mean and variance whenever there is a netcon event. how do I incorporate this random number generator in the mod files?
Post Reply