cherab.nagdis.inversion.raytransfer.plot_rtc_gridΒΆ

cherab.nagdis.inversion.raytransfer.plot_rtc_grid(rtc: RayTransferCylinder, is_plot_axis: bool = True, **kwargs) tuple[Figure, GridSpec]SourceΒΆ

Plot the grid of the RayTransferCylinder object.

Parameters:
rtc: RayTransferCylinderΒΆ

RayTransferCylinder object.

is_plot_axis: bool = TrueΒΆ

Whether to plot grids along the x and z axes, by default True.

**kwargsΒΆ

Additional keyword arguments for the matplotlib plot function.

Returns:

  • fig (Figure) – Figure object.

  • axs (SubplotGrid) – Axes object for the cross-section grid and axial grid if is_plot_axis is True.

Raises:

TypeError – If rtc is not a RayTransferCylinder object.