def getUArray(npArr):
ufloats = []<EOL>for dp in npArr:<EOL><INDENT>u = ufloat(dp[<NUM_LIT:1>], abs(dp[<NUM_LIT:3>]), '<STR_LIT>')<EOL>v = ufloat(dp[<NUM_LIT:1>], abs(dp[<NUM_LIT:4>]), '<STR_LIT>')<EOL>r = (u+v)/<NUM_LIT>*dp[<NUM_LIT:2>]*<NUM_LIT><EOL>ufloats.append(r)<EOL><DEDENT>return np.array(ufloats)<EOL>
uncertainty array multiplied by binwidth (col2 = dx)