get_median_lc

tessilator.tessilator.get_median_lc(tables, files_loc, scc, n_bin=10)[source]

A function that makes the final noisy lightcurve.

For a given number of lightcurves, this function calculates the median flux at each time step if there are more than 2 measurements (or the mean if 2 or less).

Parameters:
tableslist

A list of lightcurves in a given directory.

files_locstr

The name of the directory containing the lightcurves.

scclist, size=3

A list containing the sector number, camera and CCD.

n_binint, optional, default=10

The maximum number of lightcurves to be used in the analysis.

Returns:
t_finastropy.table.Table

A table containing the data for the final noisy lightcurve.