cherab.imas.ggd.base_mesh.as_cell_dataΒΆ
- cherab.imas.ggd.base_mesh.as_cell_data(data: NDArray[floating[Any]] | Sequence[float], num_cell: int) NDArray[float64]SourceΒΆ
Return validated scalar cell data as a one-dimensional float array.
- Parameters:
- Returns:
NDArray[numpy.float64] β Validated one-dimensional cell data.
- Raises:
ValueError β If the data is not one-dimensional or does not contain
num_cellvalues.