InterpGrid is part of the WaveTrain system class library.
Interpolates input grid onto output grid with user defined grid geometry. The size of the input grid can be scaled before interpolation. Interpolation methods are:
0 : Nearest / Piston
1 : Linear
2 : MEMS / Piston + tilt
If modulus is non-zero, wrapping is done after interpolation.
Adding 10 to a method switches on local unwrapping during interpolation.
|
Parameters
|
outputGrid |  GridGeometry | Defines geometry of output grid | |
scale |  float | Scale input dimensions before interpolating | 1.0 |
method |  int | Interpolation method | 0 |
modulus |  float | Modulus for wrapping (if non-zero), e.g., 2 pi, wavelength | 0.0 |
Inputs
|
inGrid |  Grid<float> | Grid of input values | |
Outputs
|
outGrid |  Grid<float> | Input values interpolated onto output grid | |
Subsystems |
|
|
Last Saved: Mon Oct 31 08:26:11 MST 2005 by TVE version 2009B
|
|