Skip to content

Commit a27f1b0

Browse files
committed
Reproducible paper explaining kirchoff modeling #13
This SConstruct generates a reproducible paper automatically after running the numerical experiment of kirchoff modeling available in the ./scons directory. It uses references available in mybib.bib file and paper.tex is the Latex file template. More information about how to generate reproducicle papers and dependencies are available in the Madagascar website: http://www.ahay.org/wiki/Reproducible_computational_experiments_using_SCons
1 parent e1028c4 commit a27f1b0

File tree

3 files changed

+88
-0
lines changed

3 files changed

+88
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
from rsf.tex import *
2+
import os
3+
import glob
4+
5+
# Run the experiment with scons
6+
print('Running experiment with scons...')
7+
os.chdir('scons/')
8+
os.system('scons')
9+
10+
# Build figures
11+
print('Building figures...')
12+
os.chdir('Fig/')
13+
listOfFigures = glob.glob('*.vpl')
14+
15+
for i in listOfFigures:
16+
i = i.split('.')[0]
17+
print('Building '+str(i)+'.pdf')
18+
string = 'jpegpen <'+str(i)+'.vpl bgcolor=w >'+str(i)+'.jp2'
19+
os.system(string)
20+
string = 'img2pdf <'+str(i)+'.jp2 >'+str(i)+'.pdf'
21+
os.system(string)
22+
23+
print('Building reproducible papper...')
24+
os.chdir('../..')
25+
26+
End(options='manuscript',use=['[bookmarks=true]hyperref','amsmath','color','listings'])
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@Article{km,
2+
author = {B. Duquet and K. Marfut and J. Dellinger},
3+
title = {Kirchhoff modeling, inversion forreflectivity, and subsurface illumination},
4+
journal = {Geophysics},
5+
year = 2000,
6+
volume = 65,
7+
number = 4,
8+
pages = {1195-1209}}
+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
\title{Reproducible experiment: Kirchhoff modeling}
2+
3+
\author{Rodolfo A C Neves (Dirack)}
4+
\begin{abstract}
5+
To show how to implement Kirchoff modeling in Madagascar
6+
package. This paper is part of the current directory
7+
documentation followed by a SConstruct script
8+
to run the numerical experiment.
9+
\end{abstract}
10+
11+
\section{Introduction}
12+
13+
\indent In this directory we build a seismic data cube from a gaussian reflector in a linear velocity model.
14+
\footnote{This numerical experiment was originaly
15+
design by Sergey Fomel and Roman Kazinnik in
16+
the paper Non-hyperbolic common reflection surface
17+
(2013).
18+
This paper is avaliable as a reproducible paper in
19+
the \href{http://www.ahay.org}{Madagascar website}.}
20+
Velocity increases with depth with a 0.5
21+
velocity gradient and near surface velocity
22+
$v_0=1.5Km/s$.
23+
24+
\indent A seismic data cube means that each sample
25+
in the data space can be identifyed by it's CMP,
26+
half-offset and time coordinates. So, the seismic
27+
data can be represented by an amplitude function
28+
A(m,h,t), where m is the CMP, h the half-offset
29+
and t is the time.
30+
31+
Kirchhoff modeling \cite[]{km}:
32+
33+
\begin{quote}
34+
Kirchhoff modeling can be defined as the
35+
mathematical transpose of Kirchhoff migration.
36+
The resulting Kirchhoff modeling algorithm
37+
has the same low computational cost as
38+
Kirchhoff migration and, unlike expensive full
39+
acoustic or elastic wave‐equation methods,
40+
only models the events that Kirchhoff migration
41+
can image.
42+
\end{quote}
43+
44+
\inputdir{scons}
45+
\plot{gaussianReflectorVelocityModel}{width=\textwidth}{Gaussian reflector model.}
46+
47+
\plot{dataCube}{width=\textwidth}{Seismic data cube.}
48+
49+
\plot{cmpGather}{width=\textwidth}{CMP gather
50+
extracted from the seismic data cube,
51+
5Km is the CMP Gather coordinate.}
52+
53+
\bibliographystyle{seg}
54+
\bibliography{mybib}

0 commit comments

Comments
 (0)