Skip to content

Commit

Permalink
add margin parameter to generateDonutFromRefitWcsTask
Browse files Browse the repository at this point in the history
  • Loading branch information
suberlak committed Feb 1, 2025
1 parent dcce27c commit 7d155da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/ts/wep/task/generateDonutFromRefitWcsTask.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -384,6 +385,7 @@ def run(
exposure.wcs,
filterName,
donutSelectorTask,
margin,
)

donutCatalog = donutCatalogToAstropy(
Expand Down

0 comments on commit 7d155da

Please sign in to comment.