Skip to content

Commit

Permalink
Generated gh-pages for commit 58cbb5a
Browse files Browse the repository at this point in the history
Merge: 252fc58 a024fbe
Author: John Jakeman <[email protected]>

    Merge remote-tracking branch 'origin/devel'
  • Loading branch information
jdjakem committed Feb 22, 2024
1 parent 5ed8f10 commit 02ae522
Show file tree
Hide file tree
Showing 94 changed files with 5,158 additions and 316 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
*~
*.so
*.c
*.html
*.pdf
*.npz
*.pkl
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified _images/sphx_glr_plot_ensemble_selection_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 _images/sphx_glr_plot_ensemble_selection_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 _images/sphx_glr_plot_ensemble_selection_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 _images/sphx_glr_plot_ensemble_selection_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 _images/sphx_glr_plot_paper_demo_006.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 _images/sphx_glr_plot_paper_demo_007.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
793 changes: 793 additions & 0 deletions _modules/pyapprox/multifidelity/factory.html

Large diffs are not rendered by default.

314 changes: 314 additions & 0 deletions _modules/pyapprox/multifidelity/visualize.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ the number of variables

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

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


.. _sphx_glr_download_auto_examples_plot_barycentric_interpolation.py:
Expand Down
18 changes: 9 additions & 9 deletions _sources/auto_examples/plot_interface.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The :class:`~pyapprox.interface.wrappers.WorkTrackingModel` has an attribute :cl

.. code-block:: none
{(0.0,): [0.05384230613708496, 0.03567171096801758, 0.046114206314086914, 0.04846787452697754, 0.03335690498352051, 0.05100297927856445, 0.04039502143859863, 0.02930903434753418, 0.028896093368530273, 0.010175943374633789]}
{(0.0,): [0.048805952072143555, 0.03070211410522461, 0.04109311103820801, 0.041719913482666016, 0.035761117935180664, 0.048932790756225586, 0.031188011169433594, 0.02958083152770996, 0.02797102928161621, 0.00882577896118164]}
Expand All @@ -119,7 +119,7 @@ We can also call the work tracker to query the median cost for a model with a gi

.. code-block:: none
[0.03803337]
[0.03347456]
Expand Down Expand Up @@ -221,8 +221,8 @@ Again we can query the execution times of each model

.. code-block:: none
{(0.0,): [0.04745125770568848, 0.03804421424865723, 0.00721287727355957, 0.03682303428649902, 0.0058078765869140625], (1.0,): [0.06682920455932617, 0.0755620002746582, 0.06383419036865234, 0.07273602485656738, 0.08753705024719238]}
[0.03682303 0.07273602]
{(0.0,): [0.04628872871398926, 0.03537106513977051, 0.006219148635864258, 0.039826393127441406, 0.005051851272583008], (1.0,): [0.06666088104248047, 0.0735940933227539, 0.06233668327331543, 0.06756019592285156, 0.08830785751342773]}
[0.03537107 0.0675602 ]
Expand Down Expand Up @@ -321,8 +321,8 @@ be used with WorkTrackingModel using the sequence of wrappers below.

.. code-block:: none
With 1 threads that took 0.5262501239776611 seconds
With 4 threads that took 2.020951986312866 seconds
With 1 threads that took 0.4949309825897217 seconds
With 4 threads that took 1.7938449382781982 seconds
Expand All @@ -349,8 +349,8 @@ costs are still being recorded correctly
WorkTracker Cost Summary
Funtion ID Median Cost
(0.0,) 0.03803455829620361
(1.0,) 0.07765007019042969
(0.0,) 0.02837395668029785
(1.0,) 0.07239508628845215
Expand Down Expand Up @@ -381,7 +381,7 @@ sphinx_gallery_thumbnail_path = './figures/cantilever-beam.png'
.. rst-class:: sphx-glr-timing

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


.. _sphx_glr_download_auto_examples_plot_interface.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ then request 200 samples while resuing the first 100.

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

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


