covmats.ConstantPriorTerm#

class covmats.ConstantPriorTerm(prior_values: ndarray[tuple[Any, ...], dtype[float64]])[source]#

Represent a prior (no influence of beta).

__init__(prior_values: ndarray[tuple[Any, ...], dtype[float64]]) None[source]#

Initialize the instance.

Parameters:

prior_values (NDArrayFloat) – Values given to the prior term.

Properties

Methods

get_gradient_dot_product

Return the dot product of the gradient of the prior and the given input vector.

get_values

Return the values of the prior term.