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-levelggdarray of the IDS.- grid_subset_index: int =
5ΒΆ grid_subset_indexidentifier 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.