run_plate_solve
Plate solve an open image offline against Gaia DR3/SP to add the astrometric solution required by run_spfc, run_mgc, and run_spcc. Provide approximate position and scale or rely on image keywords.
Instructions
Plate solve an open image with ImageSolver against the local Gaia DR3/SP database (offline). Adds the astrometric solution needed by run_spfc, run_mgc and run_spcc. Needs an approximate position (ra_deg, dec_deg; within a fraction of the field is enough) and scale (pixel_scale in arcsec/px, or focal_length_mm + pixel_size_um) unless the image keywords already carry RA, DEC and FOCALLEN/XPIXSZ. If the seeded solve fails, it is retried with the scale seed multiplied by 0.5, 2, 1/3 and 3 in turn (scale_search false tries the seed only). The result gives the solved scale from the solution, the expected scale (the seed, or the one the keywords give) and their ratio, which is far from 1 for a master a stacker resampled or drizzled. Observation time is read from DATE-OBS/DATE, else today. The result also states whether distortion correction and recursive surface splines were on.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ra_deg | No | Approximate center RA in degrees | |
| dec_deg | No | Approximate center Dec in degrees | |
| view_id | Yes | View ID to plate solve | |
| pixel_scale | No | Approximate pixel scale in arcsec/pixel | |
| scale_search | No | Retry with wider scale seeds when the seeded solve fails (default true) | |
| pixel_size_um | No | Pixel size in microns | |
| observation_jd | No | Julian date of the observation (only if no DATE-OBS/DATE keyword) | |
| focal_length_mm | No | Focal length in mm (use with pixel_size_um instead of pixel_scale) | |
| recursive_splines | No | ImageSolver's "Recursive surface splines" distortion option (ImageSolver 6.5.0, PixInsight 1.9.5): models distortion with all matched stars as local surface splines over a quadtree. Omitted, the option keeps the value ImageSolver has. An older ImageSolver fails the call. |