Name
tps — Thin plate spline gridding of well data
Syntax
tps [inc] | [nx ny] [nosmo] [ref referencegrid]
Description
Gridding command for a small number of points (< 100) that applies Thin plate spline theory; i.e. a thin plate is passing through the input points the same way as a spline curve is interpolating points. That means the generated surface will have minimum tension as the tension energy is released as much as possible.
The gridding may bw usefull for gridding well data that represents subsurface structures that have released their energy.
The algorithm shows good extrapolation qualities. After gridding the result grid is saved in workspace as tpsgrid.
The tps command is available in the oil and gas plugin.
Quotes from the link page
TPS has been widely used as the non-rigid transformation model in image alignment and shape matching.
The popularity of TPS comes from a number of advantages: (1) the interpolation is smooth with derivatives of any order; (2) the model has no free parameters that need manual tuning; (3) it has closed-form solutions for both warping and parameter estimation; and (4) there is a physical explanation for its energy function.
Arguments
No arguments.
The grid will have the same number of rows and columns as the last grid that set the @nrow @ncol variables.
inc xinc yinc
Create grid model grid with increments xinc and yinc .
nx ny
Create a grid with nx times ny grid cells.
nosmo
A default smoothing is applied. This can be prevented with the nosmo option.
ref referencegrid
Apply a reference grid in workspace referencegrid for grid layout. Dimension of the grid is taken from the referencegrid.
Examples
Ex.1: Thin plate spline interpolating of points
# Surface model gridding z ;# Erase screen win demo ;# Get demo window (450000 460000 6450000 6460000 1000 4000) spe bgc whi ;# Specify background color to white mak ran 11 ;# Make 11 random points poi 2 ;# Display point with size width 2 tps 222 222 ;# Make grid of dimension 222 x 222 map ;# Map the grid
The above example produces this image.
Thin plate spline gridding example
See also
gen - Generate grid, grp - Grid points and lines, fmo - Fast modelling, [gsu - grid], trg - Triangulate point data