cherab.imas.ids.wall.load_wall_3dΒΆ

cherab.imas.ids.wall.load_wall_3d(description_ggd: IDSStructure, subsets: list[str] | None = None) dict[str, dict[str, ndarray]]SourceΒΆ

Load machine wall components from IMAS wall IDS.

Parameters:
description_ggd: IDSStructureΒΆ

A description_ggd structure from the β€˜wall’ IDS.

subsets: list[str] | None = NoneΒΆ

List of names of specific ggd subsets to load, by default None (loads all subsets).

Returns:

Dictionary of wall components defined by vertices and triangles. The dictionary keys for components are assigns as follows: "{grid_name}.{subset_name}.{material_name}" E.g.: "FullTokamak.full_main_chamber_wall.Be".

Return type:

dict[str, dict[str, np.ndarray]]

Raises:

RuntimeError – If the grid_ggd AOS is empty in the given description_ggd.