slv.inversion.mdm.get_modeldata_mismatch#
- slv.inversion.mdm.get_modeldata_mismatch(config, obs, *, prior, jacobian, constant, obs_sites)[source]#
Model-data mismatch covariance: the sum of
config.mdm_components, on the obs.Each component is built by
build_mdm_error()over the obs index, with site-keyed terms resolved throughobs_sites(TRAX receptors belong to their mobile site). Amultiplicativecomponent’s std isfractiontimes the per-obs enhancement scale (multiplicative_scale(),scale_on); aper_obscomponent’s isfractiontimes a per-obs std (e.g. the within-hour std forsubhour,per_obs_std()).- Parameters:
config (InversionConfig) – The inversion.
obs (pd.Series) – The obs the problem has, indexed by
(obs_location, obs_time).prior (
Series) – The run’s prior, flux Jacobian and background, for the multiplicative terms.jacobian (
Operator) – The run’s prior, flux Jacobian and background, for the multiplicative terms.constant (
Series) – The run’s prior, flux Jacobian and background, for the multiplicative terms.obs_sites (pd.Index) – The site of each obs (
obs_sites()).
- Returns:
S_z on the obs’ labels, as the one block
concentration.- Return type:
Covariance