Go to the source code of this file.
|
| | test.XiYi = np.random.rand(6, 2) |
| | test.dX = np.max(XiYi[:,0])-np.min(XiYi[:,0]) |
| | test.extrapolation = pyMoDELib.ExtrapolationMethod(2,1.1*dX) |
| | test.lagrangeInterp = pyMoDELib.LagrangeInterpolant(XiYi,extrapolation) |
| | test.linearInterp = pyMoDELib.LinearInterpolant(XiYi,extrapolation) |
| | test.X = np.linspace(np.min(XiYi[:,0])-2, np.max(XiYi[:,0])+2, num=10000, endpoint=True) |
| | test.Y1 = np.zeros(len(X)) |
| | test.Y2 = np.zeros(len(X)) |
| | test.fig1 = plt.figure() |
| | test.ax1 = plt.subplot(1,1,1) |
| | test.label |
| | test.linestyle |