cherab.imas.ids.radiation.load_radiation_emissivityΒΆ

cherab.imas.ids.radiation.load_radiation_emissivity(radiation_ids, process_index: int | None = None, grid_subset_index: int = 5) NDArray[float64]SourceΒΆ

Load emissivity values from a radiation IDS time slice.

Parameters:
radiation_idsΒΆ

Radiation IDS object (top-level or time slice) obtained from DBEntry.

process_index: int | None = NoneΒΆ

Index of the radiation process whose emissivity to load. If None (default), the total emissivity is read from the top-level ggd array of the IDS.

grid_subset_index: int = 5ΒΆ

grid_subset_index identifier of the grid subset to read, by default 5 ("Cells").

Returns:

NDArray[numpy.float64] – Emissivity values [W/mΒ³] for each cell of the requested grid subset.

Raises:

RuntimeError – If the required AOS is empty or the requested subset cannot be found.