all_sources_cutout¶
- tessilator.tessilator.all_sources_cutout(t_targets, period_file, LC_con, flux_con, con_file, make_plots, choose_sec=None, tot_attempts=3, cap_files=None)[source]¶
Run the tessilator for all targets.
- Parameters:
- t_targets
astropy.table.Table - Table of input data for the tessilator, with the following columns:
name: name of the target (str)
source_id: Gaia DR3 source identifier (str)
ra: right ascension
dec: declination
parallax: parallax
Gmag: Gaia DR3 apparent G-band magnitude
log_tot_bg_star: log-10 value of the flux ratio between contaminants and target (optional)
log_max_bg_star: log-10 value of the flux ratio between the largest contaminant and target (optional)
n_contaminants: number of contaminant sources (optional)
- period_file
str Name of the file to store periodogram results.
- LC_con
bool Decides if a lightcurve analysis is to be performed for the 5 strongest contaminants. Here, the data required for further analysis are stored in a table.
- flux_con
bool Decides if the flux contribution from contaminants is to be calculated.
- con_file
str The name of the file to store data from the total flux contribution from contaminants.
- make_plots
bool Decides is plots are made from the lightcurve analysis.
- choose_sec
None,int, orIterable, optional, default=None - The sector, or sectors required for download.
- tot_attempts
int, optional, default=3 The number of attempts to download the fits files in case of request or server errors
- cap_files
None,int, optional, default=None The maximum number of sectors for each target.
- t_targets
- Returns:
- Nothing returned. The final table is saved to file and the program
- terminates.