Module for 1D interpolation
This module:
See interpolation2d.py for documentation of the mathematical derivation used.
Fundamental 1D interpolation routine.
Parameters: |
|
---|---|
Returns: | 1D array with same length as points with interpolated values |
Return type: | numpy.ndarry |
Raises: | RuntimeError |
Input coordinates x are assumed to be monotonically increasing, but need not be equidistantly spaced.
z is assumed to have dimension M where M = len(x).