pyrtid.utils.grid.get_array_borders_selection_3d#

pyrtid.utils.grid.get_array_borders_selection_3d(nx: int, ny: int, nz: int) ndarray[Any, dtype[bool_]][source]#

Get a selection of the array border as a bool array.

Note

There is no border for an awis of dim 1.

Parameters
  • nx (int) – Number of grid cells along the x axis.

  • ny (int) – Number of grid cells along the y axis.

  • nz (int) – Number of grid cells along the y zxis.