Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

FileHEALPix orderCell sizeStars per cellStarsSizeMost stars per square degree
catalog-full.bin813.7’200111,072,2656.2 GB3,812
catalog-standard.bin813.7’5038,841,6562.2 GB953
catalog-small.bin655’1004,915,200276 MB119

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.

ImageFieldFullStandardSmall
M10622’ x 17’242410, no SIP
Jellyfish nebula42’ x 28’19712841
Cygnus Wall2.0° x 1.3°520520180
Elephant’s Trunk2.0° x 1.3°560560171
Rosette nebula2.3° x 1.7°733733403
Bode’s galaxies, L4.1° x 3.1°844844844
Bode’s galaxies, Hα4.1° x 3.1°783783783

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.bin holds 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