Create a Gauss product design of experimentsΒΆ

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

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