pystra.dependence.correlation.absolute_integral_value#
- absolute_integral_value(rho0, *args)[source]#
Objective function for the Nataf correlation optimization.
Returns
|rho_target - rho_integral(rho0)|, which is minimized byscipy.optimize.fminto find the modified correlation coefficientrho0in standard normal space.- Parameters:
rho0 (
float|ndarray) – Trial correlation in standard normal space.*args (
Any) –(rho_target, margi, margj, Z1, Z2, X1, X2, WIP, detJ)— the target physical-space correlation and the pre-computed quadrature grid (seezi_and_xi()).
- Returns:
Absolute error between target and computed correlation.
- Return type:
float