ana5Utils.DFAPathGeneration.weightedAvgAndStd

weightedAvgAndStd(values, weights)[source]

Return the weighted average and standard deviation.

values, weights – Numpy ndarrays with the same shape.