Create a composite design of experimentsΒΆ

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

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

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