pystra.correlation.absoluteIntegralValue#
- absoluteIntegralValue(rho0, *args)[source]#
Objective function for the Nataf correlation optimisation.
Returns
|rho_target - rho_integral(rho0)|, which is minimised byscipy.optimize.fminto find the modified correlation coefficientrho0in standard-normal space.- Parameters:
rho0 (float) – Trial correlation in standard-normal space.
*args (tuple) –
(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