Skip to content

Commit

Permalink
CircleCI build openturns 15043
Browse files Browse the repository at this point in the history
  • Loading branch information
CircleCI committed Nov 13, 2023
1 parent 864db84 commit c2c9983
Show file tree
Hide file tree
Showing 179 changed files with 5,974 additions and 699 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import openturns as ot
import openturns.experimental as otexp
from openturns.viewer import View

ot.ResourceMap.SetAsUnsignedInteger("Distribution-DefaultIntegrationNodesNumber", 64)
ot.ResourceMap.SetAsUnsignedInteger("Mesh-LargeSize", 0)

grid = ot.GridLayout(2, 2)
threshold = 0.2
inVars = ["x1", "x2"]
formula = "sin(x1)*sin(x2)"
f = ot.SymbolicFunction(inVars, [formula])
levelSet = ot.LevelSet(f, ot.Less(), threshold)
xMin = [-5.0] * 2
xMax = [5.0] * 2
box = ot.Interval(xMin, xMax)
mesh = ot.LevelSetMesher([51] * 2).build(levelSet, box, False)
pdf_2d = ot.Graph("Normal distribution over a mesh, PDF", "x1", "x2", True)
cdf_2d = ot.Graph("Normal distribution over a mesh, CDF", "x1", "x2", True)
dist = ot.Normal([0] * 2, [2] * 2)
distribution_2d = otexp.TruncatedOverMesh(dist, mesh)
mesh_g = mesh.draw()
mesh_g.setLegends([""])
mesh_g.setTitle("Mesh of domain D={" + formula + "<=" + str(threshold) + "}")
mesh_g.setXTitle("x1")
mesh_g.setYTitle("x2")

iso = f.draw(xMin, xMax)
iso.setTitle("Normal sample on D")
dr = iso.getDrawable(0)
dr.setLevels([threshold])
iso.setDrawables([dr])
iso.add(ot.Cloud(distribution_2d.getSample(1500)))
grid.setGraph(0, 0, mesh_g)
grid.setGraph(0, 1, iso)

pdf_2d.add(distribution_2d.drawPDF(xMin, xMax))
pdf_2d.setLegends([""])
cdf_2d.add(distribution_2d.drawCDF(xMin, xMax, [41] * 2))
cdf_2d.setLegends([""])
grid.setGraph(1, 0, pdf_2d)
grid.setGraph(1, 1, cdf_2d)
grid.setTitle("TruncatedOverMesh")
grid.setLegendPosition("topright")
v = View(grid)
fig = v.getFigure()
fig.axes[1].legend(loc="best")
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added openturns/master/_images/TruncatedOverMesh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/UniformOverMesh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_ego_009.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_ifs_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_ifs_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_ifs_003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_ifs_004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_ifs_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_optimization_dlib_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_optimization_dlib_003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_pce_design_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified openturns/master/_images/sphx_glr_plot_pce_design_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ Let us plot the posterior density.

.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 12.523 seconds)
**Total running time of the script:** (0 minutes 11.922 seconds)


.. _sphx_glr_download_auto_calibration_bayesian_calibration_plot_gibbs.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ Plot posterior marginal plots only as prior cannot be drawn meaningfully.

.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 5.970 seconds)
**Total running time of the script:** (0 minutes 5.532 seconds)


.. _sphx_glr_download_auto_calibration_bayesian_calibration_plot_rwmh_python_distribution.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@

Computation times
=================
**00:23.515** total execution time for **auto_calibration_bayesian_calibration** files:
**00:22.112** total execution time for **auto_calibration_bayesian_calibration** files:

