find_xy_cont

tessilator.tessilator.find_xy_cont(f_file, con_table, 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.

con_tableastropy.table.Table

The table containing Gaia data of the contaminants.

cutout_sizeint

The length size of the TESS cutout image.

Returns:
cont_positionsnp.array

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