smpl.stat
Simplified statistics.
|
Return mean of |
|
Return |
|
Add noise to |
|
Return normalized |
|
Return mean of |
|
Return |
|
Return the nominal values of the numbers in NumPy array arr. |
|
Returns a function which applies |
|
Return the standard deviations of the numbers in NumPy array arr. |
Functions
- smpl.stat.unv(arr)
Return the nominal values of the numbers in NumPy array arr.
Elements that are not numbers with uncertainties (derived from a class from this module) are passed through untouched (because a numpy.array can contain numbers with uncertainties and pure floats simultaneously).
If arr is of type unumpy.matrix, the returned array is a numpy.matrix, because the resulting matrix does not contain numbers with uncertainties.
- smpl.stat.usd(arr)
Return the standard deviations of the numbers in NumPy array arr.
Elements that are not numbers with uncertainties (derived from a class from this module) are passed through untouched (because a numpy.array can contain numbers with uncertainties and pure floats simultaneously).
If arr is of type unumpy.matrix, the returned array is a numpy.matrix, because the resulting matrix does not contain numbers with uncertainties.