arte/contrib/interpolated_array.py
def _Interpolate(self, x, lower_point, upper_point):
    """Interpolate a Y value for x given lower & upper
    bounding points."""
    slope = (float(upper_point[1] - lower_point[1]) /
             (upper_point[0] - lower_point[0]))
    return lower_point[1] + (slope * (x - lower_point[0]))
Interpolate a Y value for x given lower & upper
    bounding points.
Interpolate a Y value for x given lower & upper
bounding points.
Interpolate a Y value for x given lower & upper bounding points .
def _Interpolate(self, x, lower_point, upper_point):
    slope = (float(upper_point[1] - lower_point[1]) /
             (upper_point[0] - lower_point[0]))
    return lower_point[1] + (slope * (x - lower_point[0]))
def _Interpolate ( self , x , lower_point , upper_point ) : slope = ( float ( upper_point [ 1 ] - lower_point [ 1 ] ) / ( upper_point [ 0 ] - lower_point [ 0 ] ) ) return lower_point [ 1 ] + ( slope * ( x - lower_point [ 0 ] ) )
Interpolate a Y value for x given lower & upper
bounding points.
Interpolate a Y value for x given lower & upper bounding points .
"""Interpolate a Y value for x given lower & upper
    bounding points."""
self
x
lower_point
upper_point