Random module¶
- nest.random.hl_api_random.exponential(beta=1.0)¶
Draws samples from an exponential distribution.
- nest.random.hl_api_random.lognormal(mean=0.0, std=1.0)¶
Draws samples from a log-normal distribution.
- nest.random.hl_api_random.normal(mean=0.0, std=1.0)¶
Draws samples from a normal distribution.
- nest.random.hl_api_random.uniform(min=0.0, max=1.0)¶
Draws samples from a uniform distribution.
Samples are distributed uniformly in [min, max) (includes min, but excludes max).
Note
See this documentation for details on the effect of time discretization on delays drawn from a uniform distribution.
- nest.random.hl_api_random.uniform_int(max)¶
Draws integer samples from a uniform distribution.
Samples are distributed uniformly in [0, max) (includes 0, but excludes max).
- Parameters:
max (integer) – Upper boundary of the sample interval.
- Returns:
Object yielding values drawn from the distribution.
- Return type: