.. 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-41 .. code-block:: Python from __future__ import annotations from gemseo import configure_logger 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 configure_logger() .. rst-class:: sphx-glr-script-out .. code-block:: none .. GENERATED FROM PYTHON SOURCE LINES 42-46 Create a parameter space ------------------------ Firstly, the creation of a :class:`.ParameterSpace` does not require any mandatory argument: .. GENERATED FROM PYTHON SOURCE LINES 46-48 .. code-block:: Python parameter_space = ParameterSpace() .. GENERATED FROM PYTHON SOURCE LINES 49-52 Then, we can add either deterministic variables from their lower and upper bounds (use :meth:`.ParameterSpace.add_variable`): .. GENERATED FROM PYTHON SOURCE LINES 52-54 .. code-block:: Python parameter_space.add_variable("x", lower_bound=-2.0, upper_bound=2.0) .. GENERATED FROM PYTHON SOURCE LINES 55-57 or uncertain variables from their distribution names and parameters (use :meth:`.ParameterSpace.add_random_variable`): .. GENERATED FROM PYTHON SOURCE LINES 57-62 .. 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 63-85 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 85-87 .. 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 88-102 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 104-121 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 123-128 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 128-131 .. code-block:: Python samples = parameter_space.compute_samples(n_samples=4) samples .. rst-class:: sphx-glr-script-out .. code-block:: none array([[-0.36083232], [-1.20201681], [-0.96802848], [ 1.41050784]]) .. GENERATED FROM PYTHON SOURCE LINES 132-134 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 134-137 .. 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([-1.01985301])}, {'y': array([-0.02482107])}] .. GENERATED FROM PYTHON SOURCE LINES 138-143 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 143-145 .. code-block:: Python discipline = create_discipline("AnalyticDiscipline", expressions={"z": "x+y"}) .. GENERATED FROM PYTHON SOURCE LINES 146-151 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 151-155 .. 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 WARNING - 20:35:18: No coupling in MDA, switching chain_linearize to True. INFO - 20:35:18: *** Start Sampling execution *** INFO - 20:35:18: Sampling INFO - 20:35:18: Disciplines: AnalyticDiscipline INFO - 20:35:18: MDO formulation: MDF INFO - 20:35:18: Running the algorithm PYDOE_LHS: INFO - 20:35:18: 1%| | 1/100 [00:00<00:00, 446.54 it/sec] INFO - 20:35:18: 2%|▏ | 2/100 [00:00<00:00, 725.66 it/sec] INFO - 20:35:18: 3%|▎ | 3/100 [00:00<00:00, 975.19 it/sec] INFO - 20:35:18: 4%|▍ | 4/100 [00:00<00:00, 1201.89 it/sec] INFO - 20:35:18: 5%|▌ | 5/100 [00:00<00:00, 1396.70 it/sec] INFO - 20:35:18: 6%|▌ | 6/100 [00:00<00:00, 1576.21 it/sec] INFO - 20:35:18: 7%|▋ | 7/100 [00:00<00:00, 1740.79 it/sec] INFO - 20:35:18: 8%|▊ | 8/100 [00:00<00:00, 1889.75 it/sec] INFO - 20:35:18: 9%|▉ | 9/100 [00:00<00:00, 2023.84 it/sec] INFO - 20:35:18: 10%|█ | 10/100 [00:00<00:00, 2133.75 it/sec] INFO - 20:35:18: 11%|█ | 11/100 [00:00<00:00, 2243.49 it/sec] INFO - 20:35:18: 12%|█▏ | 12/100 [00:00<00:00, 2349.97 it/sec] INFO - 20:35:18: 13%|█▎ | 13/100 [00:00<00:00, 2364.53 it/sec] INFO - 20:35:18: 14%|█▍ | 14/100 [00:00<00:00, 2431.28 it/sec] INFO - 20:35:18: 15%|█▌ | 15/100 [00:00<00:00, 2507.36 it/sec] INFO - 20:35:18: 16%|█▌ | 16/100 [00:00<00:00, 2584.39 it/sec] INFO - 20:35:18: 17%|█▋ | 17/100 [00:00<00:00, 2655.91 it/sec] INFO - 20:35:18: 18%|█▊ | 18/100 [00:00<00:00, 2716.62 it/sec] INFO - 20:35:18: 19%|█▉ | 19/100 [00:00<00:00, 2769.96 it/sec] INFO - 20:35:18: 20%|██ | 20/100 [00:00<00:00, 2828.45 it/sec] INFO - 20:35:18: 21%|██ | 21/100 [00:00<00:00, 2885.99 it/sec] INFO - 20:35:18: 22%|██▏ | 22/100 [00:00<00:00, 2940.28 it/sec] INFO - 20:35:18: 23%|██▎ | 23/100 [00:00<00:00, 2980.38 it/sec] INFO - 20:35:18: 24%|██▍ | 24/100 [00:00<00:00, 3028.01 it/sec] INFO - 20:35:18: 25%|██▌ | 25/100 [00:00<00:00, 3074.64 it/sec] INFO - 20:35:18: 26%|██▌ | 26/100 [00:00<00:00, 3119.87 it/sec] INFO - 20:35:18: 27%|██▋ | 27/100 [00:00<00:00, 3155.28 it/sec] INFO - 20:35:18: 28%|██▊ | 28/100 [00:00<00:00, 3192.10 it/sec] INFO - 20:35:18: 29%|██▉ | 29/100 [00:00<00:00, 3229.73 it/sec] INFO - 20:35:18: 30%|███ | 30/100 [00:00<00:00, 3267.27 it/sec] INFO - 20:35:18: 31%|███ | 31/100 [00:00<00:00, 3302.69 it/sec] INFO - 20:35:18: 32%|███▏ | 32/100 [00:00<00:00, 3327.49 it/sec] INFO - 20:35:18: 33%|███▎ | 33/100 [00:00<00:00, 3359.52 it/sec] INFO - 20:35:18: 34%|███▍ | 34/100 [00:00<00:00, 3391.51 it/sec] INFO - 20:35:18: 35%|███▌ | 35/100 [00:00<00:00, 3422.48 it/sec] INFO - 20:35:18: 36%|███▌ | 36/100 [00:00<00:00, 3452.34 it/sec] INFO - 20:35:18: 37%|███▋ | 37/100 [00:00<00:00, 3474.44 it/sec] INFO - 20:35:18: 38%|███▊ | 38/100 [00:00<00:00, 3500.63 it/sec] INFO - 20:35:18: 39%|███▉ | 39/100 [00:00<00:00, 3527.44 it/sec] INFO - 20:35:18: 40%|████ | 40/100 [00:00<00:00, 3554.04 it/sec] INFO - 20:35:18: 41%|████ | 41/100 [00:00<00:00, 3579.58 it/sec] INFO - 20:35:18: 42%|████▏ | 42/100 [00:00<00:00, 3598.79 it/sec] INFO - 20:35:18: 43%|████▎ | 43/100 [00:00<00:00, 3619.63 it/sec] INFO - 20:35:18: 44%|████▍ | 44/100 [00:00<00:00, 3641.46 it/sec] INFO - 20:35:18: 45%|████▌ | 45/100 [00:00<00:00, 3663.50 it/sec] INFO - 20:35:18: 46%|████▌ | 46/100 [00:00<00:00, 3684.69 it/sec] INFO - 20:35:18: 47%|████▋ | 47/100 [00:00<00:00, 3696.81 it/sec] INFO - 20:35:18: 48%|████▊ | 48/100 [00:00<00:00, 3716.64 it/sec] INFO - 20:35:18: 49%|████▉ | 49/100 [00:00<00:00, 3735.39 it/sec] INFO - 20:35:18: 50%|█████ | 50/100 [00:00<00:00, 3751.68 it/sec] INFO - 20:35:18: 51%|█████ | 51/100 [00:00<00:00, 3753.65 it/sec] INFO - 20:35:18: 52%|█████▏ | 52/100 [00:00<00:00, 3764.43 it/sec] INFO - 20:35:18: 53%|█████▎ | 53/100 [00:00<00:00, 3779.04 it/sec] INFO - 20:35:18: 54%|█████▍ | 54/100 [00:00<00:00, 3795.05 it/sec] INFO - 20:35:18: 55%|█████▌ | 55/100 [00:00<00:00, 3808.85 it/sec] INFO - 20:35:18: 56%|█████▌ | 56/100 [00:00<00:00, 3817.34 it/sec] INFO - 20:35:18: 57%|█████▋ | 57/100 [00:00<00:00, 3831.64 it/sec] INFO - 20:35:18: 58%|█████▊ | 58/100 [00:00<00:00, 3847.50 it/sec] INFO - 20:35:18: 59%|█████▉ | 59/100 [00:00<00:00, 3862.70 it/sec] INFO - 20:35:18: 60%|██████ | 60/100 [00:00<00:00, 3877.81 it/sec] INFO - 20:35:18: 61%|██████ | 61/100 [00:00<00:00, 3886.56 it/sec] INFO - 20:35:18: 62%|██████▏ | 62/100 [00:00<00:00, 3900.33 it/sec] INFO - 20:35:18: 63%|██████▎ | 63/100 [00:00<00:00, 3913.12 it/sec] INFO - 20:35:18: 64%|██████▍ | 64/100 [00:00<00:00, 3926.79 it/sec] INFO - 20:35:18: 65%|██████▌ | 65/100 [00:00<00:00, 3939.68 it/sec] INFO - 20:35:18: 66%|██████▌ | 66/100 [00:00<00:00, 3945.39 it/sec] INFO - 20:35:18: 67%|██████▋ | 67/100 [00:00<00:00, 3955.44 it/sec] INFO - 20:35:18: 68%|██████▊ | 68/100 [00:00<00:00, 3967.07 it/sec] INFO - 20:35:18: 69%|██████▉ | 69/100 [00:00<00:00, 3979.25 it/sec] INFO - 20:35:18: 70%|███████ | 70/100 [00:00<00:00, 3985.25 it/sec] INFO - 20:35:18: 71%|███████ | 71/100 [00:00<00:00, 3991.95 it/sec] INFO - 20:35:18: 72%|███████▏ | 72/100 [00:00<00:00, 4002.73 it/sec] INFO - 20:35:18: 73%|███████▎ | 73/100 [00:00<00:00, 4012.90 it/sec] INFO - 20:35:18: 74%|███████▍ | 74/100 [00:00<00:00, 4023.63 it/sec] INFO - 20:35:18: 75%|███████▌ | 75/100 [00:00<00:00, 4030.25 it/sec] INFO - 20:35:18: 76%|███████▌ | 76/100 [00:00<00:00, 4039.48 it/sec] INFO - 20:35:18: 77%|███████▋ | 77/100 [00:00<00:00, 4048.76 it/sec] INFO - 20:35:18: 78%|███████▊ | 78/100 [00:00<00:00, 4057.49 it/sec] INFO - 20:35:18: 79%|███████▉ | 79/100 [00:00<00:00, 4067.39 it/sec] INFO - 20:35:18: 80%|████████ | 80/100 [00:00<00:00, 4073.23 it/sec] INFO - 20:35:18: 81%|████████ | 81/100 [00:00<00:00, 4080.21 it/sec] INFO - 20:35:18: 82%|████████▏ | 82/100 [00:00<00:00, 4089.38 it/sec] INFO - 20:35:18: 83%|████████▎ | 83/100 [00:00<00:00, 4098.17 it/sec] INFO - 20:35:18: 84%|████████▍ | 84/100 [00:00<00:00, 4106.65 it/sec] INFO - 20:35:18: 85%|████████▌ | 85/100 [00:00<00:00, 4110.17 it/sec] INFO - 20:35:18: 86%|████████▌ | 86/100 [00:00<00:00, 4117.93 it/sec] INFO - 20:35:18: 87%|████████▋ | 87/100 [00:00<00:00, 4125.96 it/sec] INFO - 20:35:18: 88%|████████▊ | 88/100 [00:00<00:00, 4134.63 it/sec] INFO - 20:35:18: 89%|████████▉ | 89/100 [00:00<00:00, 4143.56 it/sec] INFO - 20:35:18: 90%|█████████ | 90/100 [00:00<00:00, 4145.57 it/sec] INFO - 20:35:18: 91%|█████████ | 91/100 [00:00<00:00, 4152.46 it/sec] INFO - 20:35:18: 92%|█████████▏| 92/100 [00:00<00:00, 4160.70 it/sec] INFO - 20:35:18: 93%|█████████▎| 93/100 [00:00<00:00, 4168.13 it/sec] INFO - 20:35:18: 94%|█████████▍| 94/100 [00:00<00:00, 4175.87 it/sec] INFO - 20:35:18: 95%|█████████▌| 95/100 [00:00<00:00, 4178.65 it/sec] INFO - 20:35:18: 96%|█████████▌| 96/100 [00:00<00:00, 4185.67 it/sec] INFO - 20:35:18: 97%|█████████▋| 97/100 [00:00<00:00, 4193.01 it/sec] INFO - 20:35:18: 98%|█████████▊| 98/100 [00:00<00:00, 4199.49 it/sec] INFO - 20:35:18: 99%|█████████▉| 99/100 [00:00<00:00, 4172.18 it/sec] INFO - 20:35:18: 100%|██████████| 100/100 [00:00<00:00, 4176.51 it/sec] INFO - 20:35:18: *** End Sampling execution *** .. GENERATED FROM PYTHON SOURCE LINES 156-157 and visualize it in a tabular way: .. GENERATED FROM PYTHON SOURCE LINES 157-159 .. 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 160-162 or with a graphical post-processing, e.g. a scatter plot matrix: .. GENERATED FROM PYTHON SOURCE LINES 162-164 .. 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 165-169 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 169-171 .. 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 172-174 If we want to sample a discipline over the uncertain space only, we need to extract it: .. GENERATED FROM PYTHON SOURCE LINES 174-176 .. code-block:: Python uncertain_space = parameter_space.extract_uncertain_space() .. GENERATED FROM PYTHON SOURCE LINES 177-178 Then, we sample the discipline over this uncertain space: .. GENERATED FROM PYTHON SOURCE LINES 178-182 .. 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 WARNING - 20:35:18: No coupling in MDA, switching chain_linearize to True. INFO - 20:35:18: *** Start Sampling execution *** INFO - 20:35:18: Sampling INFO - 20:35:18: Disciplines: AnalyticDiscipline INFO - 20:35:18: MDO formulation: MDF INFO - 20:35:18: Running the algorithm PYDOE_LHS: INFO - 20:35:18: 1%| | 1/100 [00:00<00:00, 2706.00 it/sec] INFO - 20:35:18: 2%|▏ | 2/100 [00:00<00:00, 2688.66 it/sec] INFO - 20:35:18: 3%|▎ | 3/100 [00:00<00:00, 2831.44 it/sec] INFO - 20:35:18: 4%|▍ | 4/100 [00:00<00:00, 3009.91 it/sec] INFO - 20:35:18: 5%|▌ | 5/100 [00:00<00:00, 3164.08 it/sec] INFO - 20:35:18: 6%|▌ | 6/100 [00:00<00:00, 3294.82 it/sec] INFO - 20:35:18: 7%|▋ | 7/100 [00:00<00:00, 3348.55 it/sec] INFO - 20:35:18: 8%|▊ | 8/100 [00:00<00:00, 3441.13 it/sec] INFO - 20:35:18: 9%|▉ | 9/100 [00:00<00:00, 3528.58 it/sec] INFO - 20:35:18: 10%|█ | 10/100 [00:00<00:00, 3568.10 it/sec] INFO - 20:35:18: 11%|█ | 11/100 [00:00<00:00, 3604.48 it/sec] INFO - 20:35:18: 12%|█▏ | 12/100 [00:00<00:00, 3663.41 it/sec] INFO - 20:35:18: 13%|█▎ | 13/100 [00:00<00:00, 3714.81 it/sec] INFO - 20:35:18: 14%|█▍ | 14/100 [00:00<00:00, 3760.50 it/sec] INFO - 20:35:18: 15%|█▌ | 15/100 [00:00<00:00, 3780.92 it/sec] INFO - 20:35:18: 16%|█▌ | 16/100 [00:00<00:00, 3784.19 it/sec] INFO - 20:35:18: 17%|█▋ | 17/100 [00:00<00:00, 3808.93 it/sec] INFO - 20:35:18: 18%|█▊ | 18/100 [00:00<00:00, 3833.33 it/sec] INFO - 20:35:18: 19%|█▉ | 19/100 [00:00<00:00, 3842.42 it/sec] INFO - 20:35:18: 20%|██ | 20/100 [00:00<00:00, 3860.56 it/sec] INFO - 20:35:18: 21%|██ | 21/100 [00:00<00:00, 3884.47 it/sec] INFO - 20:35:18: 22%|██▏ | 22/100 [00:00<00:00, 3906.96 it/sec] INFO - 20:35:18: 23%|██▎ | 23/100 [00:00<00:00, 3930.93 it/sec] INFO - 20:35:18: 24%|██▍ | 24/100 [00:00<00:00, 3927.56 it/sec] INFO - 20:35:18: 25%|██▌ | 25/100 [00:00<00:00, 3946.17 it/sec] INFO - 20:35:18: 26%|██▌ | 26/100 [00:00<00:00, 3965.52 it/sec] INFO - 20:35:18: 27%|██▋ | 27/100 [00:00<00:00, 3986.28 it/sec] INFO - 20:35:18: 28%|██▊ | 28/100 [00:00<00:00, 3993.76 it/sec] INFO - 20:35:18: 29%|██▉ | 29/100 [00:00<00:00, 4010.38 it/sec] INFO - 20:35:18: 30%|███ | 30/100 [00:00<00:00, 4030.01 it/sec] INFO - 20:35:18: 31%|███ | 31/100 [00:00<00:00, 4046.67 it/sec] INFO - 20:35:18: 32%|███▏ | 32/100 [00:00<00:00, 4054.43 it/sec] INFO - 20:35:18: 33%|███▎ | 33/100 [00:00<00:00, 4065.80 it/sec] INFO - 20:35:18: 34%|███▍ | 34/100 [00:00<00:00, 4078.20 it/sec] INFO - 20:35:18: 35%|███▌ | 35/100 [00:00<00:00, 4088.02 it/sec] INFO - 20:35:18: 36%|███▌ | 36/100 [00:00<00:00, 4098.89 it/sec] INFO - 20:35:18: 37%|███▋ | 37/100 [00:00<00:00, 4102.71 it/sec] INFO - 20:35:18: 38%|███▊ | 38/100 [00:00<00:00, 4113.23 it/sec] INFO - 20:35:18: 39%|███▉ | 39/100 [00:00<00:00, 4126.27 it/sec] INFO - 20:35:18: 40%|████ | 40/100 [00:00<00:00, 4136.60 it/sec] INFO - 20:35:18: 41%|████ | 41/100 [00:00<00:00, 4137.39 it/sec] INFO - 20:35:18: 42%|████▏ | 42/100 [00:00<00:00, 4143.69 it/sec] INFO - 20:35:18: 43%|████▎ | 43/100 [00:00<00:00, 4152.30 it/sec] INFO - 20:35:18: 44%|████▍ | 44/100 [00:00<00:00, 4161.77 it/sec] INFO - 20:35:18: 45%|████▌ | 45/100 [00:00<00:00, 4171.32 it/sec] INFO - 20:35:18: 46%|████▌ | 46/100 [00:00<00:00, 4172.08 it/sec] INFO - 20:35:18: 47%|████▋ | 47/100 [00:00<00:00, 4178.92 it/sec] INFO - 20:35:18: 48%|████▊ | 48/100 [00:00<00:00, 4187.93 it/sec] INFO - 20:35:18: 49%|████▉ | 49/100 [00:00<00:00, 4195.59 it/sec] INFO - 20:35:18: 50%|█████ | 50/100 [00:00<00:00, 4197.07 it/sec] INFO - 20:35:18: 51%|█████ | 51/100 [00:00<00:00, 4200.07 it/sec] INFO - 20:35:18: 52%|█████▏ | 52/100 [00:00<00:00, 4204.09 it/sec] INFO - 20:35:18: 53%|█████▎ | 53/100 [00:00<00:00, 4210.03 it/sec] INFO - 20:35:18: 54%|█████▍ | 54/100 [00:00<00:00, 4216.56 it/sec] INFO - 20:35:18: 55%|█████▌ | 55/100 [00:00<00:00, 4214.69 it/sec] INFO - 20:35:18: 56%|█████▌ | 56/100 [00:00<00:00, 4220.08 it/sec] INFO - 20:35:18: 57%|█████▋ | 57/100 [00:00<00:00, 4226.56 it/sec] INFO - 20:35:18: 58%|█████▊ | 58/100 [00:00<00:00, 4233.65 it/sec] INFO - 20:35:18: 59%|█████▉ | 59/100 [00:00<00:00, 4232.25 it/sec] INFO - 20:35:18: 60%|██████ | 60/100 [00:00<00:00, 4236.67 it/sec] INFO - 20:35:18: 61%|██████ | 61/100 [00:00<00:00, 4242.64 it/sec] INFO - 20:35:18: 62%|██████▏ | 62/100 [00:00<00:00, 4248.65 it/sec] INFO - 20:35:18: 63%|██████▎ | 63/100 [00:00<00:00, 4254.68 it/sec] INFO - 20:35:18: 64%|██████▍ | 64/100 [00:00<00:00, 4253.45 it/sec] INFO - 20:35:18: 65%|██████▌ | 65/100 [00:00<00:00, 4258.51 it/sec] INFO - 20:35:18: 66%|██████▌ | 66/100 [00:00<00:00, 4263.88 it/sec] INFO - 20:35:18: 67%|██████▋ | 67/100 [00:00<00:00, 4268.72 it/sec] INFO - 20:35:18: 68%|██████▊ | 68/100 [00:00<00:00, 4269.65 it/sec] INFO - 20:35:18: 69%|██████▉ | 69/100 [00:00<00:00, 4272.95 it/sec] INFO - 20:35:18: 70%|███████ | 70/100 [00:00<00:00, 4277.66 it/sec] INFO - 20:35:18: 71%|███████ | 71/100 [00:00<00:00, 4281.81 it/sec] INFO - 20:35:18: 72%|███████▏ | 72/100 [00:00<00:00, 4287.01 it/sec] INFO - 20:35:18: 73%|███████▎ | 73/100 [00:00<00:00, 4286.37 it/sec] INFO - 20:35:18: 74%|███████▍ | 74/100 [00:00<00:00, 4290.31 it/sec] INFO - 20:35:18: 75%|███████▌ | 75/100 [00:00<00:00, 4295.39 it/sec] INFO - 20:35:18: 76%|███████▌ | 76/100 [00:00<00:00, 4300.46 it/sec] INFO - 20:35:18: 77%|███████▋ | 77/100 [00:00<00:00, 4298.30 it/sec] INFO - 20:35:18: 78%|███████▊ | 78/100 [00:00<00:00, 4301.23 it/sec] INFO - 20:35:18: 79%|███████▉ | 79/100 [00:00<00:00, 4267.39 it/sec] INFO - 20:35:18: 80%|████████ | 80/100 [00:00<00:00, 4268.58 it/sec] INFO - 20:35:18: 81%|████████ | 81/100 [00:00<00:00, 4267.05 it/sec] INFO - 20:35:18: 82%|████████▏ | 82/100 [00:00<00:00, 4269.22 it/sec] INFO - 20:35:18: 83%|████████▎ | 83/100 [00:00<00:00, 4271.03 it/sec] INFO - 20:35:18: 84%|████████▍ | 84/100 [00:00<00:00, 4274.81 it/sec] INFO - 20:35:18: 85%|████████▌ | 85/100 [00:00<00:00, 4275.49 it/sec] INFO - 20:35:18: 86%|████████▌ | 86/100 [00:00<00:00, 4275.79 it/sec] INFO - 20:35:18: 87%|████████▋ | 87/100 [00:00<00:00, 4278.80 it/sec] INFO - 20:35:18: 88%|████████▊ | 88/100 [00:00<00:00, 4282.04 it/sec] INFO - 20:35:18: 89%|████████▉ | 89/100 [00:00<00:00, 4285.65 it/sec] INFO - 20:35:18: 90%|█████████ | 90/100 [00:00<00:00, 4284.52 it/sec] INFO - 20:35:18: 91%|█████████ | 91/100 [00:00<00:00, 4287.02 it/sec] INFO - 20:35:18: 92%|█████████▏| 92/100 [00:00<00:00, 4290.51 it/sec] INFO - 20:35:18: 93%|█████████▎| 93/100 [00:00<00:00, 4292.86 it/sec] INFO - 20:35:18: 94%|█████████▍| 94/100 [00:00<00:00, 4292.53 it/sec] INFO - 20:35:18: 95%|█████████▌| 95/100 [00:00<00:00, 4292.72 it/sec] INFO - 20:35:18: 96%|█████████▌| 96/100 [00:00<00:00, 4294.83 it/sec] INFO - 20:35:18: 97%|█████████▋| 97/100 [00:00<00:00, 4298.03 it/sec] INFO - 20:35:18: 98%|█████████▊| 98/100 [00:00<00:00, 4300.73 it/sec] INFO - 20:35:18: 99%|█████████▉| 99/100 [00:00<00:00, 4299.04 it/sec] INFO - 20:35:18: 100%|██████████| 100/100 [00:00<00:00, 4300.79 it/sec] INFO - 20:35:18: *** 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.337 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 `_