📄 make659syn.m
字号:
function [amat,t,x]=make659syn(dt,dx,tmax,xmax,v,w,tw)
% [amat,t,x]=make659syn(dt,dx,tmax,xmax,v,w,tw)
%
% make 659 synthetic
% dt ... desired time sample rate
% dx ... desired space sample rate
% tmax ... maximum time desired in seconds
% xmax ... length of section in physical units
% v ... velocity for hyperbolas
% w ... wavelet
% tw ... wavelet time coordinate
%
% NOTE: It is illegal for you to use this software for a purpose other
% than non-profit education or research UNLESS you are employed by a CREWES
% Project sponsor. By using this software, you are agreeing to the terms
% detailed in this software's Matlab source file.
% BEGIN TERMS OF USE LICENSE
%
% This SOFTWARE is maintained by the CREWES Project at the Department
% of Geology and Geophysics of the University of Calgary, Calgary,
% Alberta, Canada. The copyright and ownership is jointly held by
% its author (identified above) and the CREWES Project. The CREWES
% project may be contacted via email at: crewesinfo@crewes.org
%
% The term 'SOFTWARE' refers to the Matlab source code, translations to
% any other computer language, or object code
%
% Terms of use of this SOFTWARE
%
% 1) Use of this SOFTWARE by any for-profit commercial organization is
% expressly forbidden unless said organization is a CREWES Project
% Sponsor.
%
% 2) A CREWES Project sponsor may use this SOFTWARE under the terms of the
% CREWES Project Sponsorship agreement.
%
% 3) A student or employee of a non-profit educational institution may
% use this SOFTWARE subject to the following terms and conditions:
% - this SOFTWARE is for teaching or research purposes only.
% - this SOFTWARE may be distributed to other students or researchers
% provided that these license terms are included.
% - reselling the SOFTWARE, or including it or any portion of it, in any
% software that will be resold is expressly forbidden.
% - transfering the SOFTWARE in any form to a commercial firm or any
% other for-profit organization is expressly forbidden.
%
% END TERMS OF USE LICENSE
x1=xmax*4/30;
x2=xmax*12/30;
x3=xmax*18/30;
x4=xmax*26/30;
t1=tmax*.04/1.5;t1a=tmax*.18/1.5;
t2=tmax*.07/1.5;t2a=tmax*.34/1.5;
t3=tmax*.12/1.5;t3a=tmax*.56/1.5;
t4=tmax*.18/1.5;t4a=tmax*.82/1.5;
x=0:dx:xmax;
t=0:dt:tmax;
nx = length(x);
nt = length(t);
amat=zeros(nt,nx);
%dipping events
amat= event_dip(amat,t,x,[t1 t1a],[x1 x2],1.0);
amat= event_dip(amat,t,x,[t2 t2a],[x1 x2],1.0);
amat= event_dip(amat,t,x,[t3 t3a],[x1 x2],1.0);
amat= event_dip(amat,t,x,[t4 t4a],[x1 x2],1.0);
amat= event_dip(amat,t,x,[t1a t1],[x3 x4],1.0);
amat= event_dip(amat,t,x,[t2a t2],[x3 x4],1.0);
amat= event_dip(amat,t,x,[t3a t3],[x3 x4],1.0);
amat= event_dip(amat,t,x,[t4a t4],[x3 x4],1.0);
%flat event
t5=tmax*1/1.5;
amat=event_dip(amat,t,x,[t5 t5],[0 xmax],1);
%spikes
ts1=tmax*.3/1.5;ts2=tmax*.75/1.5;
amat=event_spike(amat,t,x,ts1,xmax/2,1);
amat=event_spike(amat,t,x,ts2,xmax/2,1);
%hyperbolas
th1=tmax*.6/1.5;th2=tmax*1.2/1.5;
amat=event_hyp(amat,t,x,th1,xmax/2,v,1);
amat=event_hyp(amat,t,x,th2,xmax/2,v,1,1,1000);
amat=sectconv(amat,t,w,tw);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -