Interp2D
Synopsis
Advanced interpolation modules using polynomial and statistically
based on kriging methods in 2D and 3D.
Input Ports
| Name |
Type |
Description |
|
| in_fld |
Mesh+Node_Data |
2D scatter points |
|
Parameters
| Name |
Type |
Description |
|
| num_x |
int |
number of grid nodes in x direction |
| num_y |
int |
number of grid nodes in y direction |
|
Output Ports
| Name |
Type |
Description |
|
| out_fld |
Mesh+Node_Data |
2D gridded data |
|
Description
The Krig set of modules perform scatter to grid interpolation. They arein_fld
based on the Toolmaster interpolation system, using both simple and Kriging
methods. As these routines are already part of the AVS/Express runtime
environment, these modules provide high-level Field wrappers around these
interpolation functions. Three macro modules are provided in this Krig
library:
Interp2D - Interpolation from 2D scatter points and data
values to a 2D uniform grid
Approximates the value of a bivariate function at the grid
nodes on a regular 2D grid. Distance weighted interpolation is used to
map scatter point values, while the grid is smoothed using a quadratic
interpolation function.
Inputs
in_fld
2D scatter points which combine a mesh and some node data. A Node_Data object represents the values of some dataset at the node points of a field, while the Mesh represents the locations of that field's nodes in space.
Outputs
in_fld
2D uniform grid. The Values at the grid-points are approximated avalues of a bivariate function.
Utility Macros
The Interp2D macro uses the agxint low-level module. This modules uses the XuGriddingLocalFitCalc and other functions of the the Toolmaster agX library.
Files
iac_proj/krig/krigmods.v contains the V definition of the agxint,XuKrigging2D and XuKrigging3D modules.
iac_proj/krig/krigmacs.v contains the V definitions of the Krig2D,Interp2D and Krig macros.
iac_proj/krig/krigapps.v contains the V definition of the KrigApps example application.
Other Notes
See the documentation for XuKriging2DCalc, XuKriging3DCalc,
XuGriddingLocalFitCalc in the Toolmaster agX Reference Manual.
Authors
Mark Lambert, Roger Fleuty, Ian Curington
Advanced Visual Systems, Inc.
Modifications
Ma YingLiang,
Manchester Visualization Centre
Andrew Dodd,
International AVS Centre
Contact
International AVS Centre
Manchester Visualization Centre
Manchester Computing
University of Manchester
Oxford Road
Manchester
United Kingdom
M13 9PL
|