Skip to content

Commit

Permalink
build based on d03b8ff
Browse files Browse the repository at this point in the history
  • Loading branch information
Documenter.jl committed Oct 24, 2024
1 parent 636ac2f commit 59c6700
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions dev/API/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/README/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dev/examples/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Examples · Slim Plotting toolbox</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit">Slim Plotting toolbox</span></div><form class="docs-search" action="../search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../">Home</a></li><li><a class="tocitem" href="../README/">About</a></li><li class="is-active"><a class="tocitem" href>Examples</a><ul class="internal"><li class="toplevel"><a class="tocitem" href="#Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files"><span>Import SlimPlotting, SegyIO to read seismic data, JLD2 for hdf5-like files</span></a></li><li class="toplevel"><a class="tocitem" href="#Initialize-all-needed-data"><span>Initialize all needed data</span></a></li><li class="toplevel"><a class="tocitem" href="#Create-structures-to-mimic-JUDI-like-inputs"><span>Create structures to mimic JUDI-like inputs</span></a></li><li class="toplevel"><a class="tocitem" href="#Model-perturbation"><span>Model perturbation</span></a></li><li class="toplevel"><a class="tocitem" href="#Velocity"><span>Velocity</span></a></li><li class="toplevel"><a class="tocitem" href="#Frequency-slice"><span>Frequency slice</span></a></li><li class="toplevel"><a class="tocitem" href="#Shot-record"><span>Shot record</span></a></li><li><a class="tocitem" href="#Seismic-blue-white-red"><span>Seismic blue-white-red</span></a></li><li><a class="tocitem" href="#Seismic-greys"><span>Seismic greys</span></a></li><li class="toplevel"><a class="tocitem" href="#Compare-shot-records"><span>Compare shot records</span></a></li><li class="toplevel"><a class="tocitem" href="#Wiggle-traces"><span>Wiggle traces</span></a></li></ul></li><li><a class="tocitem" href="../API/">API reference</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Examples</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Examples</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/slimgroup/SlimPlotting.jl/blob/master/docs/src/examples.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="Plotting-data-and-models-with-SlimPlotting"><a class="docs-heading-anchor" href="#Plotting-data-and-models-with-SlimPlotting">Plotting data and models with SlimPlotting</a><a id="Plotting-data-and-models-with-SlimPlotting-1"></a><a class="docs-heading-anchor-permalink" href="#Plotting-data-and-models-with-SlimPlotting" title="Permalink"></a></h1><hr/><p>title: Overview of SlimPlotting utilities author: Mathias Louboutin date: April 2023 –-</p><p>This example script is written using <a href="https://github.com/JunoLab/Weave.jl">Weave.jl</a> and can be converted to different format for documentation and usage This example is converted to a markdown file for the documentation.</p><h1 id="Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files"><a class="docs-heading-anchor" href="#Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files">Import SlimPlotting, SegyIO to read seismic data, JLD2 for hdf5-like files</a><a id="Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files-1"></a><a class="docs-heading-anchor-permalink" href="#Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files" title="Permalink"></a></h1><pre><code class="language-julia">using SlimPlotting, SegyIO, JLD2</code></pre><h1 id="Initialize-all-needed-data"><a class="docs-heading-anchor" href="#Initialize-all-needed-data">Initialize all needed data</a><a id="Initialize-all-needed-data-1"></a><a class="docs-heading-anchor-permalink" href="#Initialize-all-needed-data" title="Permalink"></a></h1><p>Close all figures if any existing</p><pre><code class="language-julia">SlimPlotting.PyPlot.close(:all)</code></pre><p>Path to the files and data used for these examples</p><pre><code class="language-julia">data_path = dirname(pathof(SlimPlotting)) * &quot;/../data/&quot;;</code></pre><p>Read the data</p><pre><code class="language-julia"># Pure array
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>Examples · Slim Plotting toolbox</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.0/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><div class="docs-package-name"><span class="docs-autofit">Slim Plotting toolbox</span></div><form class="docs-search" action="../search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../">Home</a></li><li><a class="tocitem" href="../README/">About</a></li><li class="is-active"><a class="tocitem" href>Examples</a><ul class="internal"><li class="toplevel"><a class="tocitem" href="#Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files"><span>Import SlimPlotting, SegyIO to read seismic data, JLD2 for hdf5-like files</span></a></li><li class="toplevel"><a class="tocitem" href="#Initialize-all-needed-data"><span>Initialize all needed data</span></a></li><li class="toplevel"><a class="tocitem" href="#Create-structures-to-mimic-JUDI-like-inputs"><span>Create structures to mimic JUDI-like inputs</span></a></li><li class="toplevel"><a class="tocitem" href="#Model-perturbation"><span>Model perturbation</span></a></li><li class="toplevel"><a class="tocitem" href="#Velocity"><span>Velocity</span></a></li><li class="toplevel"><a class="tocitem" href="#Frequency-slice"><span>Frequency slice</span></a></li><li class="toplevel"><a class="tocitem" href="#Shot-record"><span>Shot record</span></a></li><li><a class="tocitem" href="#Seismic-blue-white-red"><span>Seismic blue-white-red</span></a></li><li><a class="tocitem" href="#Seismic-greys"><span>Seismic greys</span></a></li><li class="toplevel"><a class="tocitem" href="#Compare-shot-records"><span>Compare shot records</span></a></li><li class="toplevel"><a class="tocitem" href="#Wiggle-traces"><span>Wiggle traces</span></a></li></ul></li><li><a class="tocitem" href="../API/">API reference</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li class="is-active"><a href>Examples</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>Examples</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/slimgroup/SlimPlotting.jl/blob/master/docs/src/examples.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="Plotting-data-and-models-with-SlimPlotting"><a class="docs-heading-anchor" href="#Plotting-data-and-models-with-SlimPlotting">Plotting data and models with SlimPlotting</a><a id="Plotting-data-and-models-with-SlimPlotting-1"></a><a class="docs-heading-anchor-permalink" href="#Plotting-data-and-models-with-SlimPlotting" title="Permalink"></a></h1><hr/><p>title: Overview of SlimPlotting utilities author: Mathias Louboutin date: April 2023 –-</p><p>This example script is written using <a href="https://github.com/JunoLab/Weave.jl">Weave.jl</a> and can be converted to different format for documentation and usage This example is converted to a markdown file for the documentation.</p><h1 id="Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files"><a class="docs-heading-anchor" href="#Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files">Import SlimPlotting, SegyIO to read seismic data, JLD2 for hdf5-like files</a><a id="Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files-1"></a><a class="docs-heading-anchor-permalink" href="#Import-SlimPlotting,-SegyIO-to-read-seismic-data,-JLD2-for-hdf5-like-files" title="Permalink"></a></h1><pre><code class="language-julia">using SlimPlotting, SegyIO, JLD2</code></pre><h1 id="Initialize-all-needed-data"><a class="docs-heading-anchor" href="#Initialize-all-needed-data">Initialize all needed data</a><a id="Initialize-all-needed-data-1"></a><a class="docs-heading-anchor-permalink" href="#Initialize-all-needed-data" title="Permalink"></a></h1><p>Close all figures if any existing</p><pre><code class="language-julia">plotclose(&quot;all&quot;)</code></pre><pre><code class="language-none">Python: None</code></pre><p>Path to the files and data used for these examples</p><pre><code class="language-julia">data_path = dirname(pathof(SlimPlotting)) * &quot;/../data/&quot;;</code></pre><p>Read the data</p><pre><code class="language-julia"># Pure array
vp = Float32.(segy_read(&quot;$(data_path)2dVP.sgy&quot;).data);
dm = diff(vp, dims = 1);
shot = Float32.(segy_read(&quot;$(data_path)2dshot.segy&quot;).data);
Expand Down Expand Up @@ -90,4 +90,4 @@
# figure(figsize=(5, 5))
# subplot(111)
# wiggle_plot(shot[1:5:end, 1:10:end], xloc[1:10:end], 0:0.02:4.6; new_fig=false)
# tight_layout();display(gcf())</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../README/">« About</a><a class="docs-footer-nextpage" href="../API/">API reference »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Thursday 31 August 2023 20:49">Thursday 31 August 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
# tight_layout();display(gcf())</code></pre></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../README/">« About</a><a class="docs-footer-nextpage" href="../API/">API reference »</a><div class="flexbox-break"></div><p class="footer-message">Powered by <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> and the <a href="https://julialang.org/">Julia Programming Language</a>.</p></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Thursday 24 October 2024 16:46">Thursday 24 October 2024</span>. Using Julia version 1.11.1.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Binary file modified dev/figures/plot_example_10_1.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 dev/figures/plot_example_11_1.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 dev/figures/plot_example_6_1.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 dev/figures/plot_example_7_1.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 dev/figures/plot_example_8_1.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 dev/figures/plot_example_9_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 59c6700

Please sign in to comment.