environmentaltools.spatiotemporal.bme.integrate_moment_vector
- environmentaltools.spatiotemporal.bme.integrate_moment_vector(ms, vs, ks, As, Bs, p, maxpts, zp)[source]
Compute moment integrals using the trapezoidal rule.
Performs numerical integration for BME moment calculations over soft data probability intervals.
- Parameters:
ms (np.ndarray) – Mean values of soft data.
vs (np.ndarray) – Variance values of soft data.
ks (np.ndarray) – Covariance matrix for soft data.
As (np.ndarray) – Coefficient matrix for moment calculation.
Bs (np.ndarray) – Constant terms for moment calculation.
p (np.ndarray) – Powers for moment orders [power1, power2].
maxpts (int) – Maximum number of integration intervals.
zp (np.ndarray) – Percentile bounds for integration intervals.
- Returns:
Array containing integrated moment values.
- Return type:
np.ndarray
Notes
Uses trapezoidal integration combined with multivariate normal distributions to evaluate moments of the posterior distribution.