.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "examples_gallery/advanced_pdes/custom_noise.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_gallery_advanced_pdes_custom_noise.py: Custom noise ============ This example solves a diffusion equation with a custom noise. .. GENERATED FROM PYTHON SOURCE LINES 7-38 .. image-sg:: /examples_gallery/advanced_pdes/images/sphx_glr_custom_noise_001.png :alt: custom noise :srcset: /examples_gallery/advanced_pdes/images/sphx_glr_custom_noise_001.png :class: sphx-glr-single-img .. rst-class:: sphx-glr-script-out .. code-block:: none 0%| | 0/10.0 [00:00` .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: custom_noise.py ` .. container:: sphx-glr-download sphx-glr-download-zip :download:`Download zipped: custom_noise.zip `