In [8]:
using PyPlot,Seismic
In [9]:
download("http://seismic.physics.ualberta.ca/data/data_with_noise.su","data_with_noise.su");
SegyToSeis("data_with_noise.su","data_with_noise",["format"=>"su"]);
d,h = SeisRead("data_with_noise");
plotpar = ["style"=>"wiggles",
"vmin"=>-5,"vmax"=>5,
"aspect"=>"auto",
"xlabel"=>"X","xunits"=>"","ox"=>0,"dx"=>1,
"ylabel"=>"Time","yunits"=>"(seconds)","oy"=>0,"dy"=>h[1].d1,
"cmap"=>"gray",
"title"=>"data_with_noise.su"];
SeisPlot(d[:,:],plotpar);
In [10]:
download("http://seismic.physics.ualberta.ca/data/syn_cmp.su","syn_cmp.su");
SegyToSeis("syn_cmp.su","syn_cmp",["format"=>"su"]);
d,h = SeisRead("syn_cmp");
plotpar = ["style"=>"wiggles",
"vmin"=>-2,"vmax"=>2,
"aspect"=>"auto",
"xlabel"=>"X","xunits"=>"","ox"=>0,"dx"=>1,
"ylabel"=>"Time","yunits"=>"(seconds)","oy"=>0,"dy"=>h[1].d1,
"cmap"=>"gray",
"title"=>"syn_cmp.su"];
SeisPlot(d[:,:],plotpar);
In [11]:
download("http://seismic.physics.ualberta.ca/data/syn_cmp_mult.su","syn_cmp_mult.su");
SegyToSeis("syn_cmp_mult.su","syn_cmp_mult",["format"=>"su"]);
d,h = SeisRead("syn_cmp_mult");
plotpar = ["style"=>"overlay",
"vmin"=>-1,"vmax"=>1,
"aspect"=>"auto",
"xlabel"=>"X","xunits"=>"","ox"=>0,"dx"=>1,
"ylabel"=>"Time","yunits"=>"(seconds)","oy"=>0,"dy"=>h[1].d1,
"cmap"=>"seismic",
"title"=>"syn_cmp_mult.su"];
SeisPlot(d[:,:],plotpar);
In [12]:
download("http://seismic.physics.ualberta.ca/data/small_stack.su","small_stack.su");
SegyToSeis("small_stack.su","small_stack",["format"=>"su"]);
d,h = SeisRead("small_stack");
nt = size(d,1);
dt = h[1].d1;
download("http://seismic.physics.ualberta.ca/data/wavelet_for_small_stack.su","wavelet_for_small_stack.su");
SegyToSeis("wavelet_for_small_stack.su","wavelet_for_small_stack",["format"=>"su"]);
w,h_wav = SeisRead("wavelet_for_small_stack");
nt_wav = size(w,1);
plotpar = ["style"=>"color",
"vmin"=>-1,"vmax"=>1,
"aspect"=>"auto",
"xlabel"=>"X","xunits"=>"","ox"=>0,"dx"=>1,
"ylabel"=>"Time","yunits"=>"(seconds)","oy"=>0,"dy"=>dt,
"cmap"=>"PuOr","fignum"=>1,
"title"=>"small_stack.su"];
subplot(122);
w = [w[:]' zeros(nt-nt_wav)'];
plot(w[:],[0:nt-1]*dt);
title("wavelet_for_small_stack.su");
suptitle("Stack and Wavelet");
ax = gca();
ax[:invert_yaxis]();
subplot(121);
SeisPlot(d[:,:],plotpar);
In [13]:
download("http://seismic.physics.ualberta.ca/data/gom_cdp_nmo.su","gom_cdp_nmo.su");
SegyToSeis("gom_cdp_nmo.su","gom_cdp_nmo",["format"=>"su"]);
d,h = SeisRead("gom_cdp_nmo");
nx = length(h);
dx = abs(h[end].h - h[1].h)/nx;
plotpar = ["style"=>"color",
"vmin"=>-5,"vmax"=>5,
"aspect"=>5000,
"xlabel"=>"Offset","xunits"=>"(ft)","ox"=>0,"dx"=>dx,
"ylabel"=>"Time","yunits"=>"(seconds)","oy"=>0,"dy"=>h[1].d1,
"cmap"=>"gray",
"title"=>"gom_cdp_nmo.su"];
SeisPlot(d[:,:],plotpar);
In [14]:
download("http://seismic.physics.ualberta.ca/data/min_phase_wavelet.su","min_phase_wavelet.su");
SegyToSeis("min_phase_wavelet.su","min_phase_wavelet",["format"=>"su"]);
d,h = SeisRead("min_phase_wavelet");
nt = size(d,1);
dt = h[1].d1;
plot(d[:],[0:nt-1]*dt,color="k");
title("min_phase_wavelet.su");
ax = gca();
ax[:invert_yaxis]();
axis([-20,20,(nt-1)*dt,0.])
ylabel("Time (s)");
In [ ]: