solve_astrometry_xy#

astropop.astrometry.solve_astrometry_xy(x, y, flux, width, height, image_header=None, options=None, command=None, **kwargs)#

Solve astrometry from a (x,y) sources list using astrometry.net.

Parameters:
x: array-like

x positions of the sources in the image.

y: array-like

y positions of the sources in the image.

flux: array_like

Estimated fluxes of the sources. A higher value indicates a brighter star.

width: int

Image width.

height: int

Image height.

image_header: `~astropy.fits.Header` (optional)

Original image header.

options: dict

Dictionary of solve-field options. See print_options_help for all available options. The most useful are: - center or ra and dec: field center - radius: maximum search radius - scale: pixel scale in arcsec/pixel - tweak-order: SIP order to fit - index-path: path to index files

command: str

Full path of astrometry.net solve-field command.

Returns:
AstrometricSolution

Astrometric solution ot the field.