create_xyls#

astropop.astrometry.create_xyls(fname, x, y, flux, imagew, imageh, header=None, dtype='f8')#

Create and save the xyls file to run in astrometry.net

Parameters:
fname: str

The path to save the .xyls file.

x: array_like

X coordinates of the sources.

y: array_like

Y coordinates of the sources.

flux: array_like

Estimated flux of the sources.

imagew: float or int

Width of the original image. IMAGEW header field of .xyls

imageh: float or int

Height of the original image. IMAGEH header field of .xyls

dtype: `~numpy.dtype`, optional

Data type of the fields. Default: ‘f8’