Plotting

Diagnostic plots: astroplot thumbnails, photometry overlays, and run summaries.

sphot.plotting.astroplot(data, percentiles=[1, 99.9], cmap='viridis', ax=None, offset=0, norm=None, figsize=(5, 5), title=None, set_bad='r', **kwargs)[source]

plot 2d data in the log scale. Automatically takes care of the negative values.

sphot.plotting.plot_sersicfit_result(data, data_annulus, _img)[source]

Plot the sersic profile fit result.

Parameters:
  • data (2d array) – the original data

  • _img (2d array) – the fitted model image

Returns:

None

sphot.plotting.plot_profile2d(data, ax=None, fig=None, lower_limit_percentile=20, left=False, **kwargs)[source]
sphot.plotting.plot_sphot_results(cutoutdata, right_attr='psf_sub_data', dpi=100, percentiles=[0.1, 99.9], **kwargs)[source]