Create a Gauss product designΒΆ

In this example we are going to create a deterministic weighted design experiment using Gauss product.

[9]:
from __future__ import print_function
import openturns as ot
[10]:
# Define the underlying distribution, degrees
distribution = ot.ComposedDistribution([ot.Exponential(), ot.Triangular(-1.0, -0.5, 1.0)])
marginalDegrees = [15, 8]
[11]:
# Create the design
experiment = ot.GaussProductExperiment(distribution, marginalDegrees)
sample = experiment.generate()
[12]:
# Plot the design
graph = ot.Graph("GP design", "x1", "x2", True, "")
cloud = ot.Cloud(sample, "blue", "fsquare", "")
graph.add(cloud)
graph
[12]:
../../_images/examples_reliability_sensitivity_gauss_product_experiment_5_0.svg