ProteoWizard
Namespaces
ralab Namespace Reference

EQUISPACEINTERPOL Interpolation on a equidistantly spaced grid. More...

Namespaces

 base
 
 constants
 

Detailed Description

EQUISPACEINTERPOL Interpolation on a equidistantly spaced grid.

Interpolation on a equidistantly spaced grid. The Values y are located at a grid [0,1,..., len(y)].

For equidistantly spaced y at a grid [0,1,..., len(y)] the $ x_{i}$ and $x_{i+1}$ enclosing $x_{out}$ can be found efficiently by i = floor(xout). Furthermore for $ x_{i+1} - x_{i} = 1 $ the interpolation formulas are simple. Therefore, w provided this specialized implementation of interpolation functions. Each segment (bounded by two data points) can be interpolated independently. The parameter mu defines where to estimate the value on the interpolated line, it is 0 at the first point and 1 and the second point. For interpolated values between the two points mu ranges between 0 and 1. Values of mu outside this range result in extrapolation. This convention is followed for all the subsequent methods below.