skretrieval.retrieval.prior.VerticalTikhonov#
- class skretrieval.retrieval.prior.VerticalTikhonov(order: int, prior_state: array = None, tikhonov: array = None)[source]#
Bases:
VerticalPriorA prior that is constructed as a Tikhonov constraint.
- Parameters:
order (int) – Order of the Tikhonov constraint, only 1 and 2 are supported
prior_state (np.array, optional) – Prior state. If set to None a zero prior is used, by default None
tikhonov (np.array, optional) – Array of factors to multiply the constraint by, by default None
- __init__(order: int, prior_state: array = None, tikhonov: array = None)[source]#
A prior that is constructed as a Tikhonov constraint.
- Parameters:
order (int) – Order of the Tikhonov constraint, only 1 and 2 are supported
prior_state (np.array, optional) – Prior state. If set to None a zero prior is used, by default None
tikhonov (np.array, optional) – Array of factors to multiply the constraint by, by default None
Methods
__init__(order[, prior_state, tikhonov])A prior that is constructed as a Tikhonov constraint.
init(sv[, sv_slice])Attributes
The inverse covariance of the prior state.
Return
Rsuch thatR.T @ Ris the prior precision.The prior state $x_a$ of size (n,)
- property inverse_covariance#
The inverse covariance of the prior state.
The returned matrix has shape
(n, n).
- property precision_factor#
Return
Rsuch thatR.T @ Ris the prior precision.Structured priors override this to retain their sparse residual form. The fallback is intended for small or dense custom priors.
- property state#
The prior state $x_a$ of size (n,)