Skip to main content

SphericalInterpolate

SphericalInterpolate triangulationDataWave, dataPointsWave, newLocationsWave

The SphericalInterpolate operation works in conjunction with the SphericalTriangulate operation to calculate interpolated values on a surface of a sphere. Given a set of {xi, yi, zi} points on the surface of a sphere with their associated values {vi}, the SphericalTriangulate operation performs the Delaunay triangulation and creates an output that is used by the SphericalInterpolate operation to calculate values at any other point on the surface of a sphere. The interpolation calculation uses Voronoi polygons to weigh the contribution of the nearest neighbors to any given location on the sphere.

Parameters

triangulationDataWave is a 13 column wave that was created by the SphericalTriangulate operation.

dataPoints is a 4 column wave. The first 3 columns are the {xi, yi, zi} locations that were used to create the triangulation, and the last column corresponds to the {vi} values at the triangulation locations.

newLocationsWave is a 3 column wave that specifies the x,y,z locations on the sphere at which the interpolated values are calculated. Note that internally, each triplet is normalized to a point on the unit sphere before it is used in the interpolation.

Flags

/DEST=iWaveSpecify the destination wave. If this flag is not specified, the operation saves the interpolation in the wave W_SphericalInterpolation in the current data folder.
This flag was added in Igor Pro 10.00.
/FREECreates the destination wave as a free wave.
/FREE is allowed only in functions, and only if the destination waves are simple names or wave reference structure fields.
See Free Waves for more discussion.
The /FREE flag was added in Igor Pro 10.00.
/ZSuppresses error reporting.

Details

You will always need to use the SphericalTriangulate operation first to generate the triangulationDataWave input for this operation.

The result of the operation are put in the wave W_SphericalInterpolation.

See Also

SphericalTriangulate, Triangulate3D, ImageInterpolate with keyword Voronoi

Demo

Open Spherical Triangulation Demo