.. 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([[-1.06932564], [ 0.33227142], [ 0.29103375], [ 1.20695623]]) .. 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.08915309])}, {'y': array([0.77302645])}] .. 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:16:33: *** Start Sampling execution *** INFO - 16:16:33: Sampling INFO - 16:16:33: Disciplines: AnalyticDiscipline INFO - 16:16:33: MDO formulation: MDF INFO - 16:16:33: Running the algorithm PYDOE_LHS: INFO - 16:16:33: 1%| | 1/100 [00:00<00:00, 479.02 it/sec] INFO - 16:16:33: 2%|▏ | 2/100 [00:00<00:00, 766.22 it/sec] INFO - 16:16:33: 3%|▎ | 3/100 [00:00<00:00, 956.51 it/sec] INFO - 16:16:33: 4%|▍ | 4/100 [00:00<00:00, 1108.43 it/sec] INFO - 16:16:33: 5%|▌ | 5/100 [00:00<00:00, 1212.37 it/sec] INFO - 16:16:33: 6%|▌ | 6/100 [00:00<00:00, 1307.38 it/sec] INFO - 16:16:33: 7%|▋ | 7/100 [00:00<00:00, 1378.80 it/sec] INFO - 16:16:33: 8%|▊ | 8/100 [00:00<00:00, 1407.48 it/sec] INFO - 16:16:33: 9%|▉ | 9/100 [00:00<00:00, 1440.41 it/sec] INFO - 16:16:33: 10%|█ | 10/100 [00:00<00:00, 1510.92 it/sec] INFO - 16:16:33: 11%|█ | 11/100 [00:00<00:00, 1516.33 it/sec] INFO - 16:16:33: 12%|█▏ | 12/100 [00:00<00:00, 1518.21 it/sec] INFO - 16:16:33: 13%|█▎ | 13/100 [00:00<00:00, 1543.68 it/sec] INFO - 16:16:33: 14%|█▍ | 14/100 [00:00<00:00, 1555.96 it/sec] INFO - 16:16:33: 15%|█▌ | 15/100 [00:00<00:00, 1579.02 it/sec] INFO - 16:16:33: 16%|█▌ | 16/100 [00:00<00:00, 1600.08 it/sec] INFO - 16:16:33: 17%|█▋ | 17/100 [00:00<00:00, 1620.45 it/sec] INFO - 16:16:33: 18%|█▊ | 18/100 [00:00<00:00, 1641.00 it/sec] INFO - 16:16:33: 19%|█▉ | 19/100 [00:00<00:00, 1662.36 it/sec] INFO - 16:16:33: 20%|██ | 20/100 [00:00<00:00, 1676.25 it/sec] INFO - 16:16:33: 21%|██ | 21/100 [00:00<00:00, 1695.19 it/sec] INFO - 16:16:33: 22%|██▏ | 22/100 [00:00<00:00, 1705.25 it/sec] INFO - 16:16:33: 23%|██▎ | 23/100 [00:00<00:00, 1721.49 it/sec] INFO - 16:16:33: 24%|██▍ | 24/100 [00:00<00:00, 1727.92 it/sec] INFO - 16:16:33: 25%|██▌ | 25/100 [00:00<00:00, 1741.97 it/sec] INFO - 16:16:33: 26%|██▌ | 26/100 [00:00<00:00, 1748.30 it/sec] INFO - 16:16:33: 27%|██▋ | 27/100 [00:00<00:00, 1761.05 it/sec] INFO - 16:16:33: 28%|██▊ | 28/100 [00:00<00:00, 1767.46 it/sec] INFO - 16:16:33: 29%|██▉ | 29/100 [00:00<00:00, 1779.38 it/sec] INFO - 16:16:33: 30%|███ | 30/100 [00:00<00:00, 1785.67 it/sec] INFO - 16:16:33: 31%|███ | 31/100 [00:00<00:00, 1796.35 it/sec] INFO - 16:16:33: 32%|███▏ | 32/100 [00:00<00:00, 1803.74 it/sec] INFO - 16:16:33: 33%|███▎ | 33/100 [00:00<00:00, 1809.76 it/sec] INFO - 16:16:33: 34%|███▍ | 34/100 [00:00<00:00, 1816.55 it/sec] INFO - 16:16:33: 35%|███▌ | 35/100 [00:00<00:00, 1822.59 it/sec] INFO - 16:16:33: 36%|███▌ | 36/100 [00:00<00:00, 1810.27 it/sec] INFO - 16:16:33: 37%|███▋ | 37/100 [00:00<00:00, 1814.76 it/sec] INFO - 16:16:33: 38%|███▊ | 38/100 [00:00<00:00, 1818.16 it/sec] INFO - 16:16:33: 39%|███▉ | 39/100 [00:00<00:00, 1825.79 it/sec] INFO - 16:16:33: 40%|████ | 40/100 [00:00<00:00, 1826.73 it/sec] INFO - 16:16:33: 41%|████ | 41/100 [00:00<00:00, 1833.82 it/sec] INFO - 16:16:33: 42%|████▏ | 42/100 [00:00<00:00, 1836.06 it/sec] INFO - 16:16:33: 43%|████▎ | 43/100 [00:00<00:00, 1843.01 it/sec] INFO - 16:16:33: 44%|████▍ | 44/100 [00:00<00:00, 1845.94 it/sec] INFO - 16:16:33: 45%|████▌ | 45/100 [00:00<00:00, 1852.66 it/sec] INFO - 16:16:33: 46%|████▌ | 46/100 [00:00<00:00, 1855.64 it/sec] INFO - 16:16:33: 47%|████▋ | 47/100 [00:00<00:00, 1860.18 it/sec] INFO - 16:16:33: 48%|████▊ | 48/100 [00:00<00:00, 1864.50 it/sec] INFO - 16:16:33: 49%|████▉ | 49/100 [00:00<00:00, 1867.76 it/sec] INFO - 16:16:33: 50%|█████ | 50/100 [00:00<00:00, 1870.77 it/sec] INFO - 16:16:33: 51%|█████ | 51/100 [00:00<00:00, 1873.82 it/sec] INFO - 16:16:33: 52%|█████▏ | 52/100 [00:00<00:00, 1877.36 it/sec] INFO - 16:16:33: 53%|█████▎ | 53/100 [00:00<00:00, 1880.33 it/sec] INFO - 16:16:33: 54%|█████▍ | 54/100 [00:00<00:00, 1883.23 it/sec] INFO - 16:16:33: 55%|█████▌ | 55/100 [00:00<00:00, 1886.82 it/sec] INFO - 16:16:33: 56%|█████▌ | 56/100 [00:00<00:00, 1890.42 it/sec] INFO - 16:16:33: 57%|█████▋ | 57/100 [00:00<00:00, 1893.83 it/sec] INFO - 16:16:33: 58%|█████▊ | 58/100 [00:00<00:00, 1896.94 it/sec] INFO - 16:16:33: 59%|█████▉ | 59/100 [00:00<00:00, 1900.18 it/sec] INFO - 16:16:33: 60%|██████ | 60/100 [00:00<00:00, 1903.23 it/sec] INFO - 16:16:33: 61%|██████ | 61/100 [00:00<00:00, 1906.94 it/sec] INFO - 16:16:33: 62%|██████▏ | 62/100 [00:00<00:00, 1909.90 it/sec] INFO - 16:16:33: 63%|██████▎ | 63/100 [00:00<00:00, 1912.45 it/sec] INFO - 16:16:33: 64%|██████▍ | 64/100 [00:00<00:00, 1915.17 it/sec] INFO - 16:16:33: 65%|██████▌ | 65/100 [00:00<00:00, 1916.22 it/sec] INFO - 16:16:33: 66%|██████▌ | 66/100 [00:00<00:00, 1918.82 it/sec] INFO - 16:16:33: 67%|██████▋ | 67/100 [00:00<00:00, 1920.88 it/sec] INFO - 16:16:33: 68%|██████▊ | 68/100 [00:00<00:00, 1923.25 it/sec] INFO - 16:16:33: 69%|██████▉ | 69/100 [00:00<00:00, 1925.64 it/sec] INFO - 16:16:33: 70%|███████ | 70/100 [00:00<00:00, 1927.39 it/sec] INFO - 16:16:33: 71%|███████ | 71/100 [00:00<00:00, 1930.05 it/sec] INFO - 16:16:33: 72%|███████▏ | 72/100 [00:00<00:00, 1931.82 it/sec] INFO - 16:16:33: 73%|███████▎ | 73/100 [00:00<00:00, 1929.05 it/sec] INFO - 16:16:33: 74%|███████▍ | 74/100 [00:00<00:00, 1930.69 it/sec] INFO - 16:16:33: 75%|███████▌ | 75/100 [00:00<00:00, 1928.53 it/sec] INFO - 16:16:33: 76%|███████▌ | 76/100 [00:00<00:00, 1924.63 it/sec] INFO - 16:16:33: 77%|███████▋ | 77/100 [00:00<00:00, 1922.84 it/sec] INFO - 16:16:33: 78%|███████▊ | 78/100 [00:00<00:00, 1924.63 it/sec] INFO - 16:16:33: 79%|███████▉ | 79/100 [00:00<00:00, 1925.17 it/sec] INFO - 16:16:33: 80%|████████ | 80/100 [00:00<00:00, 1928.02 it/sec] INFO - 16:16:33: 81%|████████ | 81/100 [00:00<00:00, 1929.59 it/sec] INFO - 16:16:33: 82%|████████▏ | 82/100 [00:00<00:00, 1932.45 it/sec] INFO - 16:16:33: 83%|████████▎ | 83/100 [00:00<00:00, 1934.27 it/sec] INFO - 16:16:33: 84%|████████▍ | 84/100 [00:00<00:00, 1937.05 it/sec] INFO - 16:16:33: 85%|████████▌ | 85/100 [00:00<00:00, 1938.21 it/sec] INFO - 16:16:33: 86%|████████▌ | 86/100 [00:00<00:00, 1935.76 it/sec] INFO - 16:16:33: 87%|████████▋ | 87/100 [00:00<00:00, 1935.60 it/sec] INFO - 16:16:33: 88%|████████▊ | 88/100 [00:00<00:00, 1938.00 it/sec] INFO - 16:16:33: 89%|████████▉ | 89/100 [00:00<00:00, 1938.03 it/sec] INFO - 16:16:33: 90%|█████████ | 90/100 [00:00<00:00, 1940.23 it/sec] INFO - 16:16:33: 91%|█████████ | 91/100 [00:00<00:00, 1939.70 it/sec] INFO - 16:16:33: 92%|█████████▏| 92/100 [00:00<00:00, 1941.75 it/sec] INFO - 16:16:33: 93%|█████████▎| 93/100 [00:00<00:00, 1941.82 it/sec] INFO - 16:16:33: 94%|█████████▍| 94/100 [00:00<00:00, 1941.75 it/sec] INFO - 16:16:33: 95%|█████████▌| 95/100 [00:00<00:00, 1938.63 it/sec] INFO - 16:16:33: 96%|█████████▌| 96/100 [00:00<00:00, 1940.75 it/sec] INFO - 16:16:33: 97%|█████████▋| 97/100 [00:00<00:00, 1941.30 it/sec] INFO - 16:16:33: 98%|█████████▊| 98/100 [00:00<00:00, 1939.17 it/sec] INFO - 16:16:33: 99%|█████████▉| 99/100 [00:00<00:00, 1939.13 it/sec] INFO - 16:16:33: 100%|██████████| 100/100 [00:00<00:00, 1928.23 it/sec] INFO - 16:16:33: *** 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:16:33: *** Start Sampling execution *** INFO - 16:16:33: Sampling INFO - 16:16:33: Disciplines: AnalyticDiscipline INFO - 16:16:33: MDO formulation: MDF INFO - 16:16:33: Running the algorithm PYDOE_LHS: INFO - 16:16:33: 1%| | 1/100 [00:00<00:00, 2629.66 it/sec] INFO - 16:16:33: 2%|▏ | 2/100 [00:00<00:00, 2159.23 it/sec] INFO - 16:16:33: 3%|▎ | 3/100 [00:00<00:00, 2045.34 it/sec] INFO - 16:16:33: 4%|▍ | 4/100 [00:00<00:00, 2039.54 it/sec] INFO - 16:16:33: 5%|▌ | 5/100 [00:00<00:00, 1987.07 it/sec] INFO - 16:16:33: 6%|▌ | 6/100 [00:00<00:00, 1989.87 it/sec] INFO - 16:16:33: 7%|▋ | 7/100 [00:00<00:00, 1966.65 it/sec] INFO - 16:16:33: 8%|▊ | 8/100 [00:00<00:00, 1965.93 it/sec] INFO - 16:16:33: 9%|▉ | 9/100 [00:00<00:00, 1962.30 it/sec] INFO - 16:16:33: 10%|█ | 10/100 [00:00<00:00, 1948.75 it/sec] INFO - 16:16:33: 11%|█ | 11/100 [00:00<00:00, 1958.96 it/sec] INFO - 16:16:33: 12%|█▏ | 12/100 [00:00<00:00, 1945.11 it/sec] INFO - 16:16:33: 13%|█▎ | 13/100 [00:00<00:00, 1953.99 it/sec] INFO - 16:16:33: 14%|█▍ | 14/100 [00:00<00:00, 1946.70 it/sec] INFO - 16:16:33: 15%|█▌ | 15/100 [00:00<00:00, 1955.57 it/sec] INFO - 16:16:33: 16%|█▌ | 16/100 [00:00<00:00, 1951.86 it/sec] INFO - 16:16:33: 17%|█▋ | 17/100 [00:00<00:00, 1960.12 it/sec] INFO - 16:16:33: 18%|█▊ | 18/100 [00:00<00:00, 1957.11 it/sec] INFO - 16:16:33: 19%|█▉ | 19/100 [00:00<00:00, 1963.19 it/sec] INFO - 16:16:33: 20%|██ | 20/100 [00:00<00:00, 1958.72 it/sec] INFO - 16:16:33: 21%|██ | 21/100 [00:00<00:00, 1964.11 it/sec] INFO - 16:16:33: 22%|██▏ | 22/100 [00:00<00:00, 1962.54 it/sec] INFO - 16:16:33: 23%|██▎ | 23/100 [00:00<00:00, 1969.12 it/sec] INFO - 16:16:33: 24%|██▍ | 24/100 [00:00<00:00, 1967.46 it/sec] INFO - 16:16:33: 25%|██▌ | 25/100 [00:00<00:00, 1972.94 it/sec] INFO - 16:16:33: 26%|██▌ | 26/100 [00:00<00:00, 1969.58 it/sec] INFO - 16:16:33: 27%|██▋ | 27/100 [00:00<00:00, 1974.58 it/sec] INFO - 16:16:33: 28%|██▊ | 28/100 [00:00<00:00, 1971.21 it/sec] INFO - 16:16:33: 29%|██▉ | 29/100 [00:00<00:00, 1974.94 it/sec] INFO - 16:16:33: 30%|███ | 30/100 [00:00<00:00, 1972.71 it/sec] INFO - 16:16:33: 31%|███ | 31/100 [00:00<00:00, 1976.37 it/sec] INFO - 16:16:33: 32%|███▏ | 32/100 [00:00<00:00, 1974.52 it/sec] INFO - 16:16:33: 33%|███▎ | 33/100 [00:00<00:00, 1979.04 it/sec] INFO - 16:16:33: 34%|███▍ | 34/100 [00:00<00:00, 1977.38 it/sec] INFO - 16:16:33: 35%|███▌ | 35/100 [00:00<00:00, 1981.09 it/sec] INFO - 16:16:33: 36%|███▌ | 36/100 [00:00<00:00, 1977.46 it/sec] INFO - 16:16:33: 37%|███▋ | 37/100 [00:00<00:00, 1981.20 it/sec] INFO - 16:16:33: 38%|███▊ | 38/100 [00:00<00:00, 1979.70 it/sec] INFO - 16:16:33: 39%|███▉ | 39/100 [00:00<00:00, 1983.31 it/sec] INFO - 16:16:33: 40%|████ | 40/100 [00:00<00:00, 1970.54 it/sec] INFO - 16:16:33: 41%|████ | 41/100 [00:00<00:00, 1972.14 it/sec] INFO - 16:16:33: 42%|████▏ | 42/100 [00:00<00:00, 1970.21 it/sec] INFO - 16:16:33: 43%|████▎ | 43/100 [00:00<00:00, 1972.71 it/sec] INFO - 16:16:33: 44%|████▍ | 44/100 [00:00<00:00, 1971.24 it/sec] INFO - 16:16:33: 45%|████▌ | 45/100 [00:00<00:00, 1973.96 it/sec] INFO - 16:16:33: 46%|████▌ | 46/100 [00:00<00:00, 1973.02 it/sec] INFO - 16:16:33: 47%|████▋ | 47/100 [00:00<00:00, 1975.89 it/sec] INFO - 16:16:33: 48%|████▊ | 48/100 [00:00<00:00, 1975.01 it/sec] INFO - 16:16:33: 49%|████▉ | 49/100 [00:00<00:00, 1977.78 it/sec] INFO - 16:16:33: 50%|█████ | 50/100 [00:00<00:00, 1978.09 it/sec] INFO - 16:16:33: 51%|█████ | 51/100 [00:00<00:00, 1980.72 it/sec] INFO - 16:16:33: 52%|█████▏ | 52/100 [00:00<00:00, 1979.56 it/sec] INFO - 16:16:33: 53%|█████▎ | 53/100 [00:00<00:00, 1981.87 it/sec] INFO - 16:16:33: 54%|█████▍ | 54/100 [00:00<00:00, 1981.21 it/sec] INFO - 16:16:33: 55%|█████▌ | 55/100 [00:00<00:00, 1982.34 it/sec] INFO - 16:16:33: 56%|█████▌ | 56/100 [00:00<00:00, 1982.37 it/sec] INFO - 16:16:33: 57%|█████▋ | 57/100 [00:00<00:00, 1983.50 it/sec] INFO - 16:16:33: 58%|█████▊ | 58/100 [00:00<00:00, 1983.87 it/sec] INFO - 16:16:33: 59%|█████▉ | 59/100 [00:00<00:00, 1983.58 it/sec] INFO - 16:16:33: 60%|██████ | 60/100 [00:00<00:00, 1984.14 it/sec] INFO - 16:16:33: 61%|██████ | 61/100 [00:00<00:00, 1983.81 it/sec] INFO - 16:16:33: 62%|██████▏ | 62/100 [00:00<00:00, 1985.04 it/sec] INFO - 16:16:33: 63%|██████▎ | 63/100 [00:00<00:00, 1985.15 it/sec] INFO - 16:16:33: 64%|██████▍ | 64/100 [00:00<00:00, 1985.66 it/sec] INFO - 16:16:33: 65%|██████▌ | 65/100 [00:00<00:00, 1985.25 it/sec] INFO - 16:16:33: 66%|██████▌ | 66/100 [00:00<00:00, 1985.75 it/sec] INFO - 16:16:33: 67%|██████▋ | 67/100 [00:00<00:00, 1985.94 it/sec] INFO - 16:16:33: 68%|██████▊ | 68/100 [00:00<00:00, 1985.81 it/sec] INFO - 16:16:33: 69%|██████▉ | 69/100 [00:00<00:00, 1985.73 it/sec] INFO - 16:16:33: 70%|███████ | 70/100 [00:00<00:00, 1986.60 it/sec] INFO - 16:16:33: 71%|███████ | 71/100 [00:00<00:00, 1986.62 it/sec] INFO - 16:16:33: 72%|███████▏ | 72/100 [00:00<00:00, 1986.76 it/sec] INFO - 16:16:33: 73%|███████▎ | 73/100 [00:00<00:00, 1986.85 it/sec] INFO - 16:16:33: 74%|███████▍ | 74/100 [00:00<00:00, 1987.34 it/sec] INFO - 16:16:33: 75%|███████▌ | 75/100 [00:00<00:00, 1987.18 it/sec] INFO - 16:16:33: 76%|███████▌ | 76/100 [00:00<00:00, 1987.24 it/sec] INFO - 16:16:33: 77%|███████▋ | 77/100 [00:00<00:00, 1986.88 it/sec] INFO - 16:16:33: 78%|███████▊ | 78/100 [00:00<00:00, 1987.99 it/sec] INFO - 16:16:33: 79%|███████▉ | 79/100 [00:00<00:00, 1987.82 it/sec] INFO - 16:16:33: 80%|████████ | 80/100 [00:00<00:00, 1988.52 it/sec] INFO - 16:16:33: 81%|████████ | 81/100 [00:00<00:00, 1988.61 it/sec] INFO - 16:16:33: 82%|████████▏ | 82/100 [00:00<00:00, 1988.65 it/sec] INFO - 16:16:33: 83%|████████▎ | 83/100 [00:00<00:00, 1988.58 it/sec] INFO - 16:16:33: 84%|████████▍ | 84/100 [00:00<00:00, 1988.27 it/sec] INFO - 16:16:33: 85%|████████▌ | 85/100 [00:00<00:00, 1988.14 it/sec] INFO - 16:16:33: 86%|████████▌ | 86/100 [00:00<00:00, 1988.83 it/sec] INFO - 16:16:33: 87%|████████▋ | 87/100 [00:00<00:00, 1988.83 it/sec] INFO - 16:16:33: 88%|████████▊ | 88/100 [00:00<00:00, 1989.60 it/sec] INFO - 16:16:33: 89%|████████▉ | 89/100 [00:00<00:00, 1989.58 it/sec] INFO - 16:16:33: 90%|█████████ | 90/100 [00:00<00:00, 1989.78 it/sec] INFO - 16:16:33: 91%|█████████ | 91/100 [00:00<00:00, 1989.71 it/sec] INFO - 16:16:33: 92%|█████████▏| 92/100 [00:00<00:00, 1989.44 it/sec] INFO - 16:16:33: 93%|█████████▎| 93/100 [00:00<00:00, 1989.39 it/sec] INFO - 16:16:33: 94%|█████████▍| 94/100 [00:00<00:00, 1989.93 it/sec] INFO - 16:16:33: 95%|█████████▌| 95/100 [00:00<00:00, 1989.96 it/sec] INFO - 16:16:33: 96%|█████████▌| 96/100 [00:00<00:00, 1989.96 it/sec] INFO - 16:16:33: 97%|█████████▋| 97/100 [00:00<00:00, 1989.89 it/sec] INFO - 16:16:33: 98%|█████████▊| 98/100 [00:00<00:00, 1990.53 it/sec] INFO - 16:16:33: 99%|█████████▉| 99/100 [00:00<00:00, 1990.52 it/sec] INFO - 16:16:33: 100%|██████████| 100/100 [00:00<00:00, 1977.81 it/sec] INFO - 16:16:33: *** 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.467 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 `_