cherab.imas.ggd.base_mesh.as_index_arrayΒΆ

cherab.imas.ggd.base_mesh.as_index_array(indices: Sequence[SupportsIndex] | NDArray[integer[Any]]) NDArray[int64]SourceΒΆ

Return cell-selection indices as a NumPy integer array.

Parameters:
indices: Sequence[SupportsIndex] | NDArray[integer[Any]]ΒΆ

Cell-selection indices as a sequence of integers or a NumPy array of integers.

Returns:

NDArray[np.intp] – Cell-selection indices as a NumPy integer array.