In [1]:
using PyPlot,Seismic
In [2]:
download("http://ualberta.ca/~kstanton/files/kevin_0off_velocity.su","kevin_0off_velocity.su");
SegyToSeis("kevin_0off_velocity.su","kevins_model",{"format"=>"su"});
d,h = SeisRead("kevins_model");
coh,pp,res = SeisPWD(d,["w1"=>30,"w2"=>20,"dx"=>8,"dz"=>4]);
In [3]:
SeisPlot(d);
hold("true");
L = 1;
pp_x = cos((pp-90)*pi/180)*L
pp_y = sin((pp-90)*pi/180)*L
quiver([0:30:350-1],[0:30:600-1],
pp_x[1:30:end,1:30:end], pp_y[1:30:end,1:30:end],
angles="xy",scale=25,color="purple");
savefig("pwd",dpi=200)
In [ ]: