📄 spiking.m
字号:
function [f,o] = spiking(d,NF,mu); %SPIKING: Spiking deconvolution using Levinson's recursion%% [f,o] = spiking(d,NF,mu)%% IN d: data (a column trace)% NF: lenght of the spiking operator% mu: prewhitening in percentage %% OUT f: the filter% o: the ouput or convolution of the data with % the filter (adjusted to the length of the% input data) %% Note: we assume a minimum phase wavelet%% SeismicLab% Version 1%% written by M.D.Sacchi, last modified December 10, 1998.% sacchi@phys.ualberta.ca %% Copyright (C) 1998 Seismic Processing and Imaging Group% Department of Physics% The University of Alberta%%NF = NF - 1;R = xcorr(d,d,NF);r = R(NF+1:2*NF+1);r(1) = r(1)*(1+mu/100.);[f]=levinson(r,NF);if nargout == 2o = conv(f,d); o = o(1:length(d)); %adjust lenght of outputendreturn
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -