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_file
str The name of the fits file.
- t_cont
astropy.table.Table The table containing Gaia data of the contaminants.
- cutout_size
int The length size of the TESS cutout image.
- f_file
- Returns:
- cont_positions
numpy.array A 2-column array of the X-Y positions of the contaminants.
- cont_positions