⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 l_data.m

📁 seislab
💻 M
字号:
function wlog=l_data% Create a synthetic well log for test and demo purposes; the log curves are% not based on any rock physics.%% Written by: E. R.: October 1, 2005;% Last updated: April 16, 2006: Add field "curve_types"%%      wlog=l_datarun_presets_if_needed    param.seed=1111;param.stdev=2;param.first=5000;param.last=10000;param.step=0.5;depth=(param.first:param.step:param.last)';nsamp=length(depth);%	Set seed for random number generator to assure that the same log %       is created each time the function is runrandn('state',param.seed);temp=create_powerlaw_samples(nsamp,1,-0.5,param.seed);dt=3000*depth.^(-0.33)+(500./sqrt(depth)).*temp;vp=1.0e6./dt;vclay=max((min((3.5+temp),6)/6),0).^0.5;vclay(vclay < 0.5)=vclay(vclay < 0.5).^2;%	Create log curvescurves=zeros(nsamp,6);curves(:,1)=depth;curves(:,2)=dt;curves(:,3)=vp;curves(:,4)=0.23*curves(:,3).^0.25 + 0.02*randn(nsamp,1);curves(:,5)=0.7742*vp-884/0.3 + 100*randn(nsamp,1);curves(:,6)=vclay;wlog=l_convert(curves,{'depth','ft','Depth';                       'DTp','us/ft','P-sonic';		       'Vp','ft/s','P-velocity';		       'rho','g/cm3','Bulk density';		       'Vs','ft/s','S-velocity';		       'Vclay','fraction','Clay volume fraction'});wlog.name='Synthetic log';wlog.parameter_info={'ekb',wlog.units,'Kelly Bushing Elevation'};wlog.ekb=84;%	Add curve-type info to well logwlog=add_curve_type(wlog,{'depth','depth','Depth'});wlog=add_curve_type(wlog,{'DTp','dtp','Depth'});wlog=add_curve_type(wlog,{'Vp','vp','P-velocity'});wlog=add_curve_type(wlog,{'rho','rho','Density'});wlog=add_curve_type(wlog,{'Vs','vs','S-velocity'});wlog=add_curve_type(wlog,{'Vclay','vclay','Clay volume'});

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -