Skip to content

Commit

Permalink
Updated file includes for the kernel cookbook
Browse files Browse the repository at this point in the history
  • Loading branch information
lsawade committed Jan 13, 2025
1 parent 7bc160e commit 06b07bb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/cookbooks/kernels-example-tromp-2005/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -481,11 +481,12 @@ Visualizing the kernels

Lastly if the kernels are stored in ASCII format, we can use numpy to read the kernels and plot them.

.. note::
.. literalinclude:: ../../../examples/Tromp_2005/plot.py
:language: python
:linenos:

An python code for reading ASCII kernels and plotting them is provided `here <https://github.com/PrincetonUniversity/SPECFEMPP/blob/main/examples/Tromp_2005/plot.py>`_.

.. figure:: ../../examples/Tromp_2005/Reference_Kernels/Kernels.png
.. figure:: ../../../examples/Tromp_2005/Reference_Kernels/Kernels.png
:alt: Kernels
:width: 800
:align: center
Expand Down

0 comments on commit 06b07bb

Please sign in to comment.