cherab.imas.wall.load_wall_outlineΒΆ

cherab.imas.wall.load_wall_outline(*args, occurrence: int = 0, desc_index: int = 0, **kwargs) dict[str, ndarray]SourceΒΆ

Load 2D wall outline (limiter contour only) from IMAS wall IDS.

Parameters:
*argsΒΆ

Arguments passed to the DBEntry constructor.

occurrence: int = 0ΒΆ

Occurrence index of the wall IDS, by default 0.

desc_index: int = 0ΒΆ

Index of description_2d, by default 0.

**kwargsΒΆ

Keyword arguments passed to the DBEntry constructor.

Returns:

Dictionary of wall unit outlines (N, 2) array given in RZ coordinates.

Return type:

dict[str, (N, 2) ndarray]

Examples

>>> load_wall_outline("imas:hdf5?path=/work/imas/shared/imasdb/ITER_MD/3/116000/5/", "r")
{'First Wall': array([[ 4.11129713, -2.49559808],
                      [ 4.11129713, -1.48329401],
                      ...
                      [ 6.21105623, -3.06856108]]),
 'Divertor': array([[ 3.94210005, -2.53570008],
                    ...
                    [ 6.36320019, -3.24460006]])}