mescla.uncertainty.propagation.delta_method¶
- mescla.uncertainty.propagation.delta_method(function, values, sigma, step=1e-06)[source]¶
First-order propagation through an arbitrary function, by finite differences.
The general case of
genereux_sigma(), for when the mixing model has no closed form – more than three end-members, or weights that depend on the data. Assumes independent inputs and local linearity: with strongly nonlinear or constraint-active problems, prefermescla.uncertainty.montecarlo.monte_carlo_ratios(), which respects the simplex constraints exactly.