Skip to content

Commit 8974ebc

Browse files
committed
Add links to the Astropy library
1 parent 531b804 commit 8974ebc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ if solution.has_match():
145145

146146
```py
147147
import astrometry
148-
import astropy.wcs
149148

150149
solver = ...
151150
solution = ...
@@ -159,7 +158,7 @@ if solution.has_match():
159158
# pixels is a len(solution.best_match().stars) x 2 numpy array of float values
160159
```
161160

162-
`astropy.wcs.WCS` provides many more functions to probe the transformation properties and convert from and to pixel coordinates. See https://docs.astropy.org/en/stable/api/astropy.wcs.WCS.html for details.
161+
`astropy.wcs.WCS` provides many more functions to probe the transformation properties and convert from and to pixel coordinates. See https://docs.astropy.org/en/stable/api/astropy.wcs.WCS.html for details. Astropy (https://pypi.org/project/astropy/) must be installed to use this method.
163162

164163
## Print series description and size (without downloading them)
165164

@@ -516,7 +515,7 @@ class Match:
516515
- `quad_stars`: The index stars subset (usually 4 but can be 3 or 5) used in the hash code search step (see https://arxiv.org/pdf/0910.2233.pdf, 2. Methods).
517516
- `wcs_fields`: WCS fields describing the transformation between pixel coordinates and world coordinates. This dictionary can be passed directly to `astropy.wcs.WCS`.
518517

519-
`astropy_wcs` generates an Astropy WCS object. See [Calculate field stars pixel positions with astropy](#calculate-field-stars-pixel-positions-with-astropy) for details.
518+
`astropy_wcs` generates an Astropy WCS object. Astropy (https://pypi.org/project/astropy/) must be installed to use this method. See [Calculate field stars pixel positions with astropy](#calculate-field-stars-pixel-positions-with-astropy) for details.
520519

521520
## Star
522521

0 commit comments

Comments
 (0)