tick.hawkes.HawkesKernelTimeFunc

class tick.hawkes.HawkesKernelTimeFunc(time_function=None, t_values=None, y_values=None)[source]

Hawkes kernel defined by an arbitrary time function.

Parameters:

time_function : tick.base.TimeFunc

Time function defining the kernel.

t_values : np.ndarray shape=(n_points,)

time array used to build the time function. Might be given together with y_values instead of time_function.

y_values : np.ndarray shape=(n_points,)

values array used to build the time function. Might be given together with t_values instead of time_function.

Examples using tick.hawkes.HawkesKernelTimeFunc