cherab.phix.inversion.gcv.GCV.plot_gcv#

GCV.plot_gcv(fig=None, axes=None, bounds=(-20.0, 2.0), n_beta=100)Source#

Plotting GCV vs regularization parameters in log-log scale.

Parameters:
  • fig (Figure | None) – matplotlib figure object, by default None.

  • axes (Axes | None) – matplotlib Axes object, by default None.

  • bounds (tuple[float, float]) – bounds of log10 of regularization parameter, by default (-20.0, 2.0). This is not used if lambda is not None.

  • n_beta (int) – number of regularization parameters, by default 100. This is not used if lambda is not None.

Returns:

(fig, axes), each of which is matplotlib objects applied some properties.

Return type:

tuple[Figure, Axes]