ertkit.ves.SmoothFit#

class ertkit.ves.SmoothFit(*, predicted, residuals, chi2, chi2_target, n_data, converged, stop_reason, n_iterations, model, mu, sensitivity, doi_index, doi)#

Result of a smooth (Occam) inversion.

Attributes:
modelLayeredModel

The smooth model.

mufloat

Final regularization weight \(\mu\).

sensitivityndarray

Error-weighted sensitivity of the data to each layer, \(\lVert J_{:,j} / s \rVert\), with \(J\) the Jacobian of \(\ln \rho_a\) with respect to \(\ln \rho_j\). It is per layer, not per meter; since the layers thicken with depth, it is roughly a sensitivity per unit of logarithmic depth.

doi_indexndarray

Magnitude of the rescaled Oldenburg and Li index of each layer: near 0 where the data control the model, near 1 where they do not. nan if the depth of investigation was not computed or could not be determined.

doifloat

Depth of investigation in meters: the top of the unresolved zone that reaches the bottom of the model (rescaled index at least DOI_THRESHOLD, bridging resolved gaps narrower than a factor of 2 in depth). Below it the model reflects the regularization. Some shallower layers can also be unresolved (for example inside a thin resistive layer whose thickness and resistivity are equivalent); plots shade them too. 0.0 if no layer is resolved, nan if not computed or not determined.

See also

ertkit.InversionResult

The attributes common to all results.

property chi2_ratio#

\(\chi^2\) divided by its target; about 1 for a fit to the noise level.

summary()#

Readable summary of the fit and the model.

Uncertainty factors are written x/ f: the value multiplied or divided by f.