To calculate the standard error of a single measurement and the standard error of the result of a series of measurements, you can use the stdev
function from the statistics
module in Python.
main.py389 chars13 lines
To calculate the confidence interval of measurements, you can use the t.interval
function from the scipy.stats
module in Python.
main.py226 chars7 lines
To calculate the relative error, you can use the formula (measured value - true value) / true value
.
main.py121 chars6 lines
gistlibby LogSnag