autogalaxy.plot.subplot_fit_imaging_of_galaxy#
- subplot_fit_imaging_of_galaxy(fit, galaxy_index, output_path=None, output_format=None, colormap='default', use_log10=False, positions=None, residuals_symmetric_cmap=True, title_prefix=None)#
Create a three-panel subplot focused on a single galaxy contribution.
Shows the observed data alongside the subtracted image and model image for the galaxy at galaxy_index in the fitted galaxy list. This is useful for inspecting the contribution of individual galaxies when multiple galaxies are being fitted simultaneously.
- Parameters:
fit (FitImaging) – The completed imaging fit to visualise.
galaxy_index (int) – Index into
fit.galaxiesselecting which galaxy to highlight.output_path (str or None) – Directory in which to save the figure.
None→plt.show().output_format (str) – File format, e.g.
"png".colormap (str) – Matplotlib colormap name, or
"default".use_log10 (bool) – Apply a log₁₀ stretch to the plotted values.
positions (array-like or None) – Point positions to scatter-plot over each panel.
residuals_symmetric_cmap (bool) – Reserved for future symmetric-colormap support (currently unused).