pyinterp.grid.Grid4D¶
- class pyinterp.grid.Grid4D(*args, increasing_axes: str | None = None)[source]¶
Bases:
Grid3D
4D Cartesian Grid.
- Parameters:
x (pyinterp.Axis) – X-Axis.
y (pyinterp.Axis) – Y-Axis.
z (pyinterp.Axis, pyinterp.TemporalAxis) – Z-Axis.
u (pyinterp.Axis) – U-Axis.
array (numpy.ndarray) – Discrete representation of a continuous function on a uniform 4-dimensional grid.
increasing_axes – Ensure that the axes of the grid are increasing. If this is not the case, the axes and grid provided will be flipped. Default to False.
Note
If the Z axis is a temporal axis, the grid will handle this axis during interpolations as a time axis.
Attributes
Gets the values handled by this instance.
Gets the U-Axis handled by this instance.
Gets the X-Axis handled by this instance.
Gets the Y-Axis handled by this instance.
Gets the Z-Axis handled by this instance.
Protected Methods
The number of grid dimensions handled by this object.