cherab.imas.ids.bolometer.get_los_interpΒΆ
-
cherab.imas.ids.bolometer.get_los_interp(ids: IDSToplevel, ds: float =
0.001) dict[str, list[ndarray[tuple[Any, ...], dtype[float64]]]]SourceΒΆ Interpolate lines of sight coordinates to \((R, Z, \phi)\).
This function returns the \((R, Z, \phi)\) coordinates interpolated between the origin and terminal points of each line of sight.
- Parameters:
- ids: IDSToplevelΒΆ
The IMAS IDS containing the bolometer data.
- ds: float =
0.001ΒΆ Desired spacing between interpolated points, by default 1 mm.
- Returns:
dict[str, list[numpy.ndarray]] β Dictionary of interpolated lines of sight coordinates in \((R, Z, \phi)\) for each camera. Keyed by camera name, with each value being a list of arrays corresponding to each line of sight. The arrays have shape (3, N) where the first dimension corresponds to \((R, Z, \phi)\) and the second dimension corresponds to the interpolated points along the line of sight.