We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 154df7c commit 995b302Copy full SHA for 995b302
README.md
@@ -151,7 +151,12 @@ solver = ...
151
solution = ...
152
153
if solution.has_match():
154
- wcs = astropy.wcs.WCS(solution.best_match().wcs_fields)
+ wcs = astropy.wcs.WCS(
155
+ astropy.io.fits.Header(
156
+ astropy.io.fits.Card(key, value[0], value[1])
157
+ for key, value in wcs_fields.items()
158
+ )
159
160
pixels = wcs.all_world2pix(
161
[[star.ra_deg, star.dec_deg] for star in solution.best_match().stars],
162
0,
0 commit comments