Natgrid has facilities for special treatment of points near function values where the function values are not consistent with neighboring values. For each input point an

The effects of using the outlier and roughness indices are primarily to attenuate the influence of gradient estimates near points with high values for either of the two indices. This means that in the neighborhood of such points, the interpolation tends more toward natural neighbor linear interpolation. This prevents oversmoothing in those areas, and oversmoothing could result in incorrect deductions being made from analysis of the resulting surface. Exaggerated oscillations surrounding outlying points, that are produced by some curve fitting techniques, are also minimized. See Example 7.