WCSFootprint

class grizli.utils.WCSFootprint(wcs, ext=1, label=None)[source]

Bases: object

Helper functions for dealing with WCS footprints

Attributes Summary

centroid

path

Path object

polygon

Polygon object.

region

Polygon string in DS9 region format

Methods Summary

add_naxis(header)

If NAXIS keywords not found in an image header, assume the parent image dimensions are 2*CRPIX

get_patch(**kwargs)

PolygonPatch object

Attributes Documentation

centroid
path

Path object

polygon

Polygon object.

region

Polygon string in DS9 region format

Methods Documentation

static add_naxis(header)[source]

If NAXIS keywords not found in an image header, assume the parent image dimensions are 2*CRPIX

get_patch(**kwargs)[source]

PolygonPatch object