diff --git a/python/lsst/ts/wep/task/generateDonutFromRefitWcsTask.py b/python/lsst/ts/wep/task/generateDonutFromRefitWcsTask.py index bec2f17e..bb6cd86e 100644 --- a/python/lsst/ts/wep/task/generateDonutFromRefitWcsTask.py +++ b/python/lsst/ts/wep/task/generateDonutFromRefitWcsTask.py @@ -138,6 +138,7 @@ class GenerateDonutFromRefitWcsTaskConfig( dtype=str, optional=True, ) + margin = pexConfig.Field(doc="Size of margin in pixels", dtype=int, default=80) # Took these defaults from atmospec/centroiding which I used # as a template for implementing WCS fitting in a task. @@ -384,6 +385,7 @@ def run( exposure.wcs, filterName, donutSelectorTask, + margin, ) donutCatalog = donutCatalogToAstropy(