cherab.imas.math.StructGridFunction2DΒΆ
- class cherab.imas.math.StructGridFunction2DΒΆ
Bases:
Function2DSimple interpolator for the data defined on the 2D structured grid.
Find the cell containing the point (x, y). Return the data value for this cell or the
fill_valueif the points lies outside the grid.- Parameters:
- x : (L,) array_like
The corners of the quadrilateral cells along x axis.
- y : (M,) array_like
The corners of the quadrilateral cells along y axis.
- grid_data : (L-1, M-1) ndarray
Array containing data in the grid cells.
- fill_value : float, optional
Value returned outside the gird, by default 0.
Methods
Evaluate the function f(x, y)