ovrlpy.plot_signal_integrity

ovrlpy.plot_signal_integrity(integrity, signal, signal_threshold=2.0, cmap='BIH', figure_height=10, plot_hist=True, scalebar=SCALEBAR_PARAMS)

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

Parameters:
  • integrity (ndarray) – Integrity map obtained from ovrlpy analysis

  • signal (ndarray) – Signal map from ovrlpy analysis

  • 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.

  • plot_hist (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