+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_gibbs.py` (``plot_gibbs.py``) | 00:12.523 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_gibbs.py` (``plot_gibbs.py``) | 00:11.922 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_rwmh_python_distribution.py` (``plot_rwmh_python_distribution.py``) | 00:05.970 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_rwmh_python_distribution.py` (``plot_rwmh_python_distribution.py``) | 00:05.532 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_bayesian_calibration_flooding.py` (``plot_bayesian_calibration_flooding.py``) | 00:01.349 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_bayesian_calibration_flooding.py` (``plot_bayesian_calibration_flooding.py``) | 00:01.255 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_bayesian_calibration.py` (``plot_bayesian_calibration.py``) | 00:01.281 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_gibbs_simus.py` (``plot_gibbs_simus.py``) | 00:01.094 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_gibbs_simus.py` (``plot_gibbs_simus.py``) | 00:01.115 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_bayesian_calibration.py` (``plot_bayesian_calibration.py``) | 00:01.088 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_ackley_distribution.py` (``plot_ackley_distribution.py``) | 00:00.992 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_ackley_distribution.py` (``plot_ackley_distribution.py``) | 00:00.948 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_imh_python_distribution.py` (``plot_imh_python_distribution.py``) | 00:00.285 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_bayesian_calibration_plot_imh_python_distribution.py` (``plot_imh_python_distribution.py``) | 00:00.274 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
Original file line number Diff line number Diff line change
Expand Up @@ -1928,7 +1928,7 @@ Reset default settings
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 6.530 seconds)
**Total running time of the script:** (0 minutes 6.363 seconds)


.. _sphx_glr_download_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_chaboche.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ Reset default settings
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 3.439 seconds)
**Total running time of the script:** (0 minutes 3.361 seconds)


.. _sphx_glr_download_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_deflection_tube.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1696,7 +1696,7 @@ Reset default settings
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 8.849 seconds)
**Total running time of the script:** (0 minutes 8.625 seconds)


.. _sphx_glr_download_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_flooding.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@

Computation times
=================
**00:19.993** total execution time for **auto_calibration_least_squares_and_gaussian_calibration** files:
**00:19.485** total execution time for **auto_calibration_least_squares_and_gaussian_calibration** files:

+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_flooding.py` (``plot_calibration_flooding.py``) | 00:08.849 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_flooding.py` (``plot_calibration_flooding.py``) | 00:08.625 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_chaboche.py` (``plot_calibration_chaboche.py``) | 00:06.530 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_chaboche.py` (``plot_calibration_chaboche.py``) | 00:06.363 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_deflection_tube.py` (``plot_calibration_deflection_tube.py``) | 00:03.439 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_deflection_tube.py` (``plot_calibration_deflection_tube.py``) | 00:03.361 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_logistic.py` (``plot_calibration_logistic.py``) | 00:00.634 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_logistic.py` (``plot_calibration_logistic.py``) | 00:00.621 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_quickstart.py` (``plot_calibration_quickstart.py``) | 00:00.310 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_quickstart.py` (``plot_calibration_quickstart.py``) | 00:00.291 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_calibration_withoutobservedinputs.py` (``plot_calibration_withoutobservedinputs.py``) | 00:00.083 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_generate_chaboche.py` (``plot_generate_chaboche.py``) | 00:00.074 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_generate_chaboche.py` (``plot_generate_chaboche.py``) | 00:00.073 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_generate_flooding.py` (``plot_generate_flooding.py``) | 00:00.073 | 0.0 MB |
| :ref:`sphx_glr_auto_calibration_least_squares_and_gaussian_calibration_plot_generate_flooding.py` (``plot_generate_flooding.py``) | 00:00.069 | 0.0 MB |
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ improvements with respect to model tested before.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 6.180 seconds)
**Total running time of the script:** (0 minutes 5.864 seconds)


.. _sphx_glr_download_auto_data_analysis_distribution_fitting_plot_estimate_gev_fremantle.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -945,11 +945,6 @@ the threshold :math:`c_{\alpha}` or if the p-value is less than the Type I error
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 2.235 seconds)


.. _sphx_glr_download_auto_data_analysis_distribution_fitting_plot_estimate_gev_pirie.py:

.. only:: html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ quadratic model explains even better a large variation in the data.
.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 12.550 seconds)
**Total running time of the script:** (0 minutes 10.342 seconds)


.. _sphx_glr_download_auto_data_analysis_distribution_fitting_plot_estimate_gev_racetime.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ We build joint distribution from marginal distributions and dependency structure

.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 5.647 seconds)
**Total running time of the script:** (0 minutes 6.398 seconds)


.. _sphx_glr_download_auto_data_analysis_distribution_fitting_plot_estimate_multivariate_distribution.py:
Expand Down
Loading

0 comments on commit c2c9983

Please sign in to comment.