1. TECHNICAL UNIVERSITY OF CRETE
DEPARTMENT OF MINERAL RESOURCES ENGINEERING
APPLIED GEOPHYSICS LAB
73 100 CHANIA
TEL: (+30-28210) 37670 - Fax: (+30-28210) 69554 – e-mail: gkritik@mred.tuc.gr
USERS’ MANUAL FOR kriSIS v1.04
Open Source Matlab™ Algorithms for Analysis of Surface Waves
Programmed by g. kritikakis
Manual v. 1.1
July 2010
2. kriSIS v1.04
made by gkritik2
USERS’ MANUAL FOR kriSIS v1.04
kriSIS OPEN SOURCE ALGORITHMS HAVE BEEN TESTED IN MATLAB™ 6.5
RUNNING ON WINDOWS XP sp2 AND ARE DISTRIBUTED FOR FREE "AS IS",
WITHOUT WARRANTIES AS TO PERFORMANCE OR MERCHANTABILITY OR
ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO
WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED.
Consult the installation guide before running kriSIS v1.04.
Run the command “kriSIS_auto” on the command window to launch the
application. For further documentation press “help kriSIS_auto“ on the
command window. The MASW data processing is competed to 5 steps:
1. The first step includes reading SGY seismic files or importing a dispersion
curve.
To proceed with the first step, press “Continue”. To terminate the process
press “Cancel”.
IMPORTANT: The byte of binary SGY data must be 32-Bit Floating Point
ordered as “Most Significant Byte First”. To create SGY file from a Matlab
array use the command DATA2SGY(data,dt,offset).
3. kriSIS v1.04
made by gkritik3
Dispersion curves can be imported either by an *.RDC file (from previously
processed data) or just a (stored as *.mat file) 3-column ([frequency phase
velocity dispersion curve error]) MATLAB table. IMPORTANT: The selection
of this kind of date bypasses the steps 2 and 3.
2. The second step includes the transformation of seismic data from Time-
Distance domain to Frequency-Phase velocity domain where the dispersion
curves will be shown among the local energy maxima.
To proceed with the second step, press “Continue”. To terminate the
process, press “Cancel”. To return to the previous step press “Back”.
4. kriSIS v1.04
made by gkritik4
The kriSIS uses the available from file headers information to set up “Shot
Geometry” parameters. IMPORTANT: All that matters is the relative position
of the seismic source compare to the geophones. It is also correct, for
example, to insert as Source Coordinate 0.00, and first Receiver Coordinate
7.5, instead of –7.5 and 0.0, respectively.
If the geophones were placed in irregular intervals along seismic line, the user
can edit geophone offsets individually by pressing the “Get from Headers
/ Set Irregular Group Intervals” button.
If you set on (default option) the “Normalize amplitudes of original
(t,x) data” radio button, the amplitudes of seismic traces will be
normalized (before the wavefield transformation) to revert the seismic energy
loss due to geometrical spreading.
5. kriSIS v1.04
made by gkritik5
Phase velocity – Frequency domain window is selected by setting the
minimum and maximum values of phase velocity and frequency as well as
their increment. Normally, the default values are adequate to image the
dispersion curve of the most seismic records. The user can refine the window
afterwards using the “Back” option.
3. The third step includes the selection of fundamental and higher mode
dispersion curves from the local energy maxima.
To proceed with the third step, press “Continue”. To terminate the
process, press “Cancel”. To return to the previous step press “Back”.
6. kriSIS v1.04
made by gkritik6
There is an option to import dispersion curves (DCs) from adjacent seismic
records as a guide DCs for easier selection. Dispersion curves can be
imported either by an *.RDC file (from previously processed data) or just a
(stored as *.mat file) 3-column ([frequency phase velocity dispersion curve
error]) MATLAB table.
Fundamental DC selection is performed by surrounding the white crosses
(which correspond to the local maxima along frequency) using a polygon.
LEFT mouse key sets a point of the polygon on the image, DELETE button
deletes previously set points and RIGHT mouse key is used to terminate the
selection. IMPORTANT: Usually the fundamental dispersion curve is
appeared at lower frequencies and phase velocities than higher modes. Make
sure that the first DC you select corresponds to the fundamental one.
7. kriSIS v1.04
made by gkritik7
In MATLAB 6.5, the selected crosses are automatically highlighted with
magenta squares and an estimation of the DC standard deviation is calculated
(bounds). DC standard deviation is calculated along each frequency by the
determination of the difference between the phase velocity, which corresponds
to selected DC point and the phase velocity of a point with energy equal to
63% of the corresponding energy of selected DC point. IMPORTANT: In
MATLAB 7.5 (R2007b) the polygon selection must be verified by pressing
RIGHT mouse button and selecting the option “Create Mask”
8. kriSIS v1.04
made by gkritik8
Afterwards, kriSIS prompts a window to request if the user intends to select
the next higher mode. IMPORTANT: You cannot neglect the selection of a
higher mode in order to proceed with the selection of the next one. Thus,
higher modes must be selected sequentially.
Higher mode selection is repeated (up to 9 modes including fundamental)
unless the user terminates DC selection by pressing “NO” button.
9. kriSIS v1.04
made by gkritik9
4. The forth step includes the selection of initial model, inversion parameters
and convergence criteria.
To proceed with the forth step, press “Continue”. To terminate the
process, press “Cancel”. To return to the previous step press “Back”.
MODEL PARAMETERS
kriSIS_auto creates automatically an initial model parameters based on the
values of fundamental dispersion curve. In this case, the “No of Layers“ is
affected from the selection of DC to initial model transformation mode
(“Coarse“, “Medium“, “Fine“). IMPORTANT: Usually, only the low depth
layers are split when the user increases the level of layering (i.e. to Fine). The
default value is “Coarse“. The first layer is common to get greater thickness
than the second, third, etc.
10. kriSIS v1.04
made by gkritik10
The user can modify the “No of Layers“ from 2 to 35, either by writing the
number in the box, or using the up and down arrows. In this case, the DC to
initial model transformation mode is turned automatically to “Variable“ layer
thickness and the model layers receive gradually increased thickness as the
depth increases.
Maximum investigation depth is correlated to the greatest observed
wavelength (λ=VR/f) with “λ / depth ratio”. This ratio can be modified
from 1 to 3. However, by pressing the “OR” button, the user can define the
maximum depth. In this case “λ / depth ratio” is deactivated.
IMPORTANT: Extreme values of depth (compared to the proposed) may lead
to erroneous solutions or unstable inversion.
The model layers can also be equal by pressing the “Equal” radio button.
Initial model can be imported by reading the best iteration from an
“ACDC_OUT.txt” export file of a previously processed record or DC file (see
saved files further down).
By pressing “Default”, the model parameters are set according to the
values: “Medium“ layering calculated from DC and “λ / depth ratio =
2.0”
All table elements are adjustable apart from depth (Z) values, which are
calculated from layers Thickness.
Either Vp, or Poisson’s ratio (ν) value of each layer must be fixed during the
inversion. Fixing value equal to 1 means that the model parameter of the
corresponding layer is free to change during the inversion. Fixing value equal
to 0 means the opposite. IMPORTANT: Any a-priory information can be
retained during the inversion by fixing the appropriate values. IMPORTANT:
Vp, ν and density (ρ) ARE NOT inverted. They just change values every
iteration according to the fixed values (Vp or ν) and the values of Vs.
Fixing all values of Vp, Poisson’s ratio or density can be done by selecting the
corresponding check box (“fix all Vp”, “fix all Pois”, “fix all ρ”).
The values of all Poisson’s ratios can also be edited by setting its value to the
“all Pois” box.
11. kriSIS v1.04
made by gkritik11
Poisson’s ratio values is calculated from the Vs and Vp values according to
the formula:
1
15.0
2
2
−⎟
⎠
⎞
⎜
⎝
⎛
−⎟
⎠
⎞
⎜
⎝
⎛
⋅
=
Vs
Vp
Vs
Vp
ν , while density is calculated from:
ρ = 0.0002·Vp + 1.7 (g/cm3
)
12. kriSIS v1.04
made by gkritik12
INVERSION PARAMETERS
The values of Jacobian matrix can be calculated numerically from Thomson-
Haskell method using Ridder’s discrete differentiation technique (“T – H”
selection) or estimated using “Quasi – Newton” techniques. The later
method is NOT recommended due to its unstable inversion behavior and the
insecure results that may produce.
Weighting DC data can be done by taking into consideration the “DC error”
bounds (see STEP 3), the values of Jacobian matrix (“Jacobian values”)
and/or the differences between the observed and the calculated dispersion
curves (“Robust Inversion”) in any combination of the three. The selection
of the later, corresponds to the minimization of the sum of absolute differences
between the observed and the calculated dispersion curves (Norm L1) using
the Iteratively Re-weighted Least Squares (IRLS) method.
Five types of constraints can be applied: (1) Smoothing, (2) Damping and (3)
Blocky (a modified smoothing constraint which MAY highlights sharp
boundaries), as well as the combination of (4) Smoothing and Damping or (5)
Damping and Blocky.
The default inversion parameters are: “T - H” Jacobian calculation, “Robust
inversion” weight and “Bloky” constraint.
CONVERGENCE CRITERIA
The selection of “Optimizing RMS” radio button optimizes the inversion
process by calculating the optimum Lagrangean multiplier in each iteration
using internal sub-iterations. This forces inversion to the reduction of RMS
error in each iteration and stops the process when no further RMS reduction
can be achieved. It should be deactivated only when the inversion stops at the
first few iterations and the RMS error remains high.
“Max Iteration” is the maximum number of iterations in case that the
following convergence criteria are not satisfied. It can be set up to 200. Its
default value, when “Optimizing RMS” is activated, is 30. 100 otherwise.
“Min % RMS Error” is the main (desired) stopping criterion. Inversion
process stops when the percentile root mean square error between the
13. kriSIS v1.04
made by gkritik13
observed and the calculated dispersion curves is lower than the selected
value. Takes values from 0.1 to 99.9 %.
By pressing “AND” button the “Max Vs correction for RMS satisfied
(m/s)” box is activated and another stopping criterion is added to the
previous one (RMS). Namely, inversion process stops when the RMS error is
lower than its limit AND the maximum model correction (in m/s) is lower than
the selected value (default 1 m/s).
The last convergence criterion “Min Vs correction for RMS NOT
satisfied (m/s)” prevents the inversion to converge very slowly. The
process stops when the maximum model correction (in m/s) is lower than the
selected value (default 0.01 m/s).
Default values are shown on the figure above.
When the user presses “OK” button, kriSIS performs check to the imported model
parameters. Some warning messages may appear on the screen related to the
maximum depth of investigation and the correction of Vp or Poisson’s ratio
values.
By minimizing (not necessary) all prompted windows the user is able to observe
on the command window information about the inversion process (Iteration No,
RMS error, Damping, Smoothing and/or Blocky factors, and the maximum value
of model correction – DVs(max)).
14. kriSIS v1.04
made by gkritik14
5. On the fifth step the user is able to observe the final inversion results and
save or discard them.
To save the inversion results, press “Save”. To discard the inversion result,
press “Clear”. To return to the previous step press “Back”.
IMPORTANT: The displayed inversion results concern the Vs profile, which gives
the smallest RMS error.
15. kriSIS v1.04
made by gkritik15
By pressing “Back” button, the window of the 4th
step is appeared.
By pressing “Clear” button, the inversion results are discarded.
By pressing “Save” button, a dialog box is prompted where the user can
specify the directory and the filename for the inversion results to be saved. It
takes some time to save the inversion results because the forward problem
(dispersion curve calculation) is solved to calculate all possible dispersion
curves (fundamental and higher modes) of the final model, which appeared
16. kriSIS v1.04
made by gkritik16
within the specified (on Step 2) frequency – phase velocity window. A warning
message may also appear when the dispersion curves is not possible to be
calculated for the complete frequency range.
The inversion results are saved in a folder named by the given filename and
placed in the specified location. These results consist of:
ACDC_IN.dat is a text file containing the observed DC, initial model
parameters, inversion parameters and convergence criteria.
ACDC_JAC.txt is a text file containing the Jacobian matrix of each
iteration.
ACDC_OUT.txt is a text file containing the inversion history (observed
and calculated DC, DC misfit and corresponding RMS error, intermediate
Vs profiles and their adjustments and Lagrangean multipliers).
ACDC_RES.txt is a text file containing the resolution and covariance
matrices for each iteration.
‘Filename’.RDC is a MATLAB file (struct array) containing information
about the observed DCs and the transformed seismic data in the
frequency – phase velocity damain.
‘Filename’.VSD is a MATLAB file (double array) containing information
about the final model.
17. kriSIS v1.04
made by gkritik17
‘Filename’_1-TRACES.emf is a picture file (Enhanced Metafile)
displaying the seismic traces.
18. kriSIS v1.04
made by gkritik18
‘Filename’_1-DC.emf is a picture file (Enhanced Metafile) displaying the
distribution of seismic energy in frequency – phase velocity domain, the
observed DC and the calculated ones (black dashed curves).
‘Filename’_3-RES-SNS-SGM.emf is a picture file (Enhanced Metafile)
displaying the values of Resolution matrix, the sensitivity (%) of each
model layer Vs value and the corresponding model bounds (standard
deviation of Vs values deduced from Covariance matrix).
19. kriSIS v1.04
made by gkritik19
‘Filename’_4-RMS_DISTR.emf is a picture file (Enhanced Metafile)
displaying (a) the number of samples distributed to the RMS error (%)
levels, (b) the distribution of RMS error (%) vs the sample number and (c)
the contribution (%) of the RMS error vs the frequency range.
20. kriSIS v1.04
made by gkritik20
‘Filename’_5-RMS.emf is a picture file (Enhanced Metafile) displaying the
RMS error vs iterations and the current Lagrangean multiplier.
21. kriSIS v1.04
made by gkritik21
‘Filename’_6-RES.emf is a picture file (Enhanced Metafile), which
displays the calculated DC fit on the observed one and the corresponding
RMS error (%) as well as the initial and final Vs depth profile.
‘Filename’_OUT.xls is a tab delimited text file containing information
about the observed and calculated DC (of the best iteration), the initial
and final (best) model, the inversion parameters, convergence criteria
and RMS error for each iteration (see further down).
Either save or discard the inversion results, the processing can be repeated
(“Continue”) with the same or another data set (seismic record or DC).
Otherwise, the processing is terminated by pressing “Cancel”.