Interpolation

Gsharp includes a variety of interpolation methods. Dialogs for each of these methods is available from the Interpolation Menu of the DataManager.

For fitting a line to a group of (x,y) points there are three methods: smooth, spline and polyfit. For a general discussion of these methods please see How do I fit a line to my points? or see the specific function description linked below:

  • smooth - smooth the line joining the points
  • spline - a cubic spline interpolation of the points
  • polyfit - best fit polynomial of degree up to five.

For creating a grid from irregular (x,y) points with corresponding z values there are two methods, bilinear and bivariate. These are discussed in How do I interpolate my data? or you can also read the function descriptions:

  • bivariate - maximum of 250 input points. Surface passes through original points. 
  • bilinear - another method

There is a further method for converting a grid of data from its current position to a new position. It is fully documented here:

Return to Gsharp Reference Manual