Create a composite design of experimentsΒΆ

In this basic example we are going to create a deterministic design experiment of type composite.

In [9]:
from __future__ import print_function
import openturns as ot
In [10]:
# Define position, scale
center = [0.5, 1.5]
levels = [4, 8, 16]

In [11]:
# Create the design
myPlane = ot.Composite(center, levels)
sample = myPlane.generate()
In [12]:
# Plot the design
graph = ot.Graph("Composite design", "x1", "x2", True, "")
cloud = ot.Cloud(sample, "blue", "fsquare", "")
graph.add(cloud)
graph
Out[12]:
../../_images/examples_uncertainty_quantification_composite_experiment_5_0.svg