skretrieval.retrieval.prior.ManualPrior

skretrieval.retrieval.prior.ManualPrior#

class skretrieval.retrieval.prior.ManualPrior(state: array, inverse_covariance: array)[source]#

Bases: BasePrior

A prior that is manually specified, both the prior state and it’s covariance

Parameters:
  • state (np.array)

  • inverse_covariance (np.array)

__init__(state: array, inverse_covariance: array)[source]#

A prior that is manually specified, both the prior state and it’s covariance

Parameters:
  • state (np.array)

  • inverse_covariance (np.array)

Methods

__init__(state, inverse_covariance)

A prior that is manually specified, both the prior state and it's covariance

init(sv[, sv_slice])

Attributes

inverse_covariance

The inverse covariance of the prior state.

precision_factor

Return R such that R.T @ R is the prior precision.

state

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 state#

The prior state $x_a$ of size (n,)