Chapter 8 : Instrument Calibration

Example - 8.1 : Page No - 8.4

In [4]:
from __future__ import division
from math import sqrt
#Given data
cor= -0.5 #correction
Sr= 50 # scale reading
Fs= 200 # full scale
# When the reading is 50
Error= cor/Sr*100 # % of reading
print "Error = %0.f %% of reading" %Error
Error= cor/Fs*100 # % of full scale
print "Error = %0.2f %% of full scale" %Error
Error = -1 % of reading
Error = -0.25 % of full scale