From 537ae21c863d7b7460bf44f815f7d4dd1937da42 Mon Sep 17 00:00:00 2001 From: "Documenter.jl" Date: Tue, 13 Aug 2024 03:11:38 +0000 Subject: [PATCH] build based on d2ebd0b --- dev/.documenter-siteinfo.json | 2 +- dev/index.html | 18 +++++++++--------- dev/search_index.js | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/dev/.documenter-siteinfo.json b/dev/.documenter-siteinfo.json index 450b177..2bb7cd5 100644 --- a/dev/.documenter-siteinfo.json +++ b/dev/.documenter-siteinfo.json @@ -1 +1 @@ -{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-13T01:47:15","documenter_version":"1.5.0"}} \ No newline at end of file +{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-08-13T03:11:35","documenter_version":"1.5.0"}} \ No newline at end of file diff --git a/dev/index.html b/dev/index.html index e55153a..c2c1aff 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,21 +1,21 @@ Home · SeisMakie.jl

SeisMakie

Documentation for SeisMakie.

SeisMakie.seisDifferenceMethod
SeisDifference(d1, d2; <keyword arguments>)

Plot time-space, 2D seismic data d1, d2, and their difference (d1 - d2) with color, wiggles or overlay. The plots are arranged horizontally by default.

Arguments:

  • d1::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace
  • d2::Matrix{<:AbstractFloat}: same description as d1.

Keyword Arguments:

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • gx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d

  • ox=0: first point of x-axis.

  • dx=1: increment of x-axis.

  • oy=0: first point of y-axis.

  • dy=1: increment of y-axis.

  • pclip=98: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • wiggle_fill_color=:black: color for filling the positive wiggles.

  • wiggle_line_color=:black: color for wiggles' lines.

  • wiggle_trace_increment=1: increment for wiggle traces.

  • xcur=1.2: wiggle excursion in traces corresponding to clip.

  • cmap=:viridis: the colormap to be used for color and overlay plots.

  • style: determines the type of plot. Can be either "wiggle"/"wiggles", "color", "overlay".

  • horizontal=true: if set to false, d1, d2, and their difference are arranged vertically.

Return the figure and 3 axes corresponding to d1, d2, d1-d2.

Example

julia> d1 = SeisLinearEvents(); d2 = SeisLinearEvents();
-julia> f, ax1, ax2, ax_diff = SeisDifference(d1, d2);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisPlotAmplitudeMethod
SeisPlotAmplitude(d,fmax,dy ; <keyword arguments>)

Plot amplitude-frequency 2D seismic data d

Arguments

  • d::Array{Real,2}: 2D data to plot.

Keyword arguments

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • ax=nothing: the axis we want to plot on. If not supplied, one will be created and returned.

  • fmax=100: maximum frequency.

  • dy=0.004: time sample interval.

  • normalize=false: whether or not to normalize the data

  • color=:red: color of the plot.

  • label="": plot label to be included in legend

Example

julia> d = SeisLinearEvents();
-julia> f, ax = SeisPlotAmplitude(d,100,0.004);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisPlotFKMethod
SeisPlotFK(d; <keyword arguments>)

Plot frequency-wavenumber 2D seismic data d.

Arguments

  • d::Matrix{<:AbstractFloat}: 2D data to plot.

Keyword arguments:

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • pclip=99.9: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • fmax=100: maximum frequency for "FK" or "Amplitude" plot.

  • dx=1: increment of x-axis.

  • dy=1: increment of y-axis.

  • cmap=:PuOr: colormap

Return the figure and axis corresponding to d.

Example

julia> d = SeisLinearEvents();
-julia> f, ax = SeisPlotFK(d);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisPlotTXMethod
SeisPlotTX(d; <keyword arguments>)

Plot time-space, 2D seismic data d with image, wiggles or overlay.

Arguments:

  • d::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace

Keyword Arguments:

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • gx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d. Only supported with style="wiggles"

  • ox=0: first point of x-axis.

  • dx=1: increment of x-axis.

  • oy=0: first point of y-axis.

  • dy=1: increment of y-axis.

  • pclip=98: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • wiggle_fill_color=:black: color for filling the positive wiggles.

  • wiggle_line_color=:black: color for wiggles' lines.

  • wiggle_trace_increment=1: increment for wiggle traces.

  • xcur=1.2: wiggle excursion in traces corresponding to clip.

  • cmap=:seismic: the colormap to be used for image and overlay plots.

  • style: determines the type of plot. Can be either "wiggle"/"wiggles", "image", "overlay".

