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:
extensions : list

List of extensions to retrieve (can have extras).

patch_args : dict 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 / patch : geometry object or PolygonPatch

The footprint or footprint patch.