regularizepsf.visualize#
Visualization tools for PSFs.
Attributes#
Functions#
|
|
|
Visualize the number of stars identified within each patch. |
|
Visualize the PSF model. |
Module Contents#
- regularizepsf.visualize._generate_colormap() matplotlib.colors.ListedColormap #
- regularizepsf.visualize.DEFAULT_COLORMAP#
- regularizepsf.visualize.PSF_IMSHOW_ARGS_DEFAULT#
- regularizepsf.visualize.KERNEL_IMSHOW_ARGS_DEFAULT#
- regularizepsf.visualize.visualize_patch_counts(counts: dict[tuple[int, int], int], ax: matplotlib.axes.Axes | None = None, label_pixel_bounds: bool = False) matplotlib.axes.Axes #
Visualize the number of stars identified within each patch.
- Parameters:
counts (dict[tuple[int, int], int]) – The counts returned by an ArrayPSFBuilder.build
ax (matplotlib.axes.Axes) – An Axes object on which to plot. If not provided, a new Figure will be generated.
label_pixel_bounds (bool) – If True, the axes of the plot will be labeled with the pixel range spanned by each patch.
- regularizepsf.visualize.visualize_grid(data: regularizepsf.util.IndexedCube, second_data: regularizepsf.util.IndexedCube | None = None, title: str | tuple[str, str] = '', fig: matplotlib.figure.Figure | None = None, fig_scale: int = 1, all_patches: bool = False, imshow_args: dict | None = None, colorbar_label: str = '') None #
Visualize the PSF model.