make_failrow¶
- tessilator.tessilator.make_failrow(t_target, scc)[source]¶
Print a line with input data if tessilator fails for a given target
- 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)
Note that if the contaminantion is not calculated, the final three columns are automatically filled with -999 values.
- scc
list, size=3 A list containing the Sector, Camera and CCD.
- t_targets
- Returns:
- dr
dict A dictionary entry for the target star containing input data
- dr