SAMPLE_TEAM.Soccer.utility
Module provides some utilities which can run with same result and same synatx both in Micropython of OpenMV and in standard CPython
Module Contents
Functions
|
helper function for working with random bit sequence |
|
getting a random number from 0 to 1 |
|
#getting a random number from Gaussian distribution |
|
# calculates the probability of x for 1-dim Gaussian with mean mu and var. sigma |
Attributes
- SAMPLE_TEAM.Soccer.utility.used_with_OpenMV = True[исходный код]
- SAMPLE_TEAM.Soccer.utility.randrange(start, stop=None)[исходный код]
helper function for working with random bit sequence
- SAMPLE_TEAM.Soccer.utility.random()[исходный код]
getting a random number from 0 to 1
- SAMPLE_TEAM.Soccer.utility.gauss(mu, sigma)[исходный код]
#getting a random number from Gaussian distribution
- SAMPLE_TEAM.Soccer.utility.gaussian(x, sigma)[исходный код]
# calculates the probability of x for 1-dim Gaussian with mean mu and var. sigma