spyrit.misc.disp.contrib_map
- spyrit.misc.disp.contrib_map(H_dyn: ndarray, n: int, save_figs: bool = False, path_fig: str | Path = '', show_fig: bool = True) ndarray[source]
Generate a contribution map showing measurement pattern coverage.
- Args:
H_dyn: Dynamic measurement matrix. n: Image size (assuming square images). save_figs: Whether to save the figure. path_fig: Path to save the figure. show_fig: Whether to display the figure.
- Returns:
Contribution map as numpy array.