Return the figure and axis corresponding to d.

Example

julia> d = SeisLinearEvents();
-julia> f, ax = SeisPlotTX(d);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisamplitudeplotMethod
seisamplitude(d; <keyword arguments>)
+julia> f, ax1, ax2, ax_diff = SeisDifference(d1, d2);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisPlotAmplitudeMethod
SeisPlotAmplitude(d,fmax,dy ; <keyword arguments>)

Plot amplitude-frequency 2D seismic data d

Arguments

  • d::Array{Real,2}: 2D data to plot.

Keyword arguments

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • ax=nothing: the axis we want to plot on. If not supplied, one will be created and returned.

  • fmax=100: maximum frequency.

  • dy=0.004: time sample interval.

  • normalize=false: whether or not to normalize the data

  • color=:red: color of the plot.

  • label="": plot label to be included in legend

Example

julia> d = SeisLinearEvents();
+julia> f, ax = SeisPlotAmplitude(d,100,0.004);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisPlotFKMethod
SeisPlotFK(d; <keyword arguments>)

Plot frequency-wavenumber 2D seismic data d.

Arguments

  • d::Matrix{<:AbstractFloat}: 2D data to plot.

Keyword arguments:

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • pclip=99.9: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • fmax=100: maximum frequency for "FK" or "Amplitude" plot.

  • dx=1: increment of x-axis.

  • dy=1: increment of y-axis.

  • cmap=:PuOr: colormap

Return the figure and axis corresponding to d.

Example

julia> d = SeisLinearEvents();
+julia> f, ax = SeisPlotFK(d);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisPlotTXMethod
SeisPlotTX(d; <keyword arguments>)

Plot time-space, 2D seismic data d with image, wiggles or overlay.

Arguments:

  • d::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace

Keyword Arguments:

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • gx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d. Only supported with style="wiggles"

  • ox=0: first point of x-axis.

  • dx=1: increment of x-axis.

  • oy=0: first point of y-axis.

  • dy=1: increment of y-axis.

  • pclip=98: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • wiggle_fill_color=:black: color for filling the positive wiggles.

  • wiggle_line_color=:black: color for wiggles' lines.

  • wiggle_trace_increment=1: increment for wiggle traces.

  • xcur=1.2: wiggle excursion in traces corresponding to clip.

  • cmap=:seismic: the colormap to be used for image and overlay plots.

  • style: determines the type of plot. Can be either "wiggle"/"wiggles", "image", "overlay".

Return the figure and axis corresponding to d.

Example

julia> d = SeisLinearEvents();
+julia> f, ax = SeisPlotTX(d);

Author: Firas Al Chalabi (2024)

source
SeisMakie.seisamplitudeplotMethod
seisamplitude(d; <keyword arguments>)
 seisamplitude!(ax, d; <keyword arguments>)

Plot amplitude-frequency 2D seismic data d.

Arguments

  • d::Array{Real,2}: 2D data to plot.

Keyword arguments

  • fmax=100: maximum frequency.

  • dy=0.004: time sample interval.

  • normalize=false: whether or not to normalize the data

  • color=:black: color of the plot.

  • label="": plot label to be included in legend

Examples

julia> d = SeisLinearEvents();
 julia> f, ax, amp = seisamplitude(d)
julia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)
-julia> amp = seisamplitude!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • Most of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.
source
SeisMakie.seisfkplotMethod
seisfk(d; <keyword arguments>)
+julia> amp = seisamplitude!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • Most of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.
source
SeisMakie.seisfkplotMethod
seisfk(d; <keyword arguments>)
 seisfk!(ax, d; <keyword arguments>)

Plot frequency-wavenumber 2D seismic data d.

Arguments

  • d::Matrix{<:AbstractFloat}: 2D data to plot.

Keyword arguments:

  • fig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.

  • pclip=99.9: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • fmax=100: maximum frequency for "FK" or "Amplitude" plot.

  • dx=1: increment of x-axis.

  • dy=1: increment of y-axis.

  • cmap=:PuOr: colormap

Return the figure and axis corresponding to d.

Examples

julia> d = SeisLinearEvents();
 julia> f, ax, fk = seisfk(d)
julia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)
-julia> fk = seisfk!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • Most of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.
source
SeisMakie.seisimageplotMethod
seisimage(d; <keyword arguments>);
+julia> fk = seisfk!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • Most of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.
source
SeisMakie.seisimageplotMethod
seisimage(d; <keyword arguments>);
 seisimage!(ax, d; <keyword arguments>);

