.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "auto_examples/forward_uncertain.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 or to run this example in your browser via Binder .. rst-class:: sphx-glr-example-title .. _sphx_glr_auto_examples_forward_uncertain.py: Uncertain forward shock-wave experiment propagation ========================================================= .. GENERATED FROM PYTHON SOURCE LINES 6-27 .. code-block:: default from ShockPy.shock_wave_compression.ShockWaveExperiment import ShockWaveExperiment from ShockPy.shock_wave_compression.material_database.baseclass.Material import Material from ShockPy.shock_wave_compression.material_states.isentrope_calculators.ReflectedHugoniot import \ ReflectedHugoniot from ShockPy.shock_wave_compression.material_database.Kapton import Kapton from ShockPy.shock_wave_compression.material_database.MgO import MgO from ShockPy.shock_wave_compression.material_database.Quartz import Quartz shock_pressure = 211.39 # GPa Material.isentrope_calculator = ReflectedHugoniot() experiment = ShockWaveExperiment(materials=[Kapton(released=False), MgO(is_stochastic=True, released=True), Quartz(is_stochastic=True, released=True)]) experiment.run_experiment(shock_pressure, cov=0.05, initial_points=100) experiment.plot() .. rst-class:: sphx-glr-timing **Total running time of the script:** (0 minutes 0.000 seconds) .. _sphx_glr_download_auto_examples_forward_uncertain.py: .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-example .. container:: binder-badge .. image:: images/binder_badge_logo.svg :target: https://mybinder.org/v2/gh/dimtsap/ImpedancePy/main?urlpath=lab/tree/notebooks/auto_examples/forward_uncertain.ipynb :alt: Launch binder :width: 150 px .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: forward_uncertain.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: forward_uncertain.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_