In the example below, we use the numpy Chebyshev polynomial class method Chebyshev.fit to fit an N = 8  degree  (9 term) Chebyshev polynomial  to the calibration data (in the manner of Eq. \ref{eq:Chebyshev} ). For further details on Chebyshev.fit method, see the Numpy reference manual entry