catalog_stars
List Gaia catalogue stars for a plate-solved view—image x/y, RA/Dec, G, BP-RP, in-frame check, and saturation—for annotation or photometric calibration.
Instructions
List catalogue stars over a plate-solved view from PixInsight's local Gaia database: one Gaia search centred on the image, with a radius reaching its corners (plus margin_fraction), down to mag_limit. Per star: image x, y, RA, Dec, G, BP-RP where the catalogue has them, whether it falls inside the frame, and for in-frame stars the peak luminance in a 5x5 box (with saturated = peak >= saturation_level when that is given). data_release omitted: releases are asked get-info in the order DR3/SP, DR3, EDR3, DR2 and the earliest of them that reports valid is searched; a failed search is reported, not retried on another release. supplement adds stars the catalogue lacks (marked with their name); a Gaia star within merge_px of one is replaced by it. Sorted by G, brightest at the top. The full list is written to a JSON file under /agentic/scratch/catalog; the reply carries it inline up to 200 stars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | Plate-solved view | |
| merge_px | No | Distance in pixels within which a Gaia star is replaced by a supplement star (default 3) | |
| mag_limit | Yes | Faintest G magnitude listed | |
| supplement | No | Stars to add: [{ra, dec, mag, name}] in degrees and catalogue-band magnitude | |
| data_release | No | Gaia data release to search; omitted, the earliest valid one in the order DR3/SP, DR3, EDR3, DR2 | |
| margin_fraction | No | Extra search radius as a fraction of the centre-to-corner radius (default 0.05) | |
| saturation_level | No | Peak luminance at or above which an in-frame star is flagged saturated; omitted, no flag |