.. _sphx_glr_download_auto_examples_plot_low_discrepancy_quadrature.py:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Here levels specifies the level of each 1D grid
.. code-block:: none
<matplotlib.contour.QuadContourSet object at 0x146c23340>
<matplotlib.contour.QuadContourSet object at 0x138ebf1c0>
Expand All @@ -89,7 +89,7 @@ To plot the difference between the interpolant and the target function use
.. rst-class:: sphx-glr-timing

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


.. _sphx_glr_download_auto_examples_plot_multivariate_piecewise_polynomial_interpolation.py:
Expand Down
18 changes: 9 additions & 9 deletions _sources/auto_examples/plot_paper_demo.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ prints the median execution time of the model.

.. code-block:: none
[0.03084362]
[0.02805579]
Expand Down Expand Up @@ -547,12 +547,12 @@ that we do not know the value of the observations.
Running 1000 outer model evaluations
Predicted observation bounds 14.477297168295355 1.1388690449350853
Evaluations took 12.62476396560669
Evaluations took 12.961029767990112
Running 1000 inner model evaluations
Evaluations took 12.516699075698853
Computing utilities in serial took 0.2389240264892578
Computing utilities in serial took 0.02367711067199707
Computing utilities in serial took 0.03195381164550781
Evaluations took 13.260978937149048
Computing utilities in serial took 0.2432870864868164
Computing utilities in serial took 0.02371382713317871
Computing utilities in serial took 0.03223705291748047
[[0.0954915 0.42178277 0.42178277]
[0.05449674 0.85355339 0.85355339]]
Expand Down Expand Up @@ -714,7 +714,7 @@ for each run

.. code-block:: none
Predicted variance tensor([[7.5676e-06]])
Predicted variance tensor([[7.6507e-06]])
Expand Down Expand Up @@ -780,7 +780,7 @@ is ready to actually estimate the mean QoI they can use
.. code-block:: none
Benchmark(fun, variable, get_num_degrees_of_freedom, config_var_trans, model_ensemble, funs)
Mean QoI [0.50196224]
Mean QoI [0.50525131]
Expand All @@ -794,7 +794,7 @@ References
.. rst-class:: sphx-glr-timing

**Total running time of the script:** ( 2 minutes 10.244 seconds)
**Total running time of the script:** ( 2 minutes 13.459 seconds)


.. _sphx_glr_download_auto_examples_plot_paper_demo.py:
Expand Down
2 changes: 1 addition & 1 deletion _sources/auto_examples/plot_parameter_sweeps.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ aprameter sweeps

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

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


.. _sphx_glr_download_auto_examples_plot_parameter_sweeps.py:
Expand Down
48 changes: 24 additions & 24 deletions _sources/auto_examples/plot_pde_convergence.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -454,42 +454,42 @@ First plot the evolution of the PDE for a realization of the model inputs
</style>

