smpl.data.unv¶
- smpl.data.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.