run_test_for_contaminant¶
- tessilator.tessilator.run_test_for_contaminant(XY_arr, file_in, con_table, d_target)[source]¶
Run the periodogram analyses for neighbouring contaminants if required.
- Parameters:
- XY_arr
list, size=2 The X and Y positions of the contaminant (the output form the “find_XY_cont” function).
- file_in
str The name of the fits file containing the contaminant.
- con_table
astropy.table.Table A single row from the contamination table which has details of the flux contribution.
- d_target
dict The dictionary returned from the periodogram analysis of the target star (the output from the “run_LS” function in the lc_analysis.py module)
- XY_arr
- Returns:
- labels_cont
str(a, b, c or d) A single character which assess if the calculated period for the target could actually come from the contaminant.
- labels_cont