Hi everyone, I am trying to compute Sobol’ indices for a functional output (f(R^i) -> R^j). Due to some boundary conditions in my code, some value of the output vector are constants. At these points, I get a TypeError. This is normal because of the variance being equal to 0.
Using getFirstOrderIndices, I can call it iteratively and avoid the null variance points. But with getAggregatedFirstOrderIndices, it does not take an index so it will fail for the whole vector. In both cases, it could be handy to return a NAN, 0 or something else if it detects null variance instead of returning an error. Thanks for the support. Sincerely, Pamphile ROY PhD candidate in Uncertainty Quantification CERFACS—Toulouse (31)—France +33 (0) 5 61 19 31 57 +33 (0) 7 86 43 24 22
_______________________________________________ OpenTURNS users mailing list [email protected] http://openturns.org/mailman/listinfo/users
