clc;clear
%% PGC Test
shot=altreadsegy('shot20.sgy'); %reading the sht gather
r=zeros(1000,2400); %zeros matrix for replacing
m=shot(1:50,1:1800); %m matrix (part of shot as ref Window
m2=shot(1:100,1800:2400);
%% Matrices for scaning the shot matrix
f=shot(50:100,1:1800);
n=shot(100:300,1:1800);
p=shot(300:500,1:1800);
q=shot(500:800,1:1800);
l=shot(800:1000,1:1800);
k=shot(1:500,1800:2400);
h=shot(500:1000,1800:2400);
%% calculating the RMSs and using some constant numbers for efficient gain
z1=mean(rms(m))/mean(rms(n)); n=n*z1*5;
z2=mean(rms(m))/mean(rms(p)); p=p*z2;
z3=mean(rms(m))/mean(rms(q)); q=q*z3;
z4=mean(rms(m))/mean(rms(l)); l=l*z4;
z5=mean(rms(m2))/mean(rms(k)); k=k*z5*3;
z6=mean(rms(m))/mean(rms(h)); h=h*z6;
%% Replacing the results
r(1:50,1:1800)=m*5;
r(50:100,1:1800)=f;
r(100:300,1:1800)=n;
r(300:500,1:1800)=p;
r(500:800,1:1800)=q;
r(800:1000,1:1800)=l;
r(1:500,1800:2400)=k;
r(500:1000,1800:2400)=h;
%% Printing the result and comparing them
figure(1)
subplot(2,1,1); imagesc(abs(shot)); title('Before PGC');
subplot(2,1,2); imagesc(abs(r)); title('After PGC');
PGC_pgcMATLAB_pgcseismic_pgc_seismicdata
版权申诉
5星 · 超过95%的资源 10 浏览量
2021-09-11
03:46:09
上传
评论
收藏 39KB RAR 举报
心梓
- 粉丝: 822
- 资源: 8055
最新资源
- 开源代码分享(31)-计及电转气协同的含碳捕集与垃圾焚烧虚拟电厂优化调度
- meta-llama-3-8b-instruct 的 model-00002-of-00004.safetensors 的1/3
- AnyTXT.Searcher.1.3.1168.Win32&Win64.exe
- Redis windows版本的redis安装包和可视化工具客户端、redis存取数据的项目demo
- code1_2
- L999_期末项目.ipynb
- 数字频率计的设计(内含原理图、源代码、实物照片)
- 国密SM4加解密,前后端文件合集
- 基于TypeScript和UmiJS的高校学生报名系统设计源码 - student-sign
- 免费gpt4系列、claude-3、gemini 等模型傻瓜式开箱即用
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