mGstat

Thomas Mejer Hansen

Jan 06, 2011

Abstract

mGstat is a geostatistical Matlab toolbox. Both native functions and interfaces to GSTAT, VISIM(GSLIB), SNESIM, and S-GeMS are provided


Table of Contents

1. Installation
mGstat
System Requirements
mGstat from SVN
Extras
GSTAT
VISIM
SNESIM
S-GeMS
Global settings
MGSTAT_VERBOSE_LEVEL
SEMIVAR_DEF
GSTLAPPLIHOME
SGEMS_DEV
2. Native Matlab kriging algorithms
Specifications of data locations
Modeling spatial correlation
Semivariogram specification
Synthetic semivariogram
Experimental semivariogram
Estimation
Kriging Options
Kriging examples
Simulation
3. GSTAT from Matlab
Working with GSTAT and mGstat
The GSTAT parameter file in mGstat
An interactive GSTAT session in Matlab
GSTAT-related m-files
gstat
gstat_read_par
gstat_write_par
gstat_krig
gstat_convert
gstat_binary
semivar_exp_gstat
GSTAT examples
GSTAT ex03
GSTAT ex04
GSTAT ex05
GSTAT ex06
GSTAT ex07
GSTAT ex09
GSTAT ex10
4. VISIM - Direct and Gaussian sequential simulation
VISIM
Running VISIM from Matlab
Plotting VISIM realizations
VISIM examples
visim_init
Direct Sequential Simulation
Correlated data errors
Simulation of linear inverse problems
Cross borehole tomography example
5. SNESIM - Single Normal Equation SIMulation
Working with SNESIM and mGstat
Working with SNESIM and mGstat
6. S-GeMS - The Stanford Geostatistical Modeling Software
Install S-GeMS
S-GeMS data format
GEOEAS to S-GeMS
S-GeMS to EAS
Using S-GeMS
Sequential simulation using S-GeMS
Unconditional sequential Gaussian simulation using S-GeMS
Conditional sequential Gaussian simulation
Unconditional SNESIM and FILTERSIM Gaussian simulation using S-GeMS
Convert image to training image;
Simulation demonstration
Probability perturbation (PPM)
7. Misc
Traveltime calculation using FAST
Compile nfd using g77
fast_fd_2d
fast_fd_2d_traveltime
fast_fd_2d_traveltime_matrix
fast_fd_clean
Computing sensitivity kernels using nfd
8. Matlab Reference
Core functions
Contents
CreateMisfitFunction
MakeXmlRef
arcinfo2eas
block_log
cokrig_sk
colorbar_shift
colormap_nan
colormap_squeeze
comb_cprob
comb_cprob_ind
comb_cprob_nd
covar_exp
cpdf
create_nscore_lookup
create_nscore_lookup_old
csemivar_exp
deformat_variogram
dual
edist
estim_taran
etype
f77strip
fft_ma_3d
format_variogram
fresnel_punch
gaussian_simulation_cholesky
gstat
gstat_binary
gstat_convert
gstat_krig
gstat_krig_blinderror
hpd_2d
hpd_2d_point
icpdf
indicator_transform_con
indicator_transform_dis
inscore
isorange
krig
krig_blinderror
krig_covar_lik
krig_crossval_1d_exh
krig_npoint
krig_optim_1d_exh
krig_optim_mcmc
krig_optim_ml
krig_optim_range
krig_volume
least_squares_inversion
least_squares_oneone
least_squares_partition_data
least_squares_slice
mgstat_clean
mgstat_demo
mgstat_dir
mgstat_set_path
mgstat_verbose
nanmean
nanstd
nanvar
nhood
normcdf
norminv
normpdf
nscore
plot_scale
pos2index
ppp
precal_cov
print_mul
progress_txt
rank_transform
read_arcinfo_ascii
read_bin
read_eas
read_emm
read_gstat_ascii
read_gstat_par
read_gstat_semivar
read_petrel
read_punch_par
read_surfer_grid
rot2
scatter_dot
scatter_hpd
semivar
semivar_exp
semivar_exp_gstat
semivar_map
semivar_optim
semivar_synth
set_mgstat_path
sgsim
space2char
spherical_spreading
strip_space
suptitle
title_alt
vonk2d
watermark
write_arcinfo_ascii
write_bin
write_eas
write_gstat_ascii
write_gstat_par
write_punch_par
write_surfer_grid
VISIM functions
G_to_visim
calc_gstat_semivar
covar_prob
read_visim
semivar_mat
visim
visim_calc_semivar_prob
visim_cholesky
visim_clean
visim_error_sim
visim_format_variogram
visim_init
visim_lsq
visim_make_movie
visim_mask
visim_merge_volume_data
visim_movie
visim_plot
visim_plot_condtab
visim_plot_etype
visim_plot_hist
visim_plot_kernel
visim_plot_kernel2
visim_plot_rpath
visim_plot_semivar
visim_plot_semivar2
visim_plot_semivar_compare
visim_plot_semivar_mul
visim_plot_semivar_real
visim_plot_sim
visim_plot_stat
visim_plot_volfit
visim_plot_volume
visim_precal_linearization
visim_prior_prob
visim_prior_prob_gibbs
visim_prior_prob_mcmc
visim_prior_prob_mcmc_tomolin
visim_prior_prob_sill
visim_semivar
visim_semivar_pdf
visim_semivar_uncon
visim_set_broadband_covariance
visim_set_conditional_point
visim_set_multiscale_covariance
visim_set_resim_data
visim_setup_punch
visim_setup_tomo_kernel
visim_slice_volume
visim_to_G
visim_tomo_setup
visim_tomography
visim_tomography_forward
visim_tomography_linearize
vvisim
write_visim
SNESIM functions
read_snesim
snesim
snesim_init
snesim_prior_sampler
snesim_set_resim_data
write_snesim
S-GeMS functions
eas2sgems
sgems
sgems2eas
sgems_clean
sgems_demo
sgems_get_par
sgems_grid
sgems_grid_py
sgems_image2ti
sgems_plot_project
sgems_plot_structure
sgems_ppm
sgems_read
sgems_read_project
sgems_read_xml
sgems_set_resim_data
sgems_variogram_xml
sgems_write
sgems_write_grid
sgems_write_pointset
sgems_write_xml
FAST/nfd functions
eikonal_raylength
fast_demo
fast_fd_2d
fast_fd_2d_chunk
fast_fd_2d_traveltime
fast_fd_2d_traveltime_matrix
fast_fd_clean
fast_fd_write_par
test_fast_fd
Misc functions
LowPass1
LowPass1nan
LowPass2
LowPass2nan
accept_rate
caxis_squeeze
cmap_quantile
cmap_rwb
conv2_strip
conv_strip
despike
figure_focus
find_row_array
gamma_coefficients
gaussian_likelihood
generalized_gaussian
generalized_gaussian_2d
isoctave
jura
kernel_buursink_2d
kernel_finite_2d
kernel_fresnel_2d
kernel_fresnel_monochrome_2d
kernel_multiple
kernel_slowness_to_velocity
kml_line
kml_points
mspectrum
munk_fresnel_2d
munk_fresnel_3d
pick_first_arrival
plot_mh_error_hist
plot_mh_loglikelihood
punch
rayinv_grid_v
rayinv_load_tx
rayinv_load_v
rayinv_plot_tx
rickerwavelet
sample_generalized_gaussian
set_paper
set_resim_data
statusbar
su_write_model
test_fd_su_gpr

List of Tables

2.1. kriging options