# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .jl
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Julia 0.6.0
#     language: julia
#     name: julia-0.6
# ---

# +
using PyPlot, Seismic

dt = 0.002
w = Ricker(dt=dt)
wmin = SeisKolmogoroff(w)

nw = length(w)
t = dt*collect(0:1:nw-1)

figure(figsize=(6, 6))
subplots_adjust(hspace = 0.4)
subplot(211)
plot(t, w)
axis("tight")

title("Ricker wavelet")

subplot(212)
plot(t,wmin)
xlabel("Time (s)")
title("Minimum phase equivalent")

StarcoderdataJupyterScriptsDedupFiltered