Recipe to plot time-space, color plot of 2D seismic data d.

Arguments:

  • d::Matrix{<:AbstractFloat}: 2D seismic data to be plotted.

Keyword Arguments:

  • ox=0: first point of x-axis.

  • dx=1: increment of x-axis.

  • oy=0: first point of y-axis.

  • dy=1: increment of y-axis.

  • pclip=98: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • cmap=:seismic: the colormap to be used.

Examples

julia> d = SeisLinearEvents();
 julia> f, ax, img = seisimage(d)
julia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)
-julia> img = seisimage!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • Most of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.
source
SeisMakie.seisoverlayplotMethod
seisoverlay(d; <keyword arguments>)
+julia> img = seisimage!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • Most of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.
source
SeisMakie.seisoverlayplotMethod
seisoverlay(d; <keyword arguments>)
 seisoverlay!(ax, d; <keyword arguments>)

Recipe to plot time-space, overlay plot of 2D seismic data d.

Arguments:

  • d::Matrix{<:AbstractFloat}: 2D seismic data to be plotted.

Keyword Arguments:

  • ox=0: first point of x-axis.

  • dx=1: increment of x-axis.

  • oy=0: first point of y-axis.

  • dy=1: increment of y-axis.

  • pclip=98: percentile for determining clip.

  • vmin=nothing: minimum value used in colormapping data.

  • vmax=nothing: maximum value used in colormapping data.

  • wiggle_fill_color=:black: color for filling the positive wiggles.

  • wiggle_line_color=:black: color for wiggles' lines.

  • wiggle_trace_increment=1: increment for wiggle traces.

  • xcur=1.2: wiggle excursion in traces corresponding to clip.

  • cmap=:seismic: the colormap to be used.

Examples

julia> d = SeisLinearEvents();
 julia> f, ax, ov = seisoverlay(d)
julia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)
-julia> ov = seisoverlay!(ax, d)
source
SeisMakie.seiswiggleplotMethod
seiswiggle(d; <keyword arguments>)
 seiswiggle!(ax, d; <keyword arguments>)

Recipe to plot time-space, wiggle plot of 2D seismic data d.

Arguments:

  • d::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace

Keyword Arguments:

  • gx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d

  • ox=0: first point of x-axis.

  • dx=1: increment of x-axis.

  • oy=0: first point of y-axis.

  • dy=1: increment of y-axis.

  • wiggle_fill_color=:black: color for filling the positive wiggles.

  • wiggle_line_color=:black: color for wiggles' lines.

  • wiggle_trace_increment=1: increment for wiggle traces.

  • xcur=1.2: wiggle excursion in traces.

Examples

julia> d = SeisLinearEvents();
 julia> f, ax, wp = seiswiggle(d)
julia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)
-julia> wp = seiswiggle!(ax, d)

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

  • The code in this file was inspired by some of Aaron Stanton's in SeisPlot.jl.
source
+julia> wp = seiswiggle!(ax, d)

Note: animations only work with this recipe if you update the observable d with a matrix of the same size.

Author: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)

source diff --git a/dev/search_index.js b/dev/search_index.js index 8e5cb74..605b902 100644 --- a/dev/search_index.js +++ b/dev/search_index.js @@ -1,3 +1,3 @@ var documenterSearchIndex = {"docs": -[{"location":"","page":"Home","title":"Home","text":"CurrentModule = SeisMakie","category":"page"},{"location":"#SeisMakie","page":"Home","title":"SeisMakie","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"Documentation for SeisMakie.","category":"page"},{"location":"","page":"Home","title":"Home","text":"","category":"page"},{"location":"","page":"Home","title":"Home","text":"Modules = [SeisMakie]","category":"page"},{"location":"#SeisMakie.seisDifference-Tuple{Any, Any}","page":"Home","title":"SeisMakie.seisDifference","text":"SeisDifference(d1, d2; )\n\nPlot time-space, 2D seismic data d1, d2, and their difference (d1 - d2) with color, wiggles or overlay. The plots are arranged horizontally by default.\n\nArguments:\n\nd1::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace\nd2::Matrix{<:AbstractFloat}: same description as d1.\n\nKeyword Arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\ngx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces corresponding to clip.\ncmap=:viridis: the colormap to be used for color and overlay plots.\nstyle: determines the type of plot. Can be either \"wiggle\"/\"wiggles\", \"color\", \"overlay\".\nhorizontal=true: if set to false, d1, d2, and their difference are arranged vertically.\n\nReturn the figure and 3 axes corresponding to d1, d2, d1-d2.\n\nExample\n\njulia> d1 = SeisLinearEvents(); d2 = SeisLinearEvents();\njulia> f, ax1, ax2, ax_diff = SeisDifference(d1, d2);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisPlotAmplitude-Tuple{Matrix{<:Real}}","page":"Home","title":"SeisMakie.seisPlotAmplitude","text":"SeisPlotAmplitude(d,fmax,dy ; )\n\nPlot amplitude-frequency 2D seismic data d\n\nArguments\n\nd::Array{Real,2}: 2D data to plot.\n\nKeyword arguments\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\nax=nothing: the axis we want to plot on. If not supplied, one will be created and returned.\nfmax=100: maximum frequency.\ndy=0.004: time sample interval.\nnormalize=false: whether or not to normalize the data\ncolor=:red: color of the plot.\nlabel=\"\": plot label to be included in legend\n\nExample\n\njulia> d = SeisLinearEvents();\njulia> f, ax = SeisPlotAmplitude(d,100,0.004);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisPlotFK-Tuple{Any}","page":"Home","title":"SeisMakie.seisPlotFK","text":"SeisPlotFK(d; )\n\nPlot frequency-wavenumber 2D seismic data d.\n\nArguments\n\nd::Matrix{<:AbstractFloat}: 2D data to plot.\n\nKeyword arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\npclip=99.9: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nfmax=100: maximum frequency for \"FK\" or \"Amplitude\" plot.\ndx=1: increment of x-axis.\ndy=1: increment of y-axis.\ncmap=:PuOr: colormap\n\nReturn the figure and axis corresponding to d.\n\nExample\n\njulia> d = SeisLinearEvents();\njulia> f, ax = SeisPlotFK(d);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisPlotTX-Tuple{Any}","page":"Home","title":"SeisMakie.seisPlotTX","text":"SeisPlotTX(d; )\n\nPlot time-space, 2D seismic data d with image, wiggles or overlay.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace\n\nKeyword Arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\ngx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d. Only supported with style=\"wiggles\"\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces corresponding to clip.\ncmap=:seismic: the colormap to be used for image and overlay plots.\nstyle: determines the type of plot. Can be either \"wiggle\"/\"wiggles\", \"image\", \"overlay\".\n\nReturn the figure and axis corresponding to d.\n\nExample\n\njulia> d = SeisLinearEvents();\njulia> f, ax = SeisPlotTX(d);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisamplitudeplot-Tuple","page":"Home","title":"SeisMakie.seisamplitudeplot","text":"seisamplitude(d; )\nseisamplitude!(ax, d; )\n\nPlot amplitude-frequency 2D seismic data d.\n\nArguments\n\nd::Array{Real,2}: 2D data to plot.\n\nKeyword arguments\n\nfmax=100: maximum frequency.\ndy=0.004: time sample interval.\nnormalize=false: whether or not to normalize the data\ncolor=:black: color of the plot.\nlabel=\"\": plot label to be included in legend\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, amp = seisamplitude(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> amp = seisamplitude!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)\n\nMost of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisfkplot-Tuple","page":"Home","title":"SeisMakie.seisfkplot","text":"seisfk(d; )\nseisfk!(ax, d; )\n\nPlot frequency-wavenumber 2D seismic data d.\n\nArguments\n\nd::Matrix{<:AbstractFloat}: 2D data to plot.\n\nKeyword arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\npclip=99.9: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nfmax=100: maximum frequency for \"FK\" or \"Amplitude\" plot.\ndx=1: increment of x-axis.\ndy=1: increment of y-axis.\ncmap=:PuOr: colormap\n\nReturn the figure and axis corresponding to d.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, fk = seisfk(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> fk = seisfk!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)\n\nMost of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisimageplot-Tuple","page":"Home","title":"SeisMakie.seisimageplot","text":"seisimage(d; );\nseisimage!(ax, d; );\n\nRecipe to plot time-space, color plot of 2D seismic data d.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: 2D seismic data to be plotted.\n\nKeyword Arguments:\n\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\ncmap=:seismic: the colormap to be used.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, img = seisimage(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> img = seisimage!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)\n\nMost of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisoverlayplot-Tuple","page":"Home","title":"SeisMakie.seisoverlayplot","text":"seisoverlay(d; )\nseisoverlay!(ax, d; )\n\nRecipe to plot time-space, overlay plot of 2D seismic data d.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: 2D seismic data to be plotted.\n\nKeyword Arguments:\n\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces corresponding to clip.\ncmap=:seismic: the colormap to be used.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, ov = seisoverlay(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> ov = seisoverlay!(ax, d)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seiswiggleplot-Tuple","page":"Home","title":"SeisMakie.seiswiggleplot","text":"seiswiggle(d; )\nseiswiggle!(ax, d; )\n\nRecipe to plot time-space, wiggle plot of 2D seismic data d.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace\n\nKeyword Arguments:\n\ngx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, wp = seiswiggle(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> wp = seiswiggle!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015) \n\nThe code in this file was inspired by some of Aaron Stanton's in SeisPlot.jl.\n\n\n\n\n\n","category":"method"}] +[{"location":"","page":"Home","title":"Home","text":"CurrentModule = SeisMakie","category":"page"},{"location":"#SeisMakie","page":"Home","title":"SeisMakie","text":"","category":"section"},{"location":"","page":"Home","title":"Home","text":"Documentation for SeisMakie.","category":"page"},{"location":"","page":"Home","title":"Home","text":"","category":"page"},{"location":"","page":"Home","title":"Home","text":"Modules = [SeisMakie]","category":"page"},{"location":"#SeisMakie.seisDifference-Tuple{Any, Any}","page":"Home","title":"SeisMakie.seisDifference","text":"SeisDifference(d1, d2; )\n\nPlot time-space, 2D seismic data d1, d2, and their difference (d1 - d2) with color, wiggles or overlay. The plots are arranged horizontally by default.\n\nArguments:\n\nd1::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace\nd2::Matrix{<:AbstractFloat}: same description as d1.\n\nKeyword Arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\ngx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces corresponding to clip.\ncmap=:viridis: the colormap to be used for color and overlay plots.\nstyle: determines the type of plot. Can be either \"wiggle\"/\"wiggles\", \"color\", \"overlay\".\nhorizontal=true: if set to false, d1, d2, and their difference are arranged vertically.\n\nReturn the figure and 3 axes corresponding to d1, d2, d1-d2.\n\nExample\n\njulia> d1 = SeisLinearEvents(); d2 = SeisLinearEvents();\njulia> f, ax1, ax2, ax_diff = SeisDifference(d1, d2);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisPlotAmplitude-Tuple{Matrix{<:Real}}","page":"Home","title":"SeisMakie.seisPlotAmplitude","text":"SeisPlotAmplitude(d,fmax,dy ; )\n\nPlot amplitude-frequency 2D seismic data d\n\nArguments\n\nd::Array{Real,2}: 2D data to plot.\n\nKeyword arguments\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\nax=nothing: the axis we want to plot on. If not supplied, one will be created and returned.\nfmax=100: maximum frequency.\ndy=0.004: time sample interval.\nnormalize=false: whether or not to normalize the data\ncolor=:red: color of the plot.\nlabel=\"\": plot label to be included in legend\n\nExample\n\njulia> d = SeisLinearEvents();\njulia> f, ax = SeisPlotAmplitude(d,100,0.004);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisPlotFK-Tuple{Any}","page":"Home","title":"SeisMakie.seisPlotFK","text":"SeisPlotFK(d; )\n\nPlot frequency-wavenumber 2D seismic data d.\n\nArguments\n\nd::Matrix{<:AbstractFloat}: 2D data to plot.\n\nKeyword arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\npclip=99.9: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nfmax=100: maximum frequency for \"FK\" or \"Amplitude\" plot.\ndx=1: increment of x-axis.\ndy=1: increment of y-axis.\ncmap=:PuOr: colormap\n\nReturn the figure and axis corresponding to d.\n\nExample\n\njulia> d = SeisLinearEvents();\njulia> f, ax = SeisPlotFK(d);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisPlotTX-Tuple{Any}","page":"Home","title":"SeisMakie.seisPlotTX","text":"SeisPlotTX(d; )\n\nPlot time-space, 2D seismic data d with image, wiggles or overlay.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace\n\nKeyword Arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\ngx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d. Only supported with style=\"wiggles\"\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces corresponding to clip.\ncmap=:seismic: the colormap to be used for image and overlay plots.\nstyle: determines the type of plot. Can be either \"wiggle\"/\"wiggles\", \"image\", \"overlay\".\n\nReturn the figure and axis corresponding to d.\n\nExample\n\njulia> d = SeisLinearEvents();\njulia> f, ax = SeisPlotTX(d);\n\nAuthor: Firas Al Chalabi (2024)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisamplitudeplot-Tuple","page":"Home","title":"SeisMakie.seisamplitudeplot","text":"seisamplitude(d; )\nseisamplitude!(ax, d; )\n\nPlot amplitude-frequency 2D seismic data d.\n\nArguments\n\nd::Array{Real,2}: 2D data to plot.\n\nKeyword arguments\n\nfmax=100: maximum frequency.\ndy=0.004: time sample interval.\nnormalize=false: whether or not to normalize the data\ncolor=:black: color of the plot.\nlabel=\"\": plot label to be included in legend\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, amp = seisamplitude(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> amp = seisamplitude!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)\n\nMost of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisfkplot-Tuple","page":"Home","title":"SeisMakie.seisfkplot","text":"seisfk(d; )\nseisfk!(ax, d; )\n\nPlot frequency-wavenumber 2D seismic data d.\n\nArguments\n\nd::Matrix{<:AbstractFloat}: 2D data to plot.\n\nKeyword arguments:\n\nfig=nothing: the figure we want to plot on. If not supplied, one will be created and returned.\npclip=99.9: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nfmax=100: maximum frequency for \"FK\" or \"Amplitude\" plot.\ndx=1: increment of x-axis.\ndy=1: increment of y-axis.\ncmap=:PuOr: colormap\n\nReturn the figure and axis corresponding to d.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, fk = seisfk(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> fk = seisfk!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)\n\nMost of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisimageplot-Tuple","page":"Home","title":"SeisMakie.seisimageplot","text":"seisimage(d; );\nseisimage!(ax, d; );\n\nRecipe to plot time-space, color plot of 2D seismic data d.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: 2D seismic data to be plotted.\n\nKeyword Arguments:\n\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\ncmap=:seismic: the colormap to be used.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, img = seisimage(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> img = seisimage!(ax, d)\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015)\n\nMost of the code in this file is taken from SeisPlot.jl written by Aaron Stanton.\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seisoverlayplot-Tuple","page":"Home","title":"SeisMakie.seisoverlayplot","text":"seisoverlay(d; )\nseisoverlay!(ax, d; )\n\nRecipe to plot time-space, overlay plot of 2D seismic data d.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: 2D seismic data to be plotted.\n\nKeyword Arguments:\n\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\npclip=98: percentile for determining clip.\nvmin=nothing: minimum value used in colormapping data.\nvmax=nothing: maximum value used in colormapping data.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces corresponding to clip.\ncmap=:seismic: the colormap to be used.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, ov = seisoverlay(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> ov = seisoverlay!(ax, d)\n\n\n\n\n\n","category":"method"},{"location":"#SeisMakie.seiswiggleplot-Tuple","page":"Home","title":"SeisMakie.seiswiggleplot","text":"seiswiggle(d; )\nseiswiggle!(ax, d; )\n\nRecipe to plot time-space, wiggle plot of 2D seismic data d.\n\nArguments:\n\nd::Matrix{<:AbstractFloat}: the measured seismic traces. Number of columns corresponds to number of traces whereas number of rows corresponds to the number of times amplitude was measured for each trace\n\nKeyword Arguments:\n\ngx::Vector{<:Real}=nothing: the real coordinates of the seismometers corresponding to the traces in d\nox=0: first point of x-axis.\ndx=1: increment of x-axis.\noy=0: first point of y-axis.\ndy=1: increment of y-axis.\nwiggle_fill_color=:black: color for filling the positive wiggles.\nwiggle_line_color=:black: color for wiggles' lines.\nwiggle_trace_increment=1: increment for wiggle traces.\nxcur=1.2: wiggle excursion in traces.\n\nExamples\n\njulia> d = SeisLinearEvents();\njulia> f, ax, wp = seiswiggle(d)\n\njulia> d = SeisLinearEvents(); f = Figure(); ax = Axis(f)\njulia> wp = seiswiggle!(ax, d)\n\nNote: animations only work with this recipe if you update the observable d with a matrix of the same size.\n\nAuthor: Firas Al Chalabi (2024) Credits: Aaron Stanton (2015) \n\nThe code in this file was inspired by some of Aaron Stanton's in SeisPlot.jl.\n\n\n\n\n\n","category":"method"}] }