pytmosph3r.util.math
Module Contents
- bilinear_interpolation_array(z00, z10, z01, z11, x, y, res)[source]
2D interpolation Applies linear interpolation across x and y between xmin,xmax and ymin,ymax. x, y and z must be 1D-arrays of the same length.
- Parameters:
z00 (array) – Array corresponding to xmin,ymin
z10 (array) – Array corresponding to xmax,ymin
z01 (array) – Array corresponding to xmin,ymax
z11 (array) – Array corresponding to xmax,ymax
x (array) – weights on x coord
y (array) – weights on y coord