-
Notifications
You must be signed in to change notification settings - Fork 6
Python bindings
Albert Yiamakis edited this page Jan 21, 2016
·
1 revision
Example using the python bindings in a notebook:
import kernels
import numpy as np
from matplotlib import pyplot as plt
%matplotlib inline
ct = kernels.CoulaloglouTavlaridesImp(0.00487, 0.008, 0.0, 0.047)
rho_d = 5
epsilon = 3
X = np.linspace(0,10)
Y = [ct.S(x, rho_d, epsilon) for x in X]
plt.plot(X,Y)