pawlikMorphLSST.diagnostic.make_figure(result: Type[pawlikMorphLSST.result.Result], folder: bool, save=False, show=False) → None

Function plots results from image analysis.

Plots two or four images. Top row: original image and object map with stars overplotted if any. bottom row: Sersic fit and residual with stars overplotted if any.

  • result (Type[Result]) – Data class container of calculated results. Must have clean image and pixelmap in order to run this function.

  • folder (bool) – If True then adjusts path to read file from.

  • save (bool, optional) – If true function saves generated figure.

  • show (bool, optional) – If true open interactive matplotlib plot.


Return type