<div class="animation">
<img id="_anim_img1d65300f187849b7899254eaaead3571">
<img id="_anim_img6414a722975744a9b8b911ddee57e2db">
<div class="anim-controls">
<input id="_anim_slider1d65300f187849b7899254eaaead3571" type="range" class="anim-slider"
<input id="_anim_slider6414a722975744a9b8b911ddee57e2db" type="range" class="anim-slider"
name="points" min="0" max="1" step="1" value="0"
oninput="anim1d65300f187849b7899254eaaead3571.set_frame(parseInt(this.value));">
oninput="anim6414a722975744a9b8b911ddee57e2db.set_frame(parseInt(this.value));">
<div class="anim-buttons">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim1d65300f187849b7899254eaaead3571.slower()">
<button title="Decrease speed" aria-label="Decrease speed" onclick="anim6414a722975744a9b8b911ddee57e2db.slower()">
<i class="fa fa-minus"></i></button>
<button title="First frame" aria-label="First frame" onclick="anim1d65300f187849b7899254eaaead3571.first_frame()">
<button title="First frame" aria-label="First frame" onclick="anim6414a722975744a9b8b911ddee57e2db.first_frame()">
<i class="fa fa-fast-backward"></i></button>
<button title="Previous frame" aria-label="Previous frame" onclick="anim1d65300f187849b7899254eaaead3571.previous_frame()">
<button title="Previous frame" aria-label="Previous frame" onclick="anim6414a722975744a9b8b911ddee57e2db.previous_frame()">
<i class="fa fa-step-backward"></i></button>
<button title="Play backwards" aria-label="Play backwards" onclick="anim1d65300f187849b7899254eaaead3571.reverse_animation()">
<button title="Play backwards" aria-label="Play backwards" onclick="anim6414a722975744a9b8b911ddee57e2db.reverse_animation()">
<i class="fa fa-play fa-flip-horizontal"></i></button>
<button title="Pause" aria-label="Pause" onclick="anim1d65300f187849b7899254eaaead3571.pause_animation()">
<button title="Pause" aria-label="Pause" onclick="anim6414a722975744a9b8b911ddee57e2db.pause_animation()">
<i class="fa fa-pause"></i></button>
<button title="Play" aria-label="Play" onclick="anim1d65300f187849b7899254eaaead3571.play_animation()">
<button title="Play" aria-label="Play" onclick="anim6414a722975744a9b8b911ddee57e2db.play_animation()">
<i class="fa fa-play"></i></button>
<button title="Next frame" aria-label="Next frame" onclick="anim1d65300f187849b7899254eaaead3571.next_frame()">
<button title="Next frame" aria-label="Next frame" onclick="anim6414a722975744a9b8b911ddee57e2db.next_frame()">
<i class="fa fa-step-forward"></i></button>
<button title="Last frame" aria-label="Last frame" onclick="anim1d65300f187849b7899254eaaead3571.last_frame()">
<button title="Last frame" aria-label="Last frame" onclick="anim6414a722975744a9b8b911ddee57e2db.last_frame()">
<i class="fa fa-fast-forward"></i></button>
<button title="Increase speed" aria-label="Increase speed" onclick="anim1d65300f187849b7899254eaaead3571.faster()">
<button title="Increase speed" aria-label="Increase speed" onclick="anim6414a722975744a9b8b911ddee57e2db.faster()">
<i class="fa fa-plus"></i></button>
</div>
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select1d65300f187849b7899254eaaead3571"
<form title="Repetition mode" aria-label="Repetition mode" action="#n" name="_anim_loop_select6414a722975744a9b8b911ddee57e2db"
class="anim-state">
<input type="radio" name="state" value="once" id="_anim_radio1_1d65300f187849b7899254eaaead3571"
<input type="radio" name="state" value="once" id="_anim_radio1_6414a722975744a9b8b911ddee57e2db"
>
<label for="_anim_radio1_1d65300f187849b7899254eaaead3571">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_1d65300f187849b7899254eaaead3571"
<label for="_anim_radio1_6414a722975744a9b8b911ddee57e2db">Once</label>
<input type="radio" name="state" value="loop" id="_anim_radio2_6414a722975744a9b8b911ddee57e2db"
checked>
<label for="_anim_radio2_1d65300f187849b7899254eaaead3571">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_1d65300f187849b7899254eaaead3571"
<label for="_anim_radio2_6414a722975744a9b8b911ddee57e2db">Loop</label>
<input type="radio" name="state" value="reflect" id="_anim_radio3_6414a722975744a9b8b911ddee57e2db"
>
<label for="_anim_radio3_1d65300f187849b7899254eaaead3571">Reflect</label>
<label for="_anim_radio3_6414a722975744a9b8b911ddee57e2db">Reflect</label>
</form>
</div>
</div>
Expand All @@ -499,9 +499,9 @@ First plot the evolution of the PDE for a realization of the model inputs
/* Instantiate the Animation class. */
/* The IDs given should match those used in the template above. */
(function() {
var img_id = "_anim_img1d65300f187849b7899254eaaead3571";
var slider_id = "_anim_slider1d65300f187849b7899254eaaead3571";
var loop_select_id = "_anim_loop_select1d65300f187849b7899254eaaead3571";
var img_id = "_anim_img6414a722975744a9b8b911ddee57e2db";
var slider_id = "_anim_slider6414a722975744a9b8b911ddee57e2db";
var loop_select_id = "_anim_loop_select6414a722975744a9b8b911ddee57e2db";
var frames = new Array(43);

frames[0] = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAyAAAAJYCAYAAACadoJwAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
Expand Down Expand Up @@ -31286,7 +31286,7 @@ First plot the evolution of the PDE for a realization of the model inputs
/* set a timeout to make sure all the above elements are created before
the object is initialized. */
setTimeout(function() {
anim1d65300f187849b7899254eaaead3571 = new Animation(frames, img_id, slider_id, 46.0,
anim6414a722975744a9b8b911ddee57e2db = new Animation(frames, img_id, slider_id, 46.0,
loop_select_id);
}, 0);
})()
Expand Down Expand Up @@ -31344,7 +31344,7 @@ must be called inside

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

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


.. _sphx_glr_download_auto_examples_plot_pde_convergence.py:
Expand Down
2 changes: 1 addition & 1 deletion _sources/auto_examples/plot_setup_model.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ The function :func:`pyapprox.interface.wrappers.evaluate_1darray_function_on_2d_
.. rst-class:: sphx-glr-timing

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


.. _sphx_glr_download_auto_examples_plot_setup_model.py:
Expand Down
2 changes: 1 addition & 1 deletion _sources/auto_examples/plot_sparse_grid_uq.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ PDFs of the output

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

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


.. _sphx_glr_download_auto_examples_plot_sparse_grid_uq.py:
Expand Down
2 changes: 1 addition & 1 deletion _sources/auto_examples/plot_variables.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ We can also generate samples using Gaussian copulas. First specify the

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

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


.. _sphx_glr_download_auto_examples_plot_variables.py:
Expand Down
22 changes: 11 additions & 11 deletions _sources/auto_examples/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,32 @@

Computation times
=================
**03:16.268** total execution time for **auto_examples** files:
**03:17.118** total execution time for **auto_examples** files:

+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_paper_demo.py` (``plot_paper_demo.py``) | 02:10.244 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_paper_demo.py` (``plot_paper_demo.py``) | 02:13.459 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_pde_convergence.py` (``plot_pde_convergence.py``) | 00:54.492 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_pde_convergence.py` (``plot_pde_convergence.py``) | 00:52.918 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_interface.py` (``plot_interface.py``) | 00:09.004 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_interface.py` (``plot_interface.py``) | 00:08.180 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_variables.py` (``plot_variables.py``) | 00:01.904 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_variables.py` (``plot_variables.py``) | 00:01.924 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_sparse_grid_uq.py` (``plot_sparse_grid_uq.py``) | 00:00.130 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_sparse_grid_uq.py` (``plot_sparse_grid_uq.py``) | 00:00.131 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_parameter_sweeps.py` (``plot_parameter_sweeps.py``) | 00:00.122 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_parameter_sweeps.py` (``plot_parameter_sweeps.py``) | 00:00.123 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_gaussian_quadrature.py` (``plot_gaussian_quadrature.py``) | 00:00.097 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_multivariate_piecewise_polynomial_interpolation.py` (``plot_multivariate_piecewise_polynomial_interpolation.py``) | 00:00.092 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_multivariate_piecewise_polynomial_interpolation.py` (``plot_multivariate_piecewise_polynomial_interpolation.py``) | 00:00.093 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_multiindex_collocation_ex.py` (``plot_multiindex_collocation_ex.py``) | 00:00.065 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_barycentric_interpolation.py` (``plot_barycentric_interpolation.py``) | 00:00.045 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_low_discrepancy_quadrature.py` (``plot_low_discrepancy_quadrature.py``) | 00:00.047 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_low_discrepancy_quadrature.py` (``plot_low_discrepancy_quadrature.py``) | 00:00.044 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_barycentric_interpolation.py` (``plot_barycentric_interpolation.py``) | 00:00.046 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_setup_model.py` (``plot_setup_model.py``) | 00:00.017 | 0.0 MB |
| :ref:`sphx_glr_auto_examples_plot_setup_model.py` (``plot_setup_model.py``) | 00:00.021 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_auto_examples_plot_multifidelity_quadrature.py` (``plot_multifidelity_quadrature.py``) | 00:00.013 | 0.0 MB |
+-----------------------------------------------------------------------------------------------------------------------------------------------------+-----------+--------+
Loading

0 comments on commit 02ae522

Please sign in to comment.