Scipy interpolation on a numpy array
- by dassouki
I have a lookup table that is defined the following way:
TR_ua1 = np.array([ [3.6, 6.5, 9.1, 11.5, 13.8],
[3.9, 7.3, 10.0, 13.1, 15.9],
[4.5, 9.2, 12.2, 14.8, 18.2] ])
The header row elements are (hh) <1,2,3,4,5+
The header column (inc) elements are <10000, 20000, 20001+
The user will input a…