Skip to content

Commit

Permalink
gwcs inverse fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nden authored and Nadia committed Jun 9, 2024
1 parent 817e3df commit 0372afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwst/skymatch/skyimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ def calc_sky(self, overlap=None, delta=True):
continue

# set pixels in 'fill_mask' that are inside a polygon to True:
x, y = self.wcs_inv(ra, dec)
x, y = self.wcs_inv(ra, dec, with_bounding_box=False)
poly_vert = list(zip(*[x, y]))

polygon = region.Polygon(True, poly_vert)
Expand Down

0 comments on commit 0372afe

Please sign in to comment.