show_drizzled_slits

msaexp.drizzle.show_drizzled_slits(slits, sci, ivar, hdul, figsize=(10, 4), variable_size=True, imshow_kws={'aspect': 'auto', 'cmap': 'cubehelix_r', 'interpolation': 'nearest', 'origin': 'lower', 'vmax': None, 'vmin': -0.1}, with_background=False)[source]

Make a figure showing drizzled slitlets

Parameters
slitslist

List of slitlet objects

sci(N,NY,NX) array

Science array of drizzled slitlets

ivar(N,NY,NX) array

Science array if inverse variance weights

hdulHDUList

Drizzle-combined HDU

figsizetuple

Figure size

variable_sizebool, optional

Whether to use variable size for the figure.

imshow_kwsdict

Keywords passed to imshow

with_backgroundbool, optional

Whether to include the background in the displayed slitlets.

Returns
figFigure