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_targetsastropy.table.Table
Table of input data for the tessilator, with the following columns:
  1. name: name of the target (str)

  2. source_id: Gaia DR3 source identifier (str)

  3. ra: right ascension

  4. dec: declination

  5. parallax: parallax

  6. Gmag: Gaia DR3 apparent G-band magnitude

  7. log_tot_bg_star: log-10 value of the flux ratio between contaminants and target (optional)

  8. log_max_bg_star: log-10 value of the flux ratio between the largest contaminant and target (optional)

  9. n_contaminants: number of contaminant sources (optional)

period_filestr

Name of the file to store periodogram results.

LC_conbool

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_conbool

Decides if the flux contribution from contaminants is to be calculated.

con_filestr

The name of the file to store data from the total flux contribution from contaminants.

make_plotsbool

Decides is plots are made from the lightcurve analysis.

choose_secNone, int, or Iterable, optional, default=None
The sector, or sectors required for download.
  • If None, TESScut will download all sectors available for the target.

  • If int, TESScut will attempt to download this sector number.

  • If Iterable, TESScut will attempt to download a list of sectors.

tot_attemptsint, optional, default=3

The number of attempts to download the fits files in case of request or server errors

cap_filesNone, int, optional, default=None

The maximum number of sectors for each target.

Returns:
Nothing returned. The final table is saved to file and the program
terminates.