-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CircleCI
committed
Nov 13, 2023
1 parent
864db84
commit c2c9983
Showing
179 changed files
with
5,974 additions
and
699 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/0ef2e737c16c571c8945b202ec11aae3/auto_calibration_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...s/master/_downloads/32764d685caaf9dcc0d31be3ef384e64/auto_functional_modeling_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...ns/master/_downloads/4df3e0c0f81319718eb3fb7cc1e6e39e/auto_functional_modeling_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/58b7cedd7592157d47e84db4a498c83f/auto_data_analysis_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...aster/_downloads/6e518ec737e8c5eb60654ad7ec3146cf/auto_probabilistic_modeling_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/71aec4e01968ab2c8be52211336adbb2/auto_meta_modeling_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...rns/master/_downloads/7263f63092b58313bb0867d9aebe4337/auto_numerical_methods_jupyter.zip
Binary file not shown.
47 changes: 47 additions & 0 deletions
47
openturns/master/_downloads/80fe3267b6620cf75a9db88be1d114e9/TruncatedOverMesh.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/88d3828120a999fc8ca5897c5dd2db69/auto_graphs_python.zip
Binary file not shown.
Binary file modified
BIN
-600 Bytes
(100%)
openturns/master/_downloads/8c708d125230cb531ff996a84d837525/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 added
BIN
+225 KB
openturns/master/_downloads/96bee7ddd2ef12aa690d50960dfbe8f6/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
BIN
+0 Bytes
(100%)
...ster/_downloads/a1d8d0b63d5143d9b72b4959aac7d782/auto_reliability_sensitivity_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...aster/_downloads/a748ffe095675c16859218f143b99a75/auto_reliability_sensitivity_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/abd4774b43e90e70bd9135cf6e27a1a2/auto_meta_modeling_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...master/_downloads/bb1db896ae1deb897c7b02a1ff591375/auto_probabilistic_modeling_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...urns/master/_downloads/dce365067acf481999ee410b3d643a7e/auto_numerical_methods_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/ee2bbb2beb44f9b3de56079b0634b808/auto_calibration_python.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/f99df5de352604d8f438a3c4a3ea0b2c/auto_graphs_jupyter.zip
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
openturns/master/_downloads/ffa9d199d7551d68b3799354df3b5bf5/auto_data_analysis_python.zip
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.
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.
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.
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 modified
BIN
+2.17 KB
(110%)
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
BIN
+1.23 KB
(110%)
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.
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
BIN
-798 Bytes
(97%)
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.