pint.models.noise_model.ridge_kernel

pint.models.noise_model.ridge_kernel(nodes: ndarray, log10_sigma: float = -7) ndarray[source]

Ridge (diagonal) covariance matrix.

Parameters:
  • nodes (np.ndarray) – 1-D array of evaluation points in seconds. Only len(nodes) is used; the values themselves are ignored.

  • log10_sigma (float) – Log10 of the amplitude; the diagonal entries are \(\sigma^2 = 10^{2\,\texttt{log10\_sigma}}\).

Returns:

Diagonal covariance matrix of shape (len(nodes), len(nodes)).

Return type:

np.ndarray