PlateSolve#

class prose.blocks.catalogs.PlateSolve(reference=None, n=30, tolerance=10, radius=None, debug=False, quads_tolerance=0.1, field=1.2, min_match=0.8, name=None)[source]#

A block that performs plate solving on an astronomical image using a Gaia catalog.

read Image.sources, Image.pixel_scale

write Image.wcs

Parameters:
  • reference (None or ~prose.Image) – A reference image containing a Gaia catalog to use for plate solving. If None, a new catalog will be queried using image_gaia_query. Default is None.

  • n (int) – The number of stars from catalog to use for plate solving. Default is 30.

  • tolerance (float, optional) – The minimum distance between two coordinates to be considered cross-matched (in pixels units). This serves to compute the number of coordinates being matched between radecs and pixels for a given transform. By default 12.

  • radius (None or ~astropy.units.Quantity) – The search radius (in degrees) for the Gaia catalog. If None, the radius will be set to 1/12th of the maximum field of view of the image. Default is None.

  • debug (bool) – If True, the image and the matched stars will be plotted for debugging purposes. Default is False.

  • quads_tolerance (float, optional) – The minimum euclidean distance between two quads to be matched and tested. By default 0.1.

  • field (float) – The field of view to use for the Gaia catalog query, in fraction of the image field of view. Default is 1.2.

  • min_match (float, optional) – The fraction of pixels coordinates that must be matched to stop the search. I.e., if the number of matched points is >= min_match * len(pixels), the search stops and return the found transform. By default 0.7.

  • name (str) – The name of the block. Default is None.