Skip to content

Commit

Permalink
added changelog entry
Browse files Browse the repository at this point in the history
  • Loading branch information
emolter committed Oct 16, 2024
1 parent 9f8f682 commit 830cf47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions changes/307.apichange.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make wcs_from_footprints accept s_regions instead of wcs objects
5 changes: 2 additions & 3 deletions src/stcal/alignment/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,8 @@ def wcs_from_footprints(
containing (RA, Dec) vertices demarcating the footprint of the input WCSs.
ref_wcs :
A valid datamodel whose WCS is used as reference for the creation of the output
A WCS used as reference for the creation of the output
coordinate frame, projection, and scaling and rotation transforms.
If not supplied the first model in the list is used as ``refmodel``.
ref_wcsinfo : dict
A dictionary containing the WCS FITS keywords and corresponding values.
Expand Down Expand Up @@ -569,7 +568,7 @@ def wcs_from_footprints(

transform = _generate_tranform(
ref_wcs,
wcsinfo=ref_wcsinfo,
ref_wcsinfo,
pscale_ratio=pscale_ratio,
pscale=pscale,
rotation=rotation,
Expand Down

0 comments on commit 830cf47

Please sign in to comment.