show_drizzle_HDU

grizli.multifit.show_drizzle_HDU(hdu, diff=True, mask_segmentation=True, average_only=False, scale_size=1, cmap='viridis_r', show_labels=True, width_ratio=0.2, **kwargs)[source]

Make a figure from the multiple extensions in the drizzled grism file.

Parameters
hduHDUList

HDU list output by drizzle_grisms_and_PAs.

diffbool

If True, then plot the stacked spectrum minus the model.

Returns
figFigure

The figure.