Interpolation[Kriging] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Statistics and Data Analysis : Interpolation and Curve Fitting : Interpolation Package : Kriging Subpackage : Interpolation/Kriging/ComputeGrid

Interpolation[Kriging]

  

ComputeGrid

  

uses the Kriging process to compute values

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

ComputeGrid(k, bounds, spacing, options)

Parameters

k

-

a Kriging object

bounds

-

a list of n ranges specifying the space over which values should be computed, where n is the dimension of the data stored in k

spacing

-

a single numeric value or a list of n numeric values specifying how large the interval between computed values should be along each dimension of the data

options

-

(optional) keyword option of the form variogram=model and/or output=format

Description

• 

The ComputeGrid command takes a set of data values contained in the Kriging object. It then uses the same code as for interpolating at a point repeatedly over the specified space at the specified intervals and returns the list of computed values.

• 

The predictions are returned as a list of n+1-dimensional points, where n is the dimension of the data, and the last coordinate contains the computed value.

• 

If the spacing parameter is a list, then each value specifies the spacing of predicted values in its corresponding dimension.  If the spacing parameter is a single value, this value is used for the spacing of all dimensions.

• 

By default, the variogram set in the Kriging object is used. This can be overridden by specifying the variogram = model option. model can be given with its nugget, sill, and range parameters specified or without specifying them. If they are not specified, they will be set automatically by calling FitVariogramParameters.

• 

By using the output = format keyword option, you can select an alternative output if the data is 2-dimensional. In particular, you can specify output = plot to obtain a plot of the computed values. The default is output = points.

Examples

points,dataInterpolation:-Kriging:-GenerateSpatialDataSpherical1,10,1

(1)

kInterpolation:-Krigingpoints,data

kKrⅈgⅈng ⅈntⅇrpolatⅈon obȷⅇct wⅈth 30 samplⅇ poⅈntsVarⅈogram: Sphⅇrⅈcal(1.25259453854485,13.6487615617233,.5525536774)

(2)

SetVariogramk,Spherical1,10,1

Krⅈgⅈng ⅈntⅇrpolatⅈon obȷⅇct wⅈth 30 samplⅇ poⅈntsVarⅈogram: Sphⅇrⅈcal(1,10,1)

(3)

ComputeGridk,0..5,0..5,0.1,output=plot

Compatibility

• 

The Interpolation[Kriging][ComputeGrid] command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

Constructor

Interpolating at a point

Kriging

SetVariogram