get_flt_footprint

grizli.utils.get_flt_footprint(flt_file, extensions=[1, 2, 3, 4], patch_args=None)[source]

Compute footprint of all SCI extensions of an HST exposure

Parameters
flt_filestr

Path to the FITS file.

extensionslist

List of extensions to retrieve (can have extras).

patch_argsdict or None

If a dict, then generate a patch for the footprint passing **patch_args arguments (e.g., {'fc':'blue', 'alpha':0.1}).

Returns
fp / patchgeometry object or matplotlib.patch.Patch

The footprint or footprint patch.