The Star Catalog
The solver matches your stars against a catalog file, and that file is the biggest thing you’ll download. It comes in three sizes, from 276 MB to 6.2 GB. Which one you need depends mostly on how much sky your images cover.
What the catalog holds
Each catalog is built from Gaia DR3, with Hipparcos stars merged in.
Where Gaia’s cross-match table links a Hipparcos star to its Gaia record,
the file keeps one copy. forge pairs most stars without a link by
position and magnitude, and about a dozen bright stars still appear
twice; Where the stars come from has the details. Every
file holds stars down to Gaia G magnitude 18.5, with positions and proper
motions at epoch J2016.0. The solver moves each star to the date of your
image before it matches.
The stars are sorted into HEALPix pixels, a scheme that divides the sky into cells of equal area. The file is memory-mapped, so opening it reads only a header and an index, and a search reads only the cells it touches. The celestial-catalog README covers the file format and how to query it yourself.
A catalog keeps at most a fixed number of stars in each cell, the brightest ones. That cap is what sets a catalog’s size. Away from the Milky Way, a cell may hold fewer stars than the cap down to G 18.5, so all of them are kept. Along the galactic plane, the cap fills up with stars much brighter than 18.5.
The three sizes
Download them from the catalog folder.
| File | HEALPix order | Cell size | Stars per cell | Stars | Size | Most stars per square degree |
|---|---|---|---|---|---|---|
catalog-full.bin | 8 | 13.7’ | 200 | 111,072,265 | 6.2 GB | 3,812 |
catalog-standard.bin | 8 | 13.7’ | 50 | 38,841,656 | 2.2 GB | 953 |
catalog-small.bin | 6 | 55’ | 100 | 4,915,200 | 276 MB | 119 |
The last column is the cap divided by the cell area, so it’s the most stars any patch of sky can have in that file. Multiply it by your field’s area to see how many catalog stars the solver has to work with. The M106 frame on the first page covers 22’ x 17’, or 0.10 square degrees: about 400 stars from the full catalog, 100 from standard and 12 from small.
Every cell of the small catalog is full, so its density is close to the same everywhere on the sky.
How each size did on the test images
These are the test images this crate is developed against, solved with
image-solver and each catalog. Control points are the stars the final
fit used. The jellyfish nebula frame has no FOCALLEN in its header, so
it was solved with --focal-length 2900.
| Image | Field | Full | Standard | Small |
|---|---|---|---|---|
| M106 | 22’ x 17’ | 24 | 24 | 10, no SIP |
| Jellyfish nebula | 42’ x 28’ | 197 | 128 | 41 |
| Cygnus Wall | 2.0° x 1.3° | 520 | 520 | 180 |
| Elephant’s Trunk | 2.0° x 1.3° | 560 | 560 | 171 |
| Rosette nebula | 2.3° x 1.7° | 733 | 733 | 403 |
| Bode’s galaxies, L | 4.1° x 3.1° | 844 | 844 | 844 |
| Bode’s galaxies, Hα | 4.1° x 3.1° | 783 | 783 | 783 |
Every image solved with every catalog. Solve times were 50 to 200 ms per image, and the catalog made no consistent difference: on the Rosette frame, star detection took 156 ms of a 190 ms solve. The first solve after opening a catalog can take longer, while the operating system reads its pages from disk.
The narrow fields show the cost of a small catalog. With 10 matched stars, the M106 solution had too few to fit distortion terms, and its RMS rose from 0.21 px to 0.32 px. Fewer control points also leave the corners of the frame with less coverage, which is where distortion is largest.
Choosing one
- Wide fields, about 1° across or more:
catalog-small.binholds enough stars, and it’s a quick download. A camera lens or a short refractor is in this range. - Fields from about 20’ to 1°:
catalog-standard.bin. It’s the default in these pages. - Fields under about 20’, or crowded fields along the Milky Way:
catalog-full.bin. A long-focus SCT or a small sensor is in this range, and on the 42’ jellyfish frame the full catalog gave 197 stars against 128 for standard.
If you aren’t sure, start with the standard file. If the solve reports
few control points, or fails with a NoMatch error on a narrow field, try
the full one.
Next steps
- Solve Your First Image uses
catalog-standard.bin. - When Solving Fails covers a solve that finds too few stars.