spleaf.term.SHOKernel#

class spleaf.term.SHOKernel(sig, P0, Q, eps=1e-05)#

SHO Kernel.

This kernel follows the differential equation of a stochastically-driven harmonic oscillator (SHO). It merges the under-damped (\(Q>0.5\)) USHOKernel and the over-damped (\(Q<0.5\)) OSHOKernel. See Foreman-Mackey et al. 2017) for more details.

Parameters:
sigfloat

Amplitude (std).

P0float

Undamped period.

Qfloat

Quality factor.

epsfloat

Regularization parameter (1e-5 by default).

Methods

eval(dt[, series_id])

Evaluate the kernel at lag dt.

set_conditional_coef(*args, **kwargs)

Set the coefficients used for the conditional computations.