.. 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.18117067], [-0.98115293], [-0.23722144], [-0.02840998]]) .. 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([-1.77667104])}, {'y': array([0.02361843])}] .. 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:21:54: *** Start Sampling execution *** INFO - 16:21:54: Sampling INFO - 16:21:54: Disciplines: AnalyticDiscipline INFO - 16:21:54: MDO formulation: MDF INFO - 16:21:54: Running the algorithm PYDOE_LHS: INFO - 16:21:54: 1%| | 1/100 [00:00<00:00, 548.99 it/sec] INFO - 16:21:54: 2%|▏ | 2/100 [00:00<00:00, 912.90 it/sec] INFO - 16:21:54: 3%|▎ | 3/100 [00:00<00:00, 1213.16 it/sec] INFO - 16:21:54: 4%|▍ | 4/100 [00:00<00:00, 1465.26 it/sec] INFO - 16:21:54: 5%|▌ | 5/100 [00:00<00:00, 1680.14 it/sec] INFO - 16:21:54: 6%|▌ | 6/100 [00:00<00:00, 1852.88 it/sec] INFO - 16:21:54: 7%|▋ | 7/100 [00:00<00:00, 2013.04 it/sec] INFO - 16:21:54: 8%|▊ | 8/100 [00:00<00:00, 2154.10 it/sec] INFO - 16:21:54: 9%|▉ | 9/100 [00:00<00:00, 2280.89 it/sec] INFO - 16:21:54: 10%|█ | 10/100 [00:00<00:00, 2382.99 it/sec] INFO - 16:21:54: 11%|█ | 11/100 [00:00<00:00, 2481.44 it/sec] INFO - 16:21:54: 12%|█▏ | 12/100 [00:00<00:00, 2566.50 it/sec] INFO - 16:21:54: 13%|█▎ | 13/100 [00:00<00:00, 2593.02 it/sec] INFO - 16:21:54: 14%|█▍ | 14/100 [00:00<00:00, 2651.87 it/sec] INFO - 16:21:54: 15%|█▌ | 15/100 [00:00<00:00, 2719.57 it/sec] INFO - 16:21:54: 16%|█▌ | 16/100 [00:00<00:00, 2784.95 it/sec] INFO - 16:21:54: 17%|█▋ | 17/100 [00:00<00:00, 2847.00 it/sec] INFO - 16:21:54: 18%|█▊ | 18/100 [00:00<00:00, 2895.51 it/sec] INFO - 16:21:54: 19%|█▉ | 19/100 [00:00<00:00, 2945.44 it/sec] INFO - 16:21:54: 20%|██ | 20/100 [00:00<00:00, 2995.18 it/sec] INFO - 16:21:54: 21%|██ | 21/100 [00:00<00:00, 3041.03 it/sec] INFO - 16:21:54: 22%|██▏ | 22/100 [00:00<00:00, 3075.93 it/sec] INFO - 16:21:54: 23%|██▎ | 23/100 [00:00<00:00, 3115.82 it/sec] INFO - 16:21:54: 24%|██▍ | 24/100 [00:00<00:00, 3156.08 it/sec] INFO - 16:21:54: 25%|██▌ | 25/100 [00:00<00:00, 3192.89 it/sec] INFO - 16:21:54: 26%|██▌ | 26/100 [00:00<00:00, 3227.82 it/sec] INFO - 16:21:54: 27%|██▋ | 27/100 [00:00<00:00, 3251.03 it/sec] INFO - 16:21:54: 28%|██▊ | 28/100 [00:00<00:00, 3281.38 it/sec] INFO - 16:21:54: 29%|██▉ | 29/100 [00:00<00:00, 3306.91 it/sec] INFO - 16:21:54: 30%|███ | 30/100 [00:00<00:00, 3334.28 it/sec] INFO - 16:21:54: 31%|███ | 31/100 [00:00<00:00, 3353.45 it/sec] INFO - 16:21:54: 32%|███▏ | 32/100 [00:00<00:00, 3378.33 it/sec] INFO - 16:21:54: 33%|███▎ | 33/100 [00:00<00:00, 3404.89 it/sec] INFO - 16:21:54: 34%|███▍ | 34/100 [00:00<00:00, 3429.52 it/sec] INFO - 16:21:54: 35%|███▌ | 35/100 [00:00<00:00, 3445.70 it/sec] INFO - 16:21:54: 36%|███▌ | 36/100 [00:00<00:00, 3465.81 it/sec] INFO - 16:21:54: 37%|███▋ | 37/100 [00:00<00:00, 3487.48 it/sec] INFO - 16:21:54: 38%|███▊ | 38/100 [00:00<00:00, 3509.11 it/sec] INFO - 16:21:54: 39%|███▉ | 39/100 [00:00<00:00, 3529.80 it/sec] INFO - 16:21:54: 40%|████ | 40/100 [00:00<00:00, 3540.47 it/sec] INFO - 16:21:54: 41%|████ | 41/100 [00:00<00:00, 3557.51 it/sec] INFO - 16:21:54: 42%|████▏ | 42/100 [00:00<00:00, 3575.49 it/sec] INFO - 16:21:54: 43%|████▎ | 43/100 [00:00<00:00, 3592.37 it/sec] INFO - 16:21:54: 44%|████▍ | 44/100 [00:00<00:00, 3604.34 it/sec] INFO - 16:21:54: 45%|████▌ | 45/100 [00:00<00:00, 3619.32 it/sec] INFO - 16:21:54: 46%|████▌ | 46/100 [00:00<00:00, 3633.14 it/sec] INFO - 16:21:54: 47%|████▋ | 47/100 [00:00<00:00, 3647.29 it/sec] INFO - 16:21:54: 48%|████▊ | 48/100 [00:00<00:00, 3656.36 it/sec] INFO - 16:21:54: 49%|████▉ | 49/100 [00:00<00:00, 3669.49 it/sec] INFO - 16:21:54: 50%|█████ | 50/100 [00:00<00:00, 3683.16 it/sec] INFO - 16:21:54: 51%|█████ | 51/100 [00:00<00:00, 3695.17 it/sec] INFO - 16:21:54: 52%|█████▏ | 52/100 [00:00<00:00, 3707.80 it/sec] INFO - 16:21:54: 53%|█████▎ | 53/100 [00:00<00:00, 3713.32 it/sec] INFO - 16:21:54: 54%|█████▍ | 54/100 [00:00<00:00, 3725.33 it/sec] INFO - 16:21:54: 55%|█████▌ | 55/100 [00:00<00:00, 3737.69 it/sec] INFO - 16:21:54: 56%|█████▌ | 56/100 [00:00<00:00, 3750.48 it/sec] INFO - 16:21:54: 57%|█████▋ | 57/100 [00:00<00:00, 3756.74 it/sec] INFO - 16:21:54: 58%|█████▊ | 58/100 [00:00<00:00, 3766.95 it/sec] INFO - 16:21:54: 59%|█████▉ | 59/100 [00:00<00:00, 3778.36 it/sec] INFO - 16:21:54: 60%|██████ | 60/100 [00:00<00:00, 3789.98 it/sec] INFO - 16:21:54: 61%|██████ | 61/100 [00:00<00:00, 3800.32 it/sec] INFO - 16:21:54: 62%|██████▏ | 62/100 [00:00<00:00, 3804.97 it/sec] INFO - 16:21:54: 63%|██████▎ | 63/100 [00:00<00:00, 3813.72 it/sec] INFO - 16:21:54: 64%|██████▍ | 64/100 [00:00<00:00, 3820.76 it/sec] INFO - 16:21:54: 65%|██████▌ | 65/100 [00:00<00:00, 3829.72 it/sec] INFO - 16:21:54: 66%|██████▌ | 66/100 [00:00<00:00, 3834.02 it/sec] INFO - 16:21:54: 67%|██████▋ | 67/100 [00:00<00:00, 3841.36 it/sec] INFO - 16:21:54: 68%|██████▊ | 68/100 [00:00<00:00, 3850.06 it/sec] INFO - 16:21:54: 69%|██████▉ | 69/100 [00:00<00:00, 3858.50 it/sec] INFO - 16:21:54: 70%|███████ | 70/100 [00:00<00:00, 3863.33 it/sec] INFO - 16:21:54: 71%|███████ | 71/100 [00:00<00:00, 3870.39 it/sec] INFO - 16:21:54: 72%|███████▏ | 72/100 [00:00<00:00, 3877.88 it/sec] INFO - 16:21:54: 73%|███████▎ | 73/100 [00:00<00:00, 3884.85 it/sec] INFO - 16:21:54: 74%|███████▍ | 74/100 [00:00<00:00, 3892.63 it/sec] INFO - 16:21:54: 75%|███████▌ | 75/100 [00:00<00:00, 3894.43 it/sec] INFO - 16:21:54: 76%|███████▌ | 76/100 [00:00<00:00, 3900.91 it/sec] INFO - 16:21:54: 77%|███████▋ | 77/100 [00:00<00:00, 3907.72 it/sec] INFO - 16:21:54: 78%|███████▊ | 78/100 [00:00<00:00, 3914.61 it/sec] INFO - 16:21:54: 79%|███████▉ | 79/100 [00:00<00:00, 3917.59 it/sec] INFO - 16:21:54: 80%|████████ | 80/100 [00:00<00:00, 3922.48 it/sec] INFO - 16:21:54: 81%|████████ | 81/100 [00:00<00:00, 3927.61 it/sec] INFO - 16:21:54: 82%|████████▏ | 82/100 [00:00<00:00, 3932.37 it/sec] INFO - 16:21:54: 83%|████████▎ | 83/100 [00:00<00:00, 3935.06 it/sec] INFO - 16:21:54: 84%|████████▍ | 84/100 [00:00<00:00, 3939.06 it/sec] INFO - 16:21:54: 85%|████████▌ | 85/100 [00:00<00:00, 3944.15 it/sec] INFO - 16:21:54: 86%|████████▌ | 86/100 [00:00<00:00, 3948.88 it/sec] INFO - 16:21:54: 87%|████████▋ | 87/100 [00:00<00:00, 3953.46 it/sec] INFO - 16:21:54: 88%|████████▊ | 88/100 [00:00<00:00, 3954.43 it/sec] INFO - 16:21:54: 89%|████████▉ | 89/100 [00:00<00:00, 3958.53 it/sec] INFO - 16:21:54: 90%|█████████ | 90/100 [00:00<00:00, 3963.70 it/sec] INFO - 16:21:54: 91%|█████████ | 91/100 [00:00<00:00, 3968.45 it/sec] INFO - 16:21:54: 92%|█████████▏| 92/100 [00:00<00:00, 3970.16 it/sec] INFO - 16:21:54: 93%|█████████▎| 93/100 [00:00<00:00, 3973.62 it/sec] INFO - 16:21:54: 94%|█████████▍| 94/100 [00:00<00:00, 3978.29 it/sec] INFO - 16:21:54: 95%|█████████▌| 95/100 [00:00<00:00, 3983.15 it/sec] INFO - 16:21:54: 96%|█████████▌| 96/100 [00:00<00:00, 3985.44 it/sec] INFO - 16:21:54: 97%|█████████▋| 97/100 [00:00<00:00, 3988.90 it/sec] INFO - 16:21:54: 98%|█████████▊| 98/100 [00:00<00:00, 3992.67 it/sec] INFO - 16:21:54: 99%|█████████▉| 99/100 [00:00<00:00, 3981.25 it/sec] INFO - 16:21:54: 100%|██████████| 100/100 [00:00<00:00, 3942.98 it/sec] INFO - 16:21:54: *** 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:21:54: *** Start Sampling execution *** INFO - 16:21:54: Sampling INFO - 16:21:54: Disciplines: AnalyticDiscipline INFO - 16:21:54: MDO formulation: MDF INFO - 16:21:54: Running the algorithm PYDOE_LHS: INFO - 16:21:54: 1%| | 1/100 [00:00<00:00, 3463.50 it/sec] INFO - 16:21:54: 2%|▏ | 2/100 [00:00<00:00, 3113.81 it/sec] INFO - 16:21:54: 3%|▎ | 3/100 [00:00<00:00, 3226.39 it/sec] INFO - 16:21:54: 4%|▍ | 4/100 [00:00<00:00, 3332.78 it/sec] INFO - 16:21:54: 5%|▌ | 5/100 [00:00<00:00, 3366.76 it/sec] INFO - 16:21:54: 6%|▌ | 6/100 [00:00<00:00, 3419.27 it/sec] INFO - 16:21:54: 7%|▋ | 7/100 [00:00<00:00, 3465.14 it/sec] INFO - 16:21:54: 8%|▊ | 8/100 [00:00<00:00, 3515.39 it/sec] INFO - 16:21:54: 9%|▉ | 9/100 [00:00<00:00, 3535.19 it/sec] INFO - 16:21:54: 10%|█ | 10/100 [00:00<00:00, 3574.18 it/sec] INFO - 16:21:54: 11%|█ | 11/100 [00:00<00:00, 3610.97 it/sec] INFO - 16:21:54: 12%|█▏ | 12/100 [00:00<00:00, 3640.89 it/sec] INFO - 16:21:54: 13%|█▎ | 13/100 [00:00<00:00, 3650.15 it/sec] INFO - 16:21:54: 14%|█▍ | 14/100 [00:00<00:00, 3674.84 it/sec] INFO - 16:21:54: 15%|█▌ | 15/100 [00:00<00:00, 3699.33 it/sec] INFO - 16:21:54: 16%|█▌ | 16/100 [00:00<00:00, 3721.24 it/sec] INFO - 16:21:54: 17%|█▋ | 17/100 [00:00<00:00, 3726.32 it/sec] INFO - 16:21:54: 18%|█▊ | 18/100 [00:00<00:00, 3741.76 it/sec] INFO - 16:21:54: 19%|█▉ | 19/100 [00:00<00:00, 3758.51 it/sec] INFO - 16:21:54: 20%|██ | 20/100 [00:00<00:00, 3776.78 it/sec] INFO - 16:21:54: 21%|██ | 21/100 [00:00<00:00, 3778.33 it/sec] INFO - 16:21:54: 22%|██▏ | 22/100 [00:00<00:00, 3789.98 it/sec] INFO - 16:21:54: 23%|██▎ | 23/100 [00:00<00:00, 3799.64 it/sec] INFO - 16:21:54: 24%|██▍ | 24/100 [00:00<00:00, 3814.30 it/sec] INFO - 16:21:54: 25%|██▌ | 25/100 [00:00<00:00, 3816.33 it/sec] INFO - 16:21:54: 26%|██▌ | 26/100 [00:00<00:00, 3827.05 it/sec] INFO - 16:21:54: 27%|██▋ | 27/100 [00:00<00:00, 3839.64 it/sec] INFO - 16:21:54: 28%|██▊ | 28/100 [00:00<00:00, 3849.50 it/sec] INFO - 16:21:54: 29%|██▉ | 29/100 [00:00<00:00, 3848.47 it/sec] INFO - 16:21:54: 30%|███ | 30/100 [00:00<00:00, 3853.41 it/sec] INFO - 16:21:54: 31%|███ | 31/100 [00:00<00:00, 3863.77 it/sec] INFO - 16:21:54: 32%|███▏ | 32/100 [00:00<00:00, 3873.08 it/sec] INFO - 16:21:54: 33%|███▎ | 33/100 [00:00<00:00, 3873.29 it/sec] INFO - 16:21:54: 34%|███▍ | 34/100 [00:00<00:00, 3879.49 it/sec] INFO - 16:21:54: 35%|███▌ | 35/100 [00:00<00:00, 3887.63 it/sec] INFO - 16:21:54: 36%|███▌ | 36/100 [00:00<00:00, 3897.35 it/sec] INFO - 16:21:54: 37%|███▋ | 37/100 [00:00<00:00, 3897.76 it/sec] INFO - 16:21:54: 38%|███▊ | 38/100 [00:00<00:00, 3903.68 it/sec] INFO - 16:21:54: 39%|███▉ | 39/100 [00:00<00:00, 3904.94 it/sec] INFO - 16:21:54: 40%|████ | 40/100 [00:00<00:00, 3863.94 it/sec] INFO - 16:21:54: 41%|████ | 41/100 [00:00<00:00, 3851.78 it/sec] INFO - 16:21:54: 42%|████▏ | 42/100 [00:00<00:00, 3852.19 it/sec] INFO - 16:21:54: 43%|████▎ | 43/100 [00:00<00:00, 3855.72 it/sec] INFO - 16:21:54: 44%|████▍ | 44/100 [00:00<00:00, 3854.82 it/sec] INFO - 16:21:54: 45%|████▌ | 45/100 [00:00<00:00, 3855.37 it/sec] INFO - 16:21:54: 46%|████▌ | 46/100 [00:00<00:00, 3860.23 it/sec] INFO - 16:21:54: 47%|████▋ | 47/100 [00:00<00:00, 3865.11 it/sec] INFO - 16:21:54: 48%|████▊ | 48/100 [00:00<00:00, 3863.79 it/sec] INFO - 16:21:54: 49%|████▉ | 49/100 [00:00<00:00, 3867.17 it/sec] INFO - 16:21:54: 50%|█████ | 50/100 [00:00<00:00, 3872.36 it/sec] INFO - 16:21:54: 51%|█████ | 51/100 [00:00<00:00, 3877.42 it/sec] INFO - 16:21:54: 52%|█████▏ | 52/100 [00:00<00:00, 3876.92 it/sec] INFO - 16:21:54: 53%|█████▎ | 53/100 [00:00<00:00, 3877.79 it/sec] INFO - 16:21:54: 54%|█████▍ | 54/100 [00:00<00:00, 3878.36 it/sec] INFO - 16:21:54: 55%|█████▌ | 55/100 [00:00<00:00, 3880.87 it/sec] INFO - 16:21:54: 56%|█████▌ | 56/100 [00:00<00:00, 3879.32 it/sec] INFO - 16:21:54: 57%|█████▋ | 57/100 [00:00<00:00, 3881.47 it/sec] INFO - 16:21:54: 58%|█████▊ | 58/100 [00:00<00:00, 3885.60 it/sec] INFO - 16:21:54: 59%|█████▉ | 59/100 [00:00<00:00, 3889.60 it/sec] INFO - 16:21:54: 60%|██████ | 60/100 [00:00<00:00, 3889.68 it/sec] INFO - 16:21:54: 61%|██████ | 61/100 [00:00<00:00, 3892.60 it/sec] INFO - 16:21:54: 62%|██████▏ | 62/100 [00:00<00:00, 3896.18 it/sec] INFO - 16:21:54: 63%|██████▎ | 63/100 [00:00<00:00, 3900.53 it/sec] INFO - 16:21:54: 64%|██████▍ | 64/100 [00:00<00:00, 3901.28 it/sec] INFO - 16:21:54: 65%|██████▌ | 65/100 [00:00<00:00, 3902.85 it/sec] INFO - 16:21:54: 66%|██████▌ | 66/100 [00:00<00:00, 3907.35 it/sec] INFO - 16:21:54: 67%|██████▋ | 67/100 [00:00<00:00, 3910.75 it/sec] INFO - 16:21:54: 68%|██████▊ | 68/100 [00:00<00:00, 3915.07 it/sec] INFO - 16:21:54: 69%|██████▉ | 69/100 [00:00<00:00, 3913.71 it/sec] INFO - 16:21:54: 70%|███████ | 70/100 [00:00<00:00, 3917.24 it/sec] INFO - 16:21:54: 71%|███████ | 71/100 [00:00<00:00, 3917.80 it/sec] INFO - 16:21:54: 72%|███████▏ | 72/100 [00:00<00:00, 3919.86 it/sec] INFO - 16:21:54: 73%|███████▎ | 73/100 [00:00<00:00, 3917.90 it/sec] INFO - 16:21:54: 74%|███████▍ | 74/100 [00:00<00:00, 3921.40 it/sec] INFO - 16:21:54: 75%|███████▌ | 75/100 [00:00<00:00, 3925.39 it/sec] INFO - 16:21:54: 76%|███████▌ | 76/100 [00:00<00:00, 3928.95 it/sec] INFO - 16:21:54: 77%|███████▋ | 77/100 [00:00<00:00, 3928.11 it/sec] INFO - 16:21:54: 78%|███████▊ | 78/100 [00:00<00:00, 3931.45 it/sec] INFO - 16:21:54: 79%|███████▉ | 79/100 [00:00<00:00, 3935.13 it/sec] INFO - 16:21:54: 80%|████████ | 80/100 [00:00<00:00, 3938.41 it/sec] INFO - 16:21:54: 81%|████████ | 81/100 [00:00<00:00, 3936.63 it/sec] INFO - 16:21:54: 82%|████████▏ | 82/100 [00:00<00:00, 3939.62 it/sec] INFO - 16:21:54: 83%|████████▎ | 83/100 [00:00<00:00, 3943.09 it/sec] INFO - 16:21:54: 84%|████████▍ | 84/100 [00:00<00:00, 3946.12 it/sec] INFO - 16:21:54: 85%|████████▌ | 85/100 [00:00<00:00, 3945.02 it/sec] INFO - 16:21:54: 86%|████████▌ | 86/100 [00:00<00:00, 3946.54 it/sec] INFO - 16:21:54: 87%|████████▋ | 87/100 [00:00<00:00, 3946.28 it/sec] INFO - 16:21:54: 88%|████████▊ | 88/100 [00:00<00:00, 3947.96 it/sec] INFO - 16:21:54: 89%|████████▉ | 89/100 [00:00<00:00, 3946.68 it/sec] INFO - 16:21:54: 90%|█████████ | 90/100 [00:00<00:00, 3947.83 it/sec] INFO - 16:21:54: 91%|█████████ | 91/100 [00:00<00:00, 3949.85 it/sec] INFO - 16:21:54: 92%|█████████▏| 92/100 [00:00<00:00, 3952.35 it/sec] INFO - 16:21:54: 93%|█████████▎| 93/100 [00:00<00:00, 3950.96 it/sec] INFO - 16:21:54: 94%|█████████▍| 94/100 [00:00<00:00, 3952.05 it/sec] INFO - 16:21:54: 95%|█████████▌| 95/100 [00:00<00:00, 3954.18 it/sec] INFO - 16:21:54: 96%|█████████▌| 96/100 [00:00<00:00, 3956.46 it/sec] INFO - 16:21:54: 97%|█████████▋| 97/100 [00:00<00:00, 3955.35 it/sec] INFO - 16:21:54: 98%|█████████▊| 98/100 [00:00<00:00, 3956.97 it/sec] INFO - 16:21:54: 99%|█████████▉| 99/100 [00:00<00:00, 3959.08 it/sec] INFO - 16:21:54: 100%|██████████| 100/100 [00:00<00:00, 3923.14 it/sec] INFO - 16:21:54: *** 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.314 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 `_