find_xy_cont

tessilator.tessilator.find_xy_cont(f_file, t_cont, cutout_size)[source]

Identify the pixel x-y positions for contaminant sources.

If the user requests a periodogram analysis of neighbouring potential contaminants (lc_con=1), this function returns their x-y positions, which are used as the centroids for aperture photometry.

Parameters:
f_filestr

The name of the fits file.

t_contastropy.table.Table

The table containing Gaia data of the contaminants.

cutout_sizeint

The length size of the TESS cutout image.

Returns:
cont_positionsnumpy.array

A 2-column array of the X-Y positions of the contaminants.