?? ips.m
字號:
function phiout=ips(phiin,f,dx,parms,dz)%phiout=ips(phiin,f,dx,parms,dz)%%Isotropic phase shift extraploation (stationary).%%phiout...spectrum of extrapolated wavefield%phiin...spectrum of input wavefield (+ve ftemporal frequencies only)%f...frequencies (Hz)%dx...surface interval of vel%parms...velocity%dz...depth through which to extrapolate%%Rob Ferguson 2003%Assistant Professor%Department of Geological Sciences%University of Texas, Austin%512 471 6405%fergusonr@mail.utexas.edu%%***get sizes of things***[rp cp]=size(phiin);f=f(:);[rf cf]=size(f);parms=parms(:);[rparms cparms]=size(parms);%*************************%***check input***if rparms~=1;error(' to many parmameters for isotropy');endif cparms~=1;error(' not a stationary velocity');endif rf~=rp;error(' frequency axis incorrect');end%*****************%***initialize some variables***kxn=1/(2*dx);%spatial nyquistdkx=2*kxn/cp;%wavenumber intervalkx=fftshift([-kxn:dkx:kxn-dkx]);%wavenumbers%*******************************%***extrapolate one dz***kz=sqrt((f*ones(1,cp)/parms).^2-(ones(rp,1)*kx).^2);%vertical slownesskz=real(kz)+sign(dz)*i*abs(imag(kz));%ensures evanescent region is complex positivegazx=exp(2*pi*i*dz*kz);%evenescent region will decay exponentiallyphiout=phiin.*gazx;%phase shift the input spectrum%************************
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -