ovrlpy.plot_signal_integrity

ovrlpy.plot_signal_integrity(ovrlp, *, signal_threshold=2.0, cmap=BIH_CMAP, histogram=True, scalebar=SCALEBAR_PARAMS, figsize=(9, 6), **kwargs)

Plots the determined signal integrity of the tissue sample in a signal integrity map.

Parameters:
  • ovrlp (Ovrlp)

  • signal_threshold (float, optional) – Threshold below which the signal is faded out in the plot, to avoid displaying noisy areas with low predictive confidence.

  • cmap (str | Colormap, optional) – Colormap for display.

  • histogram (bool, optional) – Whether to plot a histogram of integrity values alongside the map.

  • scalebar (dict[str, Any] | None) – If None no scalebar will be plotted. Otherwise a dictionary with additional kwargs for matplotlib_scalebar.scalebar.ScaleBar. By default ovrlpy.SCALEBAR_PARAMS

  • figsize (tuple[float, float]) – Size of the figure in inches.

  • kwargs – Other keyword arguments are passed to matplotlib.pyplot.subplots()

Return type:

Figure