Provides functions for linear interpolation on three-dimensional data. More...
Functions | |
def | python.Interpolation.lin_interp (x_1, y_1, x_2, y_2, x) |
Performs linear interpolation. More... | |
def | python.Interpolation.find (arr, v) |
Finds the array index for a value closest to the given value. More... | |
def | python.Interpolation.extractColumn (mat, j) |
Extracts a column from a 2D matrix. More... | |
def | python.Interpolation.interpY (filename, x, z) |
Linearly interpolates a y value at given x and z values. More... | |
def | python.Interpolation.interpZ (filename, x, y) |
Linearly interpolates a z value at given x and y values. More... | |
Provides functions for linear interpolation on three-dimensional data.
def python.Interpolation.extractColumn | ( | mat, | |
j | |||
) |
Extracts a column from a 2D matrix.
mat | matrix from which column will be extracted |
j | index |
def python.Interpolation.find | ( | arr, | |
v | |||
) |
Finds the array index for a value closest to the given value.
arr | array in which value should be found |
v | value whose index will be found |
def python.Interpolation.interpY | ( | filename, | |
x, | |||
z | |||
) |
Linearly interpolates a y value at given x and z values.
filename | name of file with x y and z data |
x | x-coordinate to interpolate at |
z | z-coordinate to interpolate at |
def python.Interpolation.interpZ | ( | filename, | |
x, | |||
y | |||
) |
Linearly interpolates a z value at given x and y values.
filename | name of file with x y and z data |
x | x-coordinate to interpolate at |
y | y-coordinate to interpolate at |
def python.Interpolation.lin_interp | ( | x_1, | |
y_1, | |||
x_2, | |||
y_2, | |||
x | |||
) |
Performs linear interpolation.
x_1 | lower x-coordinate |
y_1 | lower y-coordinate |
x_2 | upper x-coordinate |
y_2 | upper y-coordinate |
x | x-coordinate to interpolate at |