Extrapolation
import numpy as np
import matplotlib.pyplot as plt
from scipy import interpolate
x = np.arange(0,10)
y = np.exp(-x/3.0)
f = interpolate.interp1d(x, y, fill_value='extrapolate')
for t in range(10):
print(x[t],y[t])
print(11,f(11))
print(30,f(30))