spynnaker8.utilities.random_stats package

Submodules

spynnaker8.utilities.random_stats.random_stats_binomial_impl module

class spynnaker8.utilities.random_stats.random_stats_binomial_impl.RandomStatsBinomialImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for binomial distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_exponential_impl module

class spynnaker8.utilities.random_stats.random_stats_exponential_impl.RandomStatsExponentialImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for exponential distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_gamma_impl module

class spynnaker8.utilities.random_stats.random_stats_gamma_impl.RandomStatsGammaImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for gamma distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_log_normal_impl module

class spynnaker8.utilities.random_stats.random_stats_log_normal_impl.RandomStatsLogNormalImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for log normal distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the variance of the distribution

low(dist)[source]

Return the variance of the distribution

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_normal_clipped_impl module

class spynnaker8.utilities.random_stats.random_stats_normal_clipped_impl.RandomStatsNormalClippedImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for normal distributions that are clipped to a boundary (redrawn)

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_normal_impl module

class spynnaker8.utilities.random_stats.random_stats_normal_impl.RandomStatsNormalImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for normal distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_poisson_impl module

class spynnaker8.utilities.random_stats.random_stats_poisson_impl.RandomStatsPoissonImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for poisson distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_randint_impl module

class spynnaker8.utilities.random_stats.random_stats_randint_impl.RandomStatsRandIntImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for uniform distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_scipy_impl module

class spynnaker8.utilities.random_stats.random_stats_scipy_impl.RandomStatsScipyImpl(distribution_type)[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

A Random Statistics object that uses scipy directly

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_uniform_impl module

class spynnaker8.utilities.random_stats.random_stats_uniform_impl.RandomStatsUniformImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for uniform distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

spynnaker8.utilities.random_stats.random_stats_vonmises_impl module

class spynnaker8.utilities.random_stats.random_stats_vonmises_impl.RandomStatsVonmisesImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for vonmises distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

Module contents

class spynnaker8.utilities.random_stats.RandomStatsBinomialImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for binomial distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsExponentialImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for exponential distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsGammaImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for gamma distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsLogNormalImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for log normal distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the variance of the distribution

low(dist)[source]

Return the variance of the distribution

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsNormalClippedImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for normal distributions that are clipped to a boundary (redrawn)

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsNormalImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for normal distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsPoissonImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for poisson distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsRandIntImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for uniform distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsScipyImpl(distribution_type)[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

A Random Statistics object that uses scipy directly

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsUniformImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for uniform distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution

class spynnaker8.utilities.random_stats.RandomStatsVonmisesImpl[source]

Bases: spynnaker.pyNN.utilities.random_stats.abstract_random_stats.AbstractRandomStats

An implementation of AbstractRandomStats for vonmises distributions

cdf(dist, v)[source]

Return the cumulative distribution function value for the value v

high(dist)[source]

Return the high cutoff value of the distribution, or None if the distribution is unbounded

low(dist)[source]

Return the low cutoff value of the distribution, or None if the distribution is unbounded

mean(dist)[source]

Return the mean of the distribution

ppf(dist, p)[source]

Return the percent point function value for the probability p

std(dist)[source]

Return the standard deviation of the distribution

var(dist)[source]

Return the variance of the distribution