pyrtlib.weighting_functions.WeightingFunctions.plot_wf#

WeightingFunctions.plot_wf(wgt: ndarray, title: Optional[str] = '', ylim: Optional[Tuple[int, int]] = None, xlim: Optional[Tuple[int, int]] = None, legend: Optional[bool] = True, normalized: Optional[bool] = False, **kwargs) None#

Plot the weighting functions

Parameters:
  • wgt (ndarray) – The weighting functions to be plotted.

  • title (Optional[str], optional) – The title of the plot. Defaults to ‘’.

  • ylim (Optional[Tuple[int, int]], optional) – The y-axis limits of the plot. Defaults to None.

  • xlim (Optional[Tuple[int, int]], optional) – The x-axis limits of the plot. Defaults to None.

  • legend (Optional[bool], optional) – Whether to show the legend. Defaults to True.

  • normalized (Optional[bool], optional) – Whether to normalize to the max the weighting functions. Defaults to False.

  • **kwargs – Additional keyword arguments (figsize, dpi)

Examples using pyrtlib.weighting_functions.WeightingFunctions.plot_wf#

Computation of Weighting Functions

Computation of Weighting Functions