Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OpenSource
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Willem Thorbecke
OpenSource
Commits
89b59a31
Commit
89b59a31
authored
3 years ago
by
JanThorbecke
Browse files
Options
Downloads
Patches
Plain Diff
adding files
parent
ad2b32c2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
raytime/demo/clean
+4
-0
4 additions, 0 deletions
raytime/demo/clean
raytime/demo/raycheck.m
+86
-0
86 additions, 0 deletions
raytime/demo/raycheck.m
with
91 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
89b59a31
...
@@ -36,6 +36,7 @@ utils/makeR1D
...
@@ -36,6 +36,7 @@ utils/makeR1D
utils/padmodel
utils/padmodel
utils/pwshift
utils/pwshift
utils/truncate
utils/truncate
utils/changevalue
fdelmodc/fdelmodc
fdelmodc/fdelmodc
include/genfft.h
include/genfft.h
include/zfp.h
include/zfp.h
...
...
This diff is collapsed.
Click to expand it.
raytime/demo/clean
0 → 100755
+
4
−
0
View file @
89b59a31
#!/bin/bash
rm
*
.su
*
.bin
*
.txt
*
.eps nep
This diff is collapsed.
Click to expand it.
raytime/demo/raycheck.m
0 → 100644
+
86
−
0
View file @
89b59a31
clear
;
close
all
;
clc
;
nx
=
801
;
sx
=
4000
;
nt
=
1634
;
dx
=
25
;
dt
=
0.003
;
xvec
=
sx
:
dx
:
sx
+
dx
*
(
nx
-
1
);
tvec
=
0
:
dt
:(
nt
-
1
)
*
dt
;
figure
;
FD
=
fopen
(
'FD_rp.bin'
);
gm
=
reshape
(
fread
(
FD
,
'float32'
),
nt
,
nx
);
fclose
(
FD
);
imagesc
(
xvec
,
tvec
,
gm
);
colormap
gray
ylim
([
0
5
])
caxis
([
-
10
10
])
set
(
gca
,
'FontSize'
,
18
)
set
(
gca
,
'XAxisLocation'
,
'top'
);
xlabel
(
'x [m]'
);
ylabel
(
't [s]'
)
title
(
'Saga depth 4500'
)
hold
on
;
FD
=
fopen
(
'pray0_time.bin'
);
g2
=
reshape
(
fread
(
FD
,
'float32'
),
nx
,
1
);
fclose
(
FD
);
plot
(
xvec
,
g2
,
'--k'
,
'LineWidth'
,
2
);
hold
on
;
FD
=
fopen
(
'Jray0_time.bin'
);
g2
=
reshape
(
fread
(
FD
,
'float32'
),
nx
,
1
);
fclose
(
FD
);
plot
(
xvec
,
g2
,
'--g'
,
'LineWidth'
,
2
);
hold
on
;
FD
=
fopen
(
'Jray0_timeStandard.bin'
);
g2
=
reshape
(
fread
(
FD
,
'float32'
),
nx
,
1
);
fclose
(
FD
);
plot
(
xvec
,
g2
,
'--c'
,
'LineWidth'
,
2
);
legend
(
'FD method'
,
'Jesper with 0.5*T2'
,
'Standard Jesper'
)
%
% nx = 801;
% sx = 0;
% nt = 2049;
% dx = 25;
% dt = 0.004;
% xvec = sx:dx:sx+dx*(nx-1);
% tvec = 0:dt:(nt-1)*dt;
%
% figure;
% FD = fopen('saga_shot.bin');
% gm = reshape(fread(FD,'float32'),nt,nx);
% fclose(FD);
% imagesc(xvec,tvec,gm);
% colormap french
% ylim([1.7 4])
% caxis([-0.00001 0.00001])
% set(gca,'FontSize',18)
% set(gca,'XAxisLocation','top');
% xlabel('x [m]');
% ylabel('t [s]')
% title('SAGA')
%
% hold on;
% FD = fopen('saga_fd.bin');
% g2 = reshape(fread(FD,'float32'),nx,1);
% fclose(FD);
% plot(xvec,g2,'--k','LineWidth',2);
%
% hold on;
% FD = fopen('saga_T1.bin');
% g2 = reshape(fread(FD,'float32'),nx,1);
% fclose(FD);
% plot(xvec,g2,'--g','LineWidth',2);
%
% hold on;
% FD = fopen('saga_T2.bin');
% g2 = reshape(fread(FD,'float32'),nx,1);
% fclose(FD);
% plot(xvec,g2,'--c','LineWidth',2);
%
% legend('old','T1','T2')
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment