.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples/uncertainty/plot_parameter_space.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note :ref:`Go to the end ` to download the full example code. .. rst-class:: sphx-glr-example-title .. _sphx_glr_examples_uncertainty_plot_parameter_space.py: Parameter space =============== In this example, we will see the basics of :class:`.ParameterSpace`. .. GENERATED FROM PYTHON SOURCE LINES 28-37 .. code-block:: Python from __future__ import annotations from gemseo import create_discipline from gemseo import sample_disciplines from gemseo.algos.parameter_space import ParameterSpace from gemseo.post.dataset.scatter_plot_matrix import ScatterMatrix from gemseo.settings.probability_distributions import SPNormalDistribution_Settings .. GENERATED FROM PYTHON SOURCE LINES 38-42 Create a parameter space ------------------------ Firstly, the creation of a :class:`.ParameterSpace` does not require any mandatory argument: .. GENERATED FROM PYTHON SOURCE LINES 42-44 .. code-block:: Python parameter_space = ParameterSpace() .. GENERATED FROM PYTHON SOURCE LINES 45-48 Then, we can add either deterministic variables from their lower and upper bounds (use :meth:`.ParameterSpace.add_variable`): .. GENERATED FROM PYTHON SOURCE LINES 48-50 .. code-block:: Python parameter_space.add_variable("x", lower_bound=-2.0, upper_bound=2.0) .. GENERATED FROM PYTHON SOURCE LINES 51-53 or uncertain variables from their distribution names and parameters (use :meth:`.ParameterSpace.add_random_variable`): .. GENERATED FROM PYTHON SOURCE LINES 53-58 .. code-block:: Python parameter_space.add_random_variable( "y", SPNormalDistribution_Settings(mu=0.0, sigma=1.0) ) parameter_space .. raw:: html
Parameter space:
Name Lower bound Value Upper bound Type Distribution
x -2 None 2 float
y -inf 0 inf float norm(mu=0.0, sigma=1.0)


.. GENERATED FROM PYTHON SOURCE LINES 59-81 or without Pydantic model: .. code-block:: python parameter_space.add_random_variable("y", "SPNormalDistribution", mu=0.0, sigma=1.0) .. warning:: We cannot mix probability distributions from different families, e.g. an :class:`.OTDistribution` and a :class:`.SPDistribution`. .. note:: :ref:`This page ` lists the available probability distributions. The names prefixed with SP correspond to distributions based on SciPy. while those prefixed with OT correspond to distributions based on OpenTURNS. The settings class ``DistributionClassName_Settings`` associated with the distribution ``DistributionClassName`` can be imported from ``gemseo.settings.probability_distributions``. We can check that the variables *x* and *y* are implemented as deterministic and uncertain variables respectively: .. GENERATED FROM PYTHON SOURCE LINES 81-83 .. code-block:: Python parameter_space.is_deterministic("x"), parameter_space.is_uncertain("y") .. rst-class:: sphx-glr-script-out .. code-block:: none (True, True) .. GENERATED FROM PYTHON SOURCE LINES 84-98 Note that when GEMSEO does not offer a class for the SciPy distribution, we can use the generic GEMSEO class :class:`.SPDistribution` to create any SciPy distribution by setting ``interfaced_distribution`` to its SciPy name and ``parameters`` as a dictionary of SciPy parameter names and values (`see the documentation of SciPy `__). .. code-block:: python parameter_space.add_random_variable( "y", SPDistribution_Settings(interface_distribution="norm", parameters={"loc": 1.0, "scale": 2.0}), ) .. GENERATED FROM PYTHON SOURCE LINES 100-117 A similar procedure can be followed for OpenTURNS distributions for which GEMSEO does not offer a class directly. We can use the generic GEMSEO class :class:`.OTDistribution` to create any OpenTURNS distribution by setting ``interfaced_distribution`` to its OpenTURNS name and ``parameters`` as a tuple of OpenTURNS parameter values (`see the documentation of OpenTURNS `__). .. code-block:: python parameter_space.add_random_variable( "y", OTDistribution_Settings(interface_distribution="Normal", parameters=(1.0, 2.0)), ) .. GENERATED FROM PYTHON SOURCE LINES 119-124 Sample from the parameter space ------------------------------- We can sample the uncertain variables from the :class:`.ParameterSpace` and return the result either as a dictionary of NumPy arrays indexed by the names of these variables: .. GENERATED FROM PYTHON SOURCE LINES 124-127 .. code-block:: Python samples = parameter_space.compute_samples(n_samples=4) samples .. rst-class:: sphx-glr-script-out .. code-block:: none array([[ 0.12431805], [-0.43733539], [-1.26062742], [-0.06811378]]) .. GENERATED FROM PYTHON SOURCE LINES 128-130 or a unique NumPy array concatenating the values of these variables according to the order in which they were added to the :class:`.ParameterSpace`: .. GENERATED FROM PYTHON SOURCE LINES 130-133 .. code-block:: Python samples = parameter_space.compute_samples(n_samples=2, as_dict=True) samples .. rst-class:: sphx-glr-script-out .. code-block:: none [{'y': array([0.16919772])}, {'y': array([-0.16398223])}] .. GENERATED FROM PYTHON SOURCE LINES 134-139 Sample a discipline over the parameter space -------------------------------------------- We can also sample a discipline over the parameter space. For simplicity, we instantiate an :class:`.AnalyticDiscipline` from a dictionary of expressions: .. GENERATED FROM PYTHON SOURCE LINES 139-141 .. code-block:: Python discipline = create_discipline("AnalyticDiscipline", expressions={"z": "x+y"}) .. GENERATED FROM PYTHON SOURCE LINES 142-147 Then, we use the :func:`.sample_disciplines` function with an :term:`LHS` algorithm to generate 100 samples of the discipline over the whole parameter space: .. GENERATED FROM PYTHON SOURCE LINES 147-151 .. code-block:: Python dataset = sample_disciplines( [discipline], parameter_space, "z", algo_name="PYDOE_LHS", n_samples=100 ) .. rst-class:: sphx-glr-script-out .. code-block:: none INFO - 16:22:28: *** Start Sampling execution *** INFO - 16:22:28: Sampling INFO - 16:22:28: Disciplines: AnalyticDiscipline INFO - 16:22:28: MDO formulation: MDF INFO - 16:22:28: Running the algorithm PYDOE_LHS: INFO - 16:22:28: 1%| | 1/100 [00:00<00:00, 534.78 it/sec] INFO - 16:22:28: 2%|▏ | 2/100 [00:00<00:00, 878.30 it/sec] INFO - 16:22:28: 3%|▎ | 3/100 [00:00<00:00, 1169.20 it/sec] INFO - 16:22:28: 4%|▍ | 4/100 [00:00<00:00, 1416.64 it/sec] INFO - 16:22:28: 5%|▌ | 5/100 [00:00<00:00, 1620.80 it/sec] INFO - 16:22:28: 6%|▌ | 6/100 [00:00<00:00, 1803.36 it/sec] INFO - 16:22:28: 7%|▋ | 7/100 [00:00<00:00, 1961.40 it/sec] INFO - 16:22:28: 8%|▊ | 8/100 [00:00<00:00, 2098.07 it/sec] INFO - 16:22:28: 9%|▉ | 9/100 [00:00<00:00, 2212.44 it/sec] INFO - 16:22:28: 10%|█ | 10/100 [00:00<00:00, 2322.56 it/sec] INFO - 16:22:28: 11%|█ | 11/100 [00:00<00:00, 2423.43 it/sec] INFO - 16:22:28: 12%|█▏ | 12/100 [00:00<00:00, 2517.59 it/sec] INFO - 16:22:28: 13%|█▎ | 13/100 [00:00<00:00, 2531.50 it/sec] INFO - 16:22:28: 14%|█▍ | 14/100 [00:00<00:00, 2600.89 it/sec] INFO - 16:22:28: 15%|█▌ | 15/100 [00:00<00:00, 2666.10 it/sec] INFO - 16:22:28: 16%|█▌ | 16/100 [00:00<00:00, 2728.67 it/sec] INFO - 16:22:28: 17%|█▋ | 17/100 [00:00<00:00, 2779.96 it/sec] INFO - 16:22:28: 18%|█▊ | 18/100 [00:00<00:00, 2838.04 it/sec] INFO - 16:22:28: 19%|█▉ | 19/100 [00:00<00:00, 2893.46 it/sec] INFO - 16:22:28: 20%|██ | 20/100 [00:00<00:00, 2945.65 it/sec] INFO - 16:22:28: 21%|██ | 21/100 [00:00<00:00, 2985.98 it/sec] INFO - 16:22:28: 22%|██▏ | 22/100 [00:00<00:00, 3029.57 it/sec] INFO - 16:22:28: 23%|██▎ | 23/100 [00:00<00:00, 3073.04 it/sec] INFO - 16:22:28: 24%|██▍ | 24/100 [00:00<00:00, 3114.87 it/sec] INFO - 16:22:28: 25%|██▌ | 25/100 [00:00<00:00, 3155.04 it/sec] INFO - 16:22:28: 26%|██▌ | 26/100 [00:00<00:00, 3183.53 it/sec] INFO - 16:22:28: 27%|██▋ | 27/100 [00:00<00:00, 3216.76 it/sec] INFO - 16:22:28: 28%|██▊ | 28/100 [00:00<00:00, 3251.22 it/sec] INFO - 16:22:28: 29%|██▉ | 29/100 [00:00<00:00, 3282.55 it/sec] INFO - 16:22:28: 30%|███ | 30/100 [00:00<00:00, 3307.03 it/sec] INFO - 16:22:28: 31%|███ | 31/100 [00:00<00:00, 3333.51 it/sec] INFO - 16:22:28: 32%|███▏ | 32/100 [00:00<00:00, 3358.38 it/sec] INFO - 16:22:28: 33%|███▎ | 33/100 [00:00<00:00, 3383.99 it/sec] INFO - 16:22:28: 34%|███▍ | 34/100 [00:00<00:00, 3404.71 it/sec] INFO - 16:22:28: 35%|███▌ | 35/100 [00:00<00:00, 3424.88 it/sec] INFO - 16:22:28: 36%|███▌ | 36/100 [00:00<00:00, 3448.55 it/sec] INFO - 16:22:28: 37%|███▋ | 37/100 [00:00<00:00, 3472.03 it/sec] INFO - 16:22:28: 38%|███▊ | 38/100 [00:00<00:00, 3494.18 it/sec] INFO - 16:22:28: 39%|███▉ | 39/100 [00:00<00:00, 3507.62 it/sec] INFO - 16:22:28: 40%|████ | 40/100 [00:00<00:00, 3525.88 it/sec] INFO - 16:22:28: 41%|████ | 41/100 [00:00<00:00, 3545.70 it/sec] INFO - 16:22:28: 42%|████▏ | 42/100 [00:00<00:00, 3565.43 it/sec] INFO - 16:22:28: 43%|████▎ | 43/100 [00:00<00:00, 3576.84 it/sec] INFO - 16:22:28: 44%|████▍ | 44/100 [00:00<00:00, 3593.67 it/sec] INFO - 16:22:28: 45%|████▌ | 45/100 [00:00<00:00, 3611.21 it/sec] INFO - 16:22:28: 46%|████▌ | 46/100 [00:00<00:00, 3627.20 it/sec] INFO - 16:22:28: 47%|████▋ | 47/100 [00:00<00:00, 3642.50 it/sec] INFO - 16:22:28: 48%|████▊ | 48/100 [00:00<00:00, 3651.52 it/sec] INFO - 16:22:28: 49%|████▉ | 49/100 [00:00<00:00, 3666.09 it/sec] INFO - 16:22:28: 50%|█████ | 50/100 [00:00<00:00, 3678.18 it/sec] INFO - 16:22:28: 51%|█████ | 51/100 [00:00<00:00, 3691.40 it/sec] INFO - 16:22:28: 52%|█████▏ | 52/100 [00:00<00:00, 3699.81 it/sec] INFO - 16:22:28: 53%|█████▎ | 53/100 [00:00<00:00, 3710.66 it/sec] INFO - 16:22:28: 54%|█████▍ | 54/100 [00:00<00:00, 3722.88 it/sec] INFO - 16:22:28: 55%|█████▌ | 55/100 [00:00<00:00, 3734.37 it/sec] INFO - 16:22:28: 56%|█████▌ | 56/100 [00:00<00:00, 3747.07 it/sec] INFO - 16:22:28: 57%|█████▋ | 57/100 [00:00<00:00, 3752.73 it/sec] INFO - 16:22:28: 58%|█████▊ | 58/100 [00:00<00:00, 3765.49 it/sec] INFO - 16:22:28: 59%|█████▉ | 59/100 [00:00<00:00, 3775.65 it/sec] INFO - 16:22:28: 60%|██████ | 60/100 [00:00<00:00, 3786.95 it/sec] INFO - 16:22:28: 61%|██████ | 61/100 [00:00<00:00, 3793.05 it/sec] INFO - 16:22:28: 62%|██████▏ | 62/100 [00:00<00:00, 3802.86 it/sec] INFO - 16:22:28: 63%|██████▎ | 63/100 [00:00<00:00, 3811.46 it/sec] INFO - 16:22:28: 64%|██████▍ | 64/100 [00:00<00:00, 3819.30 it/sec] INFO - 16:22:28: 65%|██████▌ | 65/100 [00:00<00:00, 3824.07 it/sec] INFO - 16:22:28: 66%|██████▌ | 66/100 [00:00<00:00, 3831.69 it/sec] INFO - 16:22:28: 67%|██████▋ | 67/100 [00:00<00:00, 3840.15 it/sec] INFO - 16:22:28: 68%|██████▊ | 68/100 [00:00<00:00, 3846.48 it/sec] INFO - 16:22:28: 69%|██████▉ | 69/100 [00:00<00:00, 3853.47 it/sec] INFO - 16:22:28: 70%|███████ | 70/100 [00:00<00:00, 3856.07 it/sec] INFO - 16:22:28: 71%|███████ | 71/100 [00:00<00:00, 3862.81 it/sec] INFO - 16:22:28: 72%|███████▏ | 72/100 [00:00<00:00, 3869.93 it/sec] INFO - 16:22:28: 73%|███████▎ | 73/100 [00:00<00:00, 3875.85 it/sec] INFO - 16:22:28: 74%|███████▍ | 74/100 [00:00<00:00, 3878.86 it/sec] INFO - 16:22:28: 75%|███████▌ | 75/100 [00:00<00:00, 3884.91 it/sec] INFO - 16:22:28: 76%|███████▌ | 76/100 [00:00<00:00, 3893.01 it/sec] INFO - 16:22:28: 77%|███████▋ | 77/100 [00:00<00:00, 3899.51 it/sec] INFO - 16:22:28: 78%|███████▊ | 78/100 [00:00<00:00, 3903.73 it/sec] INFO - 16:22:28: 79%|███████▉ | 79/100 [00:00<00:00, 3908.31 it/sec] INFO - 16:22:28: 80%|████████ | 80/100 [00:00<00:00, 3914.79 it/sec] INFO - 16:22:28: 81%|████████ | 81/100 [00:00<00:00, 3921.40 it/sec] INFO - 16:22:28: 82%|████████▏ | 82/100 [00:00<00:00, 3927.92 it/sec] INFO - 16:22:28: 83%|████████▎ | 83/100 [00:00<00:00, 3930.67 it/sec] INFO - 16:22:28: 84%|████████▍ | 84/100 [00:00<00:00, 3935.81 it/sec] INFO - 16:22:28: 85%|████████▌ | 85/100 [00:00<00:00, 3940.23 it/sec] INFO - 16:22:28: 86%|████████▌ | 86/100 [00:00<00:00, 3945.29 it/sec] INFO - 16:22:28: 87%|████████▋ | 87/100 [00:00<00:00, 3947.94 it/sec] INFO - 16:22:28: 88%|████████▊ | 88/100 [00:00<00:00, 3953.12 it/sec] INFO - 16:22:28: 89%|████████▉ | 89/100 [00:00<00:00, 3959.20 it/sec] INFO - 16:22:28: 90%|█████████ | 90/100 [00:00<00:00, 3964.95 it/sec] INFO - 16:22:28: 91%|█████████ | 91/100 [00:00<00:00, 3970.60 it/sec] INFO - 16:22:28: 92%|█████████▏| 92/100 [00:00<00:00, 3972.12 it/sec] INFO - 16:22:28: 93%|█████████▎| 93/100 [00:00<00:00, 3977.14 it/sec] INFO - 16:22:28: 94%|█████████▍| 94/100 [00:00<00:00, 3982.55 it/sec] INFO - 16:22:28: 95%|█████████▌| 95/100 [00:00<00:00, 3987.74 it/sec] INFO - 16:22:28: 96%|█████████▌| 96/100 [00:00<00:00, 3989.59 it/sec] INFO - 16:22:28: 97%|█████████▋| 97/100 [00:00<00:00, 3993.52 it/sec] INFO - 16:22:28: 98%|█████████▊| 98/100 [00:00<00:00, 3998.50 it/sec] INFO - 16:22:28: 99%|█████████▉| 99/100 [00:00<00:00, 3985.14 it/sec] INFO - 16:22:28: 100%|██████████| 100/100 [00:00<00:00, 3941.94 it/sec] INFO - 16:22:28: *** End Sampling execution *** .. GENERATED FROM PYTHON SOURCE LINES 152-153 and visualize it in a tabular way: .. GENERATED FROM PYTHON SOURCE LINES 153-155 .. code-block:: Python dataset .. raw:: html
GROUP inputs outputs
VARIABLE x y z
COMPONENT 0 0 0
0 1.869403 1.246453 3.115855
1 -1.567970 3.285041 1.717071
2 0.282640 -0.101706 0.180934
3 1.916313 1.848317 3.764630
4 1.562653 0.586038 2.148691
... ... ... ...
95 0.120633 -0.327477 -0.206844
96 -0.999225 1.461403 0.462178
97 -1.396066 -0.972779 -2.368845
98 1.090093 0.225565 1.315658
99 -1.433207 -0.779330 -2.212536

100 rows × 3 columns



.. GENERATED FROM PYTHON SOURCE LINES 156-158 or with a graphical post-processing, e.g. a scatter plot matrix: .. GENERATED FROM PYTHON SOURCE LINES 158-160 .. code-block:: Python ScatterMatrix(dataset).execute(save=False, show=True) .. image-sg:: /examples/uncertainty/images/sphx_glr_plot_parameter_space_001.png :alt: plot parameter space :srcset: /examples/uncertainty/images/sphx_glr_plot_parameter_space_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none [
] .. GENERATED FROM PYTHON SOURCE LINES 161-165 Sample a discipline over the uncertain space -------------------------------------------- If we want to sample a discipline over the uncertain space, we need to filter the uncertain variables: .. GENERATED FROM PYTHON SOURCE LINES 165-167 .. code-block:: Python parameter_space.filter(parameter_space.uncertain_variables) .. raw:: html
Parameter space:
Name Lower bound Value Upper bound Type Distribution
y -inf -1.368441899688857 inf float norm(mu=0.0, sigma=1.0)


.. GENERATED FROM PYTHON SOURCE LINES 168-170 If we want to sample a discipline over the uncertain space only, we need to extract it: .. GENERATED FROM PYTHON SOURCE LINES 170-172 .. code-block:: Python uncertain_space = parameter_space.extract_uncertain_space() .. GENERATED FROM PYTHON SOURCE LINES 173-174 Then, we sample the discipline over this uncertain space: .. GENERATED FROM PYTHON SOURCE LINES 174-178 .. code-block:: Python dataset = sample_disciplines( [discipline], uncertain_space, "z", algo_name="PYDOE_LHS", n_samples=100 ) dataset .. rst-class:: sphx-glr-script-out .. code-block:: none INFO - 16:22:28: *** Start Sampling execution *** INFO - 16:22:28: Sampling INFO - 16:22:28: Disciplines: AnalyticDiscipline INFO - 16:22:28: MDO formulation: MDF INFO - 16:22:28: Running the algorithm PYDOE_LHS: INFO - 16:22:28: 1%| | 1/100 [00:00<00:00, 2809.31 it/sec] INFO - 16:22:28: 2%|▏ | 2/100 [00:00<00:00, 2816.86 it/sec] INFO - 16:22:28: 3%|▎ | 3/100 [00:00<00:00, 2873.47 it/sec] INFO - 16:22:28: 4%|▍ | 4/100 [00:00<00:00, 2981.03 it/sec] INFO - 16:22:28: 5%|▌ | 5/100 [00:00<00:00, 3019.66 it/sec] INFO - 16:22:28: 6%|▌ | 6/100 [00:00<00:00, 3089.73 it/sec] INFO - 16:22:28: 7%|▋ | 7/100 [00:00<00:00, 3158.02 it/sec] INFO - 16:22:28: 8%|▊ | 8/100 [00:00<00:00, 3234.16 it/sec] INFO - 16:22:28: 9%|▉ | 9/100 [00:00<00:00, 3299.43 it/sec] INFO - 16:22:28: 10%|█ | 10/100 [00:00<00:00, 3364.06 it/sec] INFO - 16:22:28: 11%|█ | 11/100 [00:00<00:00, 3397.95 it/sec] INFO - 16:22:28: 12%|█▏ | 12/100 [00:00<00:00, 3438.66 it/sec] INFO - 16:22:28: 13%|█▎ | 13/100 [00:00<00:00, 3479.42 it/sec] INFO - 16:22:28: 14%|█▍ | 14/100 [00:00<00:00, 3518.50 it/sec] INFO - 16:22:28: 15%|█▌ | 15/100 [00:00<00:00, 3541.29 it/sec] INFO - 16:22:28: 16%|█▌ | 16/100 [00:00<00:00, 3569.81 it/sec] INFO - 16:22:28: 17%|█▋ | 17/100 [00:00<00:00, 3597.90 it/sec] INFO - 16:22:28: 18%|█▊ | 18/100 [00:00<00:00, 3625.85 it/sec] INFO - 16:22:28: 19%|█▉ | 19/100 [00:00<00:00, 3637.23 it/sec] INFO - 16:22:28: 20%|██ | 20/100 [00:00<00:00, 3655.17 it/sec] INFO - 16:22:28: 21%|██ | 21/100 [00:00<00:00, 3670.63 it/sec] INFO - 16:22:28: 22%|██▏ | 22/100 [00:00<00:00, 3687.01 it/sec] INFO - 16:22:28: 23%|██▎ | 23/100 [00:00<00:00, 3694.01 it/sec] INFO - 16:22:28: 24%|██▍ | 24/100 [00:00<00:00, 3709.45 it/sec] INFO - 16:22:28: 25%|██▌ | 25/100 [00:00<00:00, 3725.49 it/sec] INFO - 16:22:28: 26%|██▌ | 26/100 [00:00<00:00, 3741.32 it/sec] INFO - 16:22:28: 27%|██▋ | 27/100 [00:00<00:00, 3745.41 it/sec] INFO - 16:22:28: 28%|██▊ | 28/100 [00:00<00:00, 3756.65 it/sec] INFO - 16:22:28: 29%|██▉ | 29/100 [00:00<00:00, 3747.22 it/sec] INFO - 16:22:28: 30%|███ | 30/100 [00:00<00:00, 3753.29 it/sec] INFO - 16:22:28: 31%|███ | 31/100 [00:00<00:00, 3752.48 it/sec] INFO - 16:22:28: 32%|███▏ | 32/100 [00:00<00:00, 3762.55 it/sec] INFO - 16:22:28: 33%|███▎ | 33/100 [00:00<00:00, 3774.94 it/sec] INFO - 16:22:28: 34%|███▍ | 34/100 [00:00<00:00, 3786.78 it/sec] INFO - 16:22:28: 35%|███▌ | 35/100 [00:00<00:00, 3790.36 it/sec] INFO - 16:22:28: 36%|███▌ | 36/100 [00:00<00:00, 3797.85 it/sec] INFO - 16:22:28: 37%|███▋ | 37/100 [00:00<00:00, 3804.78 it/sec] INFO - 16:22:28: 38%|███▊ | 38/100 [00:00<00:00, 3813.28 it/sec] INFO - 16:22:28: 39%|███▉ | 39/100 [00:00<00:00, 3816.12 it/sec] INFO - 16:22:28: 40%|████ | 40/100 [00:00<00:00, 3767.20 it/sec] INFO - 16:22:28: 41%|████ | 41/100 [00:00<00:00, 3771.53 it/sec] INFO - 16:22:28: 42%|████▏ | 42/100 [00:00<00:00, 3776.55 it/sec] INFO - 16:22:28: 43%|████▎ | 43/100 [00:00<00:00, 3774.30 it/sec] INFO - 16:22:28: 44%|████▍ | 44/100 [00:00<00:00, 3780.97 it/sec] INFO - 16:22:28: 45%|████▌ | 45/100 [00:00<00:00, 3788.74 it/sec] INFO - 16:22:28: 46%|████▌ | 46/100 [00:00<00:00, 3796.27 it/sec] INFO - 16:22:28: 47%|████▋ | 47/100 [00:00<00:00, 3795.68 it/sec] INFO - 16:22:28: 48%|████▊ | 48/100 [00:00<00:00, 3802.42 it/sec] INFO - 16:22:28: 49%|████▉ | 49/100 [00:00<00:00, 3809.19 it/sec] INFO - 16:22:28: 50%|█████ | 50/100 [00:00<00:00, 3815.92 it/sec] INFO - 16:22:28: 51%|█████ | 51/100 [00:00<00:00, 3816.68 it/sec] INFO - 16:22:28: 52%|█████▏ | 52/100 [00:00<00:00, 3822.90 it/sec] INFO - 16:22:28: 53%|█████▎ | 53/100 [00:00<00:00, 3826.13 it/sec] INFO - 16:22:28: 54%|█████▍ | 54/100 [00:00<00:00, 3831.52 it/sec] INFO - 16:22:28: 55%|█████▌ | 55/100 [00:00<00:00, 3832.90 it/sec] INFO - 16:22:28: 56%|█████▌ | 56/100 [00:00<00:00, 3839.12 it/sec] INFO - 16:22:28: 57%|█████▋ | 57/100 [00:00<00:00, 3845.20 it/sec] INFO - 16:22:28: 58%|█████▊ | 58/100 [00:00<00:00, 3851.64 it/sec] INFO - 16:22:28: 59%|█████▉ | 59/100 [00:00<00:00, 3853.14 it/sec] INFO - 16:22:28: 60%|██████ | 60/100 [00:00<00:00, 3857.66 it/sec] INFO - 16:22:28: 61%|██████ | 61/100 [00:00<00:00, 3863.27 it/sec] INFO - 16:22:28: 62%|██████▏ | 62/100 [00:00<00:00, 3869.57 it/sec] INFO - 16:22:28: 63%|██████▎ | 63/100 [00:00<00:00, 3871.67 it/sec] INFO - 16:22:28: 64%|██████▍ | 64/100 [00:00<00:00, 3876.04 it/sec] INFO - 16:22:28: 65%|██████▌ | 65/100 [00:00<00:00, 3881.07 it/sec] INFO - 16:22:28: 66%|██████▌ | 66/100 [00:00<00:00, 3886.23 it/sec] INFO - 16:22:28: 67%|██████▋ | 67/100 [00:00<00:00, 3887.59 it/sec] INFO - 16:22:28: 68%|██████▊ | 68/100 [00:00<00:00, 3880.50 it/sec] INFO - 16:22:28: 69%|██████▉ | 69/100 [00:00<00:00, 3878.98 it/sec] INFO - 16:22:28: 70%|███████ | 70/100 [00:00<00:00, 3881.87 it/sec] INFO - 16:22:28: 71%|███████ | 71/100 [00:00<00:00, 3882.70 it/sec] INFO - 16:22:28: 72%|███████▏ | 72/100 [00:00<00:00, 3885.71 it/sec] INFO - 16:22:28: 73%|███████▎ | 73/100 [00:00<00:00, 3889.88 it/sec] INFO - 16:22:28: 74%|███████▍ | 74/100 [00:00<00:00, 3894.43 it/sec] INFO - 16:22:28: 75%|███████▌ | 75/100 [00:00<00:00, 3894.91 it/sec] INFO - 16:22:28: 76%|███████▌ | 76/100 [00:00<00:00, 3898.62 it/sec] INFO - 16:22:28: 77%|███████▋ | 77/100 [00:00<00:00, 3903.09 it/sec] INFO - 16:22:28: 78%|███████▊ | 78/100 [00:00<00:00, 3906.99 it/sec] INFO - 16:22:28: 79%|███████▉ | 79/100 [00:00<00:00, 3905.96 it/sec] INFO - 16:22:28: 80%|████████ | 80/100 [00:00<00:00, 3906.86 it/sec] INFO - 16:22:28: 81%|████████ | 81/100 [00:00<00:00, 3909.09 it/sec] INFO - 16:22:28: 82%|████████▏ | 82/100 [00:00<00:00, 3912.11 it/sec] INFO - 16:22:28: 83%|████████▎ | 83/100 [00:00<00:00, 3912.38 it/sec] INFO - 16:22:28: 84%|████████▍ | 84/100 [00:00<00:00, 3915.03 it/sec] INFO - 16:22:28: 85%|████████▌ | 85/100 [00:00<00:00, 3918.36 it/sec] INFO - 16:22:28: 86%|████████▌ | 86/100 [00:00<00:00, 3918.76 it/sec] INFO - 16:22:28: 87%|████████▋ | 87/100 [00:00<00:00, 3918.61 it/sec] INFO - 16:22:28: 88%|████████▊ | 88/100 [00:00<00:00, 3921.33 it/sec] INFO - 16:22:28: 89%|████████▉ | 89/100 [00:00<00:00, 3924.73 it/sec] INFO - 16:22:28: 90%|█████████ | 90/100 [00:00<00:00, 3928.07 it/sec] INFO - 16:22:28: 91%|█████████ | 91/100 [00:00<00:00, 3931.17 it/sec] INFO - 16:22:28: 92%|█████████▏| 92/100 [00:00<00:00, 3930.09 it/sec] INFO - 16:22:28: 93%|█████████▎| 93/100 [00:00<00:00, 3925.79 it/sec] INFO - 16:22:28: 94%|█████████▍| 94/100 [00:00<00:00, 3925.61 it/sec] INFO - 16:22:28: 95%|█████████▌| 95/100 [00:00<00:00, 3925.74 it/sec] INFO - 16:22:28: 96%|█████████▌| 96/100 [00:00<00:00, 3925.91 it/sec] INFO - 16:22:28: 97%|█████████▋| 97/100 [00:00<00:00, 3927.82 it/sec] INFO - 16:22:28: 98%|█████████▊| 98/100 [00:00<00:00, 3930.52 it/sec] INFO - 16:22:28: 99%|█████████▉| 99/100 [00:00<00:00, 3930.67 it/sec] INFO - 16:22:28: 100%|██████████| 100/100 [00:00<00:00, 3887.93 it/sec] INFO - 16:22:28: *** End Sampling execution *** .. raw:: html
GROUP inputs outputs
VARIABLE y z
COMPONENT 0 0
0 -0.640726 -0.640726
1 -0.393653 -0.393653
2 0.550565 0.550565
3 0.944369 0.944369
4 -2.115275 -2.115275
... ... ...
95 0.081947 0.081947
96 -1.085812 -1.085812
97 -0.761651 -0.761651
98 -0.042932 -0.042932
99 -0.813354 -0.813354

100 rows × 2 columns



.. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.317 seconds) .. _sphx_glr_download_examples_uncertainty_plot_parameter_space.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_parameter_space.ipynb ` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_parameter_space.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: plot_parameter_space.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_