What is the argument to set_seed() ?

Anything that doesn't fit elsewhere.
Post Reply
Feanor
Posts: 26
Joined: Fri Nov 28, 2014 3:03 pm

What is the argument to set_seed() ?

Post by Feanor »

Hello to all,

what is the argument to the function set_seed() used in pregen.mod, for example? Does it need to be an integer (I don't know about random number generators)? It works with passing a floating point number to it, but is it maybe truncated?

Best regards
ted
Site Admin
Posts: 6289
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: What is the argument to set_seed() ?

Post by ted »

If set_seed() is defined by user-written code, then the user-written code should provide some clue.
If set_seed() is the set_seed() that is built into NEURON, the argument should be an integer.
Be sure to verify this for yourself by running some tests.
Post Reply