
1-Dimensional Data Sets 85
e
ψ on opposite sides of a measurement location. However, at least these algo-
rithms stop the interpolated values themselves from having sharp corners.
There are certainly occasions when you’ll want the interpolated quantities
to have both smooth corners and continuous derivatives. In these cases, your
best bet is a technique called spline interpolatio n. I won’t discuss the algorithm
for splines, but instead refer you to Kreyszig (1993) and Press et al. (2007).
Like all of the quantitative techniques we discuss, interpolation should not
be used everywhere. As an example of a place where interpolation would not
be appropriate, ...