full_run_lc

tessilator.tessilator.full_run_lc(file_in, t_target, make_plots, scc, final_table, cutout_size=20, flux_con=0, LC_con=0, con_file=0, XY_pos=(10.0, 10.0), Rad=1.0, SkyRad=[6.0, 8.0])[source]

Aperture photometry, lightcurve cleaning and periodogram analysis.

This function calls a set of functions in the lc_analysis.py module to perform aperture photometry, clean the lightcurves from spurious data and runs the Lomb-Scargle periodogram to measure rotation periods.

Parameters:
file_instr

name of the input TESS fits file

t_targetastropy.table.Table

details of the target star

make_plots: `bool`

decides if plots are made

scclist, size=3

sector, camera, ccd

cutout_sizeint

the pixel length of the downloaded cutout

flux_conbool, optional, default=0

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

LC_conbool, optional, default=0

Decides if a lightcurve analysis is to be performed for the n strongest contaminants, where n is a keyword in the “contamination” function from tess_functions2.py.

con_filestr

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

XY_postuple, size=2x2, optional, default=(10.,10.)

The centroid of the target in pixels.

Radfloat, optional, default=1.0

The aperture radius from the aperture photometry

SkyRadIterable, optional, default=[6.,8.]

The inner and outer background annuli from aperture photometry

Returns:
  • A data entry for the final period file.
  • A plot of the lightcurve (if requested).