assess_lc

tessilator.tessilator.assess_lc(ls_results)[source]

Decide whether to use the periodogram results from the original, or from the CBV-corrected lightcurve.

The function provides 5 different tests to find which analysis provides better results. For each test, the winning lightcurve scores a point. The one with the most points at the end of the tests is chosen as the periodogram results output.

Parameters:
ls_resultslist

The list of dictionaries containing the periodogram scores for both lightcurves.

Returns:
lc_choiceint

The chosen periodogram, where 0=original and 1=CBV-